@dcl/sdk 7.0.0-2649664321.commit-63b4b53 → 7.0.0-2677443638.commit-397d9fc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,7 +198,12 @@ declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>):
198
198
  Animator: ComponentDefinition<EcsType<PBAnimator>>;
199
199
  AudioSource: ComponentDefinition<EcsType<PBAudioSource>>;
200
200
  AudioStream: ComponentDefinition<EcsType<PBAudioStream>>;
201
+ AvatarAttach: ComponentDefinition<EcsType<PBAvatarAttach>>;
202
+ AvatarModifierArea: ComponentDefinition<EcsType<PBAvatarModifierArea>>;
203
+ AvatarShape: ComponentDefinition<EcsType<PBAvatarShape>>;
204
+ Billboard: ComponentDefinition<EcsType<PBBillboard>>;
201
205
  BoxShape: ComponentDefinition<EcsType<PBBoxShape>>;
206
+ CameraModeArea: ComponentDefinition<EcsType<PBCameraModeArea>>;
202
207
  CylinderShape: ComponentDefinition<EcsType<PBCylinderShape>>;
203
208
  GLTFShape: ComponentDefinition<EcsType<PBGLTFShape>>;
204
209
  NFTShape: ComponentDefinition<EcsType<PBNFTShape>>;
@@ -1148,6 +1153,44 @@ declare interface PBAudioStream {
1148
1153
  url: string;
1149
1154
  }
1150
1155
 
1156
+ declare interface PBAvatarAttach {
1157
+ avatarId: string;
1158
+ anchorPointId: number;
1159
+ }
1160
+
1161
+ declare interface PBAvatarModifierArea {
1162
+ area: Vector3_2 | undefined;
1163
+ excludeIds: string[];
1164
+ modifiers: PBAvatarModifierArea_Modifier[];
1165
+ }
1166
+
1167
+ declare enum PBAvatarModifierArea_Modifier {
1168
+ HIDE_AVATARS = 0,
1169
+ DISABLE_PASSPORTS = 1,
1170
+ UNRECOGNIZED = -1
1171
+ }
1172
+
1173
+ declare interface PBAvatarShape {
1174
+ id: string;
1175
+ name: string;
1176
+ bodyShape: string;
1177
+ skinColor: Color3 | undefined;
1178
+ hairColor: Color3 | undefined;
1179
+ eyeColor: Color3 | undefined;
1180
+ wearables: string[];
1181
+ expressionTriggerId: string;
1182
+ expressionTriggerTimestamp: number;
1183
+ stickerTriggerId: string;
1184
+ stickerTriggerTimestamp: number;
1185
+ talking: boolean;
1186
+ }
1187
+
1188
+ declare interface PBBillboard {
1189
+ x: boolean;
1190
+ y: boolean;
1191
+ z: boolean;
1192
+ }
1193
+
1151
1194
  declare interface PBBoxShape {
1152
1195
  withCollisions: boolean;
1153
1196
  isPointerBlocker: boolean;
@@ -1155,6 +1198,17 @@ declare interface PBBoxShape {
1155
1198
  uvs: number[];
1156
1199
  }
1157
1200
 
1201
+ declare interface PBCameraModeArea {
1202
+ area: Vector3_2 | undefined;
1203
+ mode: PBCameraModeArea_CameraMode;
1204
+ }
1205
+
1206
+ declare enum PBCameraModeArea_CameraMode {
1207
+ FIRST_PERSON = 0,
1208
+ THIRD_PERSON = 1,
1209
+ UNRECOGNIZED = -1
1210
+ }
1211
+
1158
1212
  declare interface PBCylinderShape {
1159
1213
  withCollisions: boolean;
1160
1214
  isPointerBlocker: boolean;