@dcl/playground-assets 7.0.6-3808564125.commit-7a2650b → 7.0.6-3808892339.commit-e47ed81

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.
package/dist/alpha.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import _m0 from 'protobufjs/minimal';
2
2
 
3
+ export declare const AMOUNT_VERSION_AVAILABLE: number;
4
+
3
5
  export declare const Animator: AnimatorComponentDefinitionExtended;
4
6
 
5
7
  /**
@@ -1170,9 +1172,20 @@ export declare type EngineEvent<T extends IEventNames = IEventNames, V = IEvents
1170
1172
  };
1171
1173
 
1172
1174
  /**
1173
- * @public
1175
+ * @public The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number
1176
+ * version number
1177
+ * [31...16][15...0]
1178
+ *
1179
+ * Convertion from entity to its compound numbers:
1180
+ * To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16
1181
+ * To get the number => entity & MAX_U16
1182
+ *
1183
+ * Convertion from its compound numbers to entity:
1184
+ * entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)
1174
1185
  */
1175
- export declare type Entity = unknown;
1186
+ export declare type Entity = uint32 & {
1187
+ __entity_type: '';
1188
+ };
1176
1189
 
1177
1190
  export declare type EntityComponents = {
1178
1191
  uiTransform: PBUiTransform;
@@ -1185,10 +1198,13 @@ export declare type EntityComponents = {
1185
1198
  };
1186
1199
 
1187
1200
  export declare function EntityContainer(): {
1188
- generateEntity(dynamic?: boolean): Entity;
1201
+ generateEntity(): Entity;
1189
1202
  removeEntity(entity: Entity): boolean;
1190
1203
  entityExists(entity: Entity): boolean;
1191
1204
  getExistingEntities(): Set<Entity>;
1205
+ entityVersion: (entity: Entity) => number;
1206
+ entityNumber: (entity: Entity) => number;
1207
+ entityId: (entityNumber: number, entityVersion: number) => Entity;
1192
1208
  };
1193
1209
 
1194
1210
  /**
@@ -1683,6 +1699,8 @@ export declare type MapResult<T extends Spec> = ToOptional<{
1683
1699
  [K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
1684
1700
  }>;
1685
1701
 
1702
+ export declare const MASK_UPPER_16_ON_32 = 4294901760;
1703
+
1686
1704
  export declare const Material: MaterialComponentDefinitionExtended;
1687
1705
 
1688
1706
  /**
@@ -2451,6 +2469,13 @@ export declare namespace Matrix {
2451
2469
  export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
2452
2470
  }
2453
2471
 
2472
+ /**
2473
+ * @public
2474
+ */
2475
+ export declare const MAX_ENTITY_NUMBER = 65535;
2476
+
2477
+ export declare const MAX_U16 = 65535;
2478
+
2454
2479
  export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
2455
2480
 
2456
2481
  /**
@@ -2901,10 +2926,10 @@ export declare const PBGltfContainer: {
2901
2926
 
2902
2927
  export declare interface PBMaterial {
2903
2928
  material?: {
2904
- $case: 'unlit';
2929
+ $case: "unlit";
2905
2930
  unlit: PBMaterial_UnlitMaterial;
2906
2931
  } | {
2907
- $case: 'pbr';
2932
+ $case: "pbr";
2908
2933
  pbr: PBMaterial_PbrMaterial;
2909
2934
  };
2910
2935
  }
@@ -2981,16 +3006,16 @@ export declare interface PBMeshCollider {
2981
3006
  /** default = ColliderLayer.Physics | ColliderLayer.Pointer */
2982
3007
  collisionMask?: number | undefined;
2983
3008
  mesh?: {
2984
- $case: 'box';
3009
+ $case: "box";
2985
3010
  box: PBMeshCollider_BoxMesh;
2986
3011
  } | {
2987
- $case: 'sphere';
3012
+ $case: "sphere";
2988
3013
  sphere: PBMeshCollider_SphereMesh;
2989
3014
  } | {
2990
- $case: 'cylinder';
3015
+ $case: "cylinder";
2991
3016
  cylinder: PBMeshCollider_CylinderMesh;
2992
3017
  } | {
2993
- $case: 'plane';
3018
+ $case: "plane";
2994
3019
  plane: PBMeshCollider_PlaneMesh;
2995
3020
  };
2996
3021
  }
@@ -3053,16 +3078,16 @@ export declare const PBMeshCollider_SphereMesh: {
3053
3078
 
3054
3079
  export declare interface PBMeshRenderer {
3055
3080
  mesh?: {
3056
- $case: 'box';
3081
+ $case: "box";
3057
3082
  box: PBMeshRenderer_BoxMesh;
3058
3083
  } | {
3059
- $case: 'sphere';
3084
+ $case: "sphere";
3060
3085
  sphere: PBMeshRenderer_SphereMesh;
3061
3086
  } | {
3062
- $case: 'cylinder';
3087
+ $case: "cylinder";
3063
3088
  cylinder: PBMeshRenderer_CylinderMesh;
3064
3089
  } | {
3065
- $case: 'plane';
3090
+ $case: "plane";
3066
3091
  plane: PBMeshRenderer_PlaneMesh;
3067
3092
  };
3068
3093
  }
@@ -3687,12 +3712,12 @@ export declare const PointerEventsResult: ComponentDefinition<PBPointerEventsRes
3687
3712
  export declare type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
3688
3713
 
3689
3714
  export declare const pointerEventsSystem: {
3690
- removeOnClick(entity: unknown): void;
3691
- removeOnPointerDown(entity: unknown): void;
3692
- removeOnPointerUp(entity: unknown): void;
3693
- onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3694
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3695
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3715
+ removeOnClick(entity: Entity): void;
3716
+ removeOnPointerDown(entity: Entity): void;
3717
+ removeOnPointerUp(entity: Entity): void;
3718
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3719
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3720
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3696
3721
  };
3697
3722
 
3698
3723
  export declare const enum PointerEventType {
@@ -4055,6 +4080,11 @@ export declare type ReceiveMessage = {
4055
4080
  messageBuffer: Uint8Array;
4056
4081
  };
4057
4082
 
4083
+ /**
4084
+ * @public This first 512 entities are reserved by the renderer
4085
+ */
4086
+ export declare const RESERVED_STATIC_ENTITIES = 512;
4087
+
4058
4088
  export declare type RPCSendableMessage = {
4059
4089
  jsonrpc: '2.0';
4060
4090
  id: number;
@@ -4352,10 +4382,10 @@ export declare type TextureHelper = {
4352
4382
 
4353
4383
  export declare interface TextureUnion {
4354
4384
  tex?: {
4355
- $case: 'texture';
4385
+ $case: "texture";
4356
4386
  texture: Texture;
4357
4387
  } | {
4358
- $case: 'avatarTexture';
4388
+ $case: "avatarTexture";
4359
4389
  avatarTexture: AvatarTexture;
4360
4390
  };
4361
4391
  }
@@ -4495,6 +4525,11 @@ export declare type UiInputProps = PBUiInput & {
4495
4525
  /** @public */
4496
4526
  export declare const UiInputResult: ComponentDefinition<PBUiInputResult>;
4497
4527
 
4528
+ /**
4529
+ * @public It only defines the type explicitly, no effects.
4530
+ */
4531
+ export declare type uint32 = number;
4532
+
4498
4533
  /** @public */
4499
4534
  export declare const UiText: ComponentDefinition<PBUiText>;
4500
4535
 
package/dist/beta.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import _m0 from 'protobufjs/minimal';
2
2
 
3
+ export declare const AMOUNT_VERSION_AVAILABLE: number;
4
+
3
5
  export declare const Animator: AnimatorComponentDefinitionExtended;
4
6
 
5
7
  /**
@@ -1170,9 +1172,20 @@ export declare type EngineEvent<T extends IEventNames = IEventNames, V = IEvents
1170
1172
  };
1171
1173
 
1172
1174
  /**
1173
- * @public
1175
+ * @public The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number
1176
+ * version number
1177
+ * [31...16][15...0]
1178
+ *
1179
+ * Convertion from entity to its compound numbers:
1180
+ * To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16
1181
+ * To get the number => entity & MAX_U16
1182
+ *
1183
+ * Convertion from its compound numbers to entity:
1184
+ * entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)
1174
1185
  */
1175
- export declare type Entity = unknown;
1186
+ export declare type Entity = uint32 & {
1187
+ __entity_type: '';
1188
+ };
1176
1189
 
1177
1190
  export declare type EntityComponents = {
1178
1191
  uiTransform: PBUiTransform;
@@ -1185,10 +1198,13 @@ export declare type EntityComponents = {
1185
1198
  };
1186
1199
 
1187
1200
  export declare function EntityContainer(): {
1188
- generateEntity(dynamic?: boolean): Entity;
1201
+ generateEntity(): Entity;
1189
1202
  removeEntity(entity: Entity): boolean;
1190
1203
  entityExists(entity: Entity): boolean;
1191
1204
  getExistingEntities(): Set<Entity>;
1205
+ entityVersion: (entity: Entity) => number;
1206
+ entityNumber: (entity: Entity) => number;
1207
+ entityId: (entityNumber: number, entityVersion: number) => Entity;
1192
1208
  };
1193
1209
 
1194
1210
  /**
@@ -1683,6 +1699,8 @@ export declare type MapResult<T extends Spec> = ToOptional<{
1683
1699
  [K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
1684
1700
  }>;
1685
1701
 
1702
+ export declare const MASK_UPPER_16_ON_32 = 4294901760;
1703
+
1686
1704
  export declare const Material: MaterialComponentDefinitionExtended;
1687
1705
 
1688
1706
  /**
@@ -2451,6 +2469,13 @@ export declare namespace Matrix {
2451
2469
  export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
2452
2470
  }
2453
2471
 
2472
+ /**
2473
+ * @public
2474
+ */
2475
+ export declare const MAX_ENTITY_NUMBER = 65535;
2476
+
2477
+ export declare const MAX_U16 = 65535;
2478
+
2454
2479
  export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
2455
2480
 
2456
2481
  /**
@@ -2901,10 +2926,10 @@ export declare const PBGltfContainer: {
2901
2926
 
2902
2927
  export declare interface PBMaterial {
2903
2928
  material?: {
2904
- $case: 'unlit';
2929
+ $case: "unlit";
2905
2930
  unlit: PBMaterial_UnlitMaterial;
2906
2931
  } | {
2907
- $case: 'pbr';
2932
+ $case: "pbr";
2908
2933
  pbr: PBMaterial_PbrMaterial;
2909
2934
  };
2910
2935
  }
@@ -2981,16 +3006,16 @@ export declare interface PBMeshCollider {
2981
3006
  /** default = ColliderLayer.Physics | ColliderLayer.Pointer */
2982
3007
  collisionMask?: number | undefined;
2983
3008
  mesh?: {
2984
- $case: 'box';
3009
+ $case: "box";
2985
3010
  box: PBMeshCollider_BoxMesh;
2986
3011
  } | {
2987
- $case: 'sphere';
3012
+ $case: "sphere";
2988
3013
  sphere: PBMeshCollider_SphereMesh;
2989
3014
  } | {
2990
- $case: 'cylinder';
3015
+ $case: "cylinder";
2991
3016
  cylinder: PBMeshCollider_CylinderMesh;
2992
3017
  } | {
2993
- $case: 'plane';
3018
+ $case: "plane";
2994
3019
  plane: PBMeshCollider_PlaneMesh;
2995
3020
  };
2996
3021
  }
@@ -3053,16 +3078,16 @@ export declare const PBMeshCollider_SphereMesh: {
3053
3078
 
3054
3079
  export declare interface PBMeshRenderer {
3055
3080
  mesh?: {
3056
- $case: 'box';
3081
+ $case: "box";
3057
3082
  box: PBMeshRenderer_BoxMesh;
3058
3083
  } | {
3059
- $case: 'sphere';
3084
+ $case: "sphere";
3060
3085
  sphere: PBMeshRenderer_SphereMesh;
3061
3086
  } | {
3062
- $case: 'cylinder';
3087
+ $case: "cylinder";
3063
3088
  cylinder: PBMeshRenderer_CylinderMesh;
3064
3089
  } | {
3065
- $case: 'plane';
3090
+ $case: "plane";
3066
3091
  plane: PBMeshRenderer_PlaneMesh;
3067
3092
  };
3068
3093
  }
@@ -3687,12 +3712,12 @@ export declare const PointerEventsResult: ComponentDefinition<PBPointerEventsRes
3687
3712
  export declare type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
3688
3713
 
3689
3714
  export declare const pointerEventsSystem: {
3690
- removeOnClick(entity: unknown): void;
3691
- removeOnPointerDown(entity: unknown): void;
3692
- removeOnPointerUp(entity: unknown): void;
3693
- onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3694
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3695
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3715
+ removeOnClick(entity: Entity): void;
3716
+ removeOnPointerDown(entity: Entity): void;
3717
+ removeOnPointerUp(entity: Entity): void;
3718
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3719
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3720
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3696
3721
  };
3697
3722
 
3698
3723
  export declare const enum PointerEventType {
@@ -4055,6 +4080,11 @@ export declare type ReceiveMessage = {
4055
4080
  messageBuffer: Uint8Array;
4056
4081
  };
4057
4082
 
4083
+ /**
4084
+ * @public This first 512 entities are reserved by the renderer
4085
+ */
4086
+ export declare const RESERVED_STATIC_ENTITIES = 512;
4087
+
4058
4088
  export declare type RPCSendableMessage = {
4059
4089
  jsonrpc: '2.0';
4060
4090
  id: number;
@@ -4352,10 +4382,10 @@ export declare type TextureHelper = {
4352
4382
 
4353
4383
  export declare interface TextureUnion {
4354
4384
  tex?: {
4355
- $case: 'texture';
4385
+ $case: "texture";
4356
4386
  texture: Texture;
4357
4387
  } | {
4358
- $case: 'avatarTexture';
4388
+ $case: "avatarTexture";
4359
4389
  avatarTexture: AvatarTexture;
4360
4390
  };
4361
4391
  }
@@ -4495,6 +4525,11 @@ export declare type UiInputProps = PBUiInput & {
4495
4525
  /** @public */
4496
4526
  export declare const UiInputResult: ComponentDefinition<PBUiInputResult>;
4497
4527
 
4528
+ /**
4529
+ * @public It only defines the type explicitly, no effects.
4530
+ */
4531
+ export declare type uint32 = number;
4532
+
4498
4533
  /** @public */
4499
4534
  export declare const UiText: ComponentDefinition<PBUiText>;
4500
4535
 
@@ -1,5 +1,7 @@
1
1
  import _m0 from 'protobufjs/minimal';
2
2
 
3
+ export declare const AMOUNT_VERSION_AVAILABLE: number;
4
+
3
5
  export declare const Animator: AnimatorComponentDefinitionExtended;
4
6
 
5
7
  /**
@@ -1170,9 +1172,20 @@ export declare type EngineEvent<T extends IEventNames = IEventNames, V = IEvents
1170
1172
  };
1171
1173
 
1172
1174
  /**
1173
- * @public
1175
+ * @public The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number
1176
+ * version number
1177
+ * [31...16][15...0]
1178
+ *
1179
+ * Convertion from entity to its compound numbers:
1180
+ * To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16
1181
+ * To get the number => entity & MAX_U16
1182
+ *
1183
+ * Convertion from its compound numbers to entity:
1184
+ * entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)
1174
1185
  */
1175
- export declare type Entity = unknown;
1186
+ export declare type Entity = uint32 & {
1187
+ __entity_type: '';
1188
+ };
1176
1189
 
1177
1190
  export declare type EntityComponents = {
1178
1191
  uiTransform: PBUiTransform;
@@ -1185,10 +1198,13 @@ export declare type EntityComponents = {
1185
1198
  };
1186
1199
 
1187
1200
  export declare function EntityContainer(): {
1188
- generateEntity(dynamic?: boolean): Entity;
1201
+ generateEntity(): Entity;
1189
1202
  removeEntity(entity: Entity): boolean;
1190
1203
  entityExists(entity: Entity): boolean;
1191
1204
  getExistingEntities(): Set<Entity>;
1205
+ entityVersion: (entity: Entity) => number;
1206
+ entityNumber: (entity: Entity) => number;
1207
+ entityId: (entityNumber: number, entityVersion: number) => Entity;
1192
1208
  };
1193
1209
 
1194
1210
  /**
@@ -1683,6 +1699,8 @@ export declare type MapResult<T extends Spec> = ToOptional<{
1683
1699
  [K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
1684
1700
  }>;
1685
1701
 
1702
+ export declare const MASK_UPPER_16_ON_32 = 4294901760;
1703
+
1686
1704
  export declare const Material: MaterialComponentDefinitionExtended;
1687
1705
 
1688
1706
  /**
@@ -2451,6 +2469,13 @@ export declare namespace Matrix {
2451
2469
  export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
2452
2470
  }
2453
2471
 
2472
+ /**
2473
+ * @public
2474
+ */
2475
+ export declare const MAX_ENTITY_NUMBER = 65535;
2476
+
2477
+ export declare const MAX_U16 = 65535;
2478
+
2454
2479
  export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
2455
2480
 
2456
2481
  /**
@@ -2901,10 +2926,10 @@ export declare const PBGltfContainer: {
2901
2926
 
2902
2927
  export declare interface PBMaterial {
2903
2928
  material?: {
2904
- $case: 'unlit';
2929
+ $case: "unlit";
2905
2930
  unlit: PBMaterial_UnlitMaterial;
2906
2931
  } | {
2907
- $case: 'pbr';
2932
+ $case: "pbr";
2908
2933
  pbr: PBMaterial_PbrMaterial;
2909
2934
  };
2910
2935
  }
@@ -2981,16 +3006,16 @@ export declare interface PBMeshCollider {
2981
3006
  /** default = ColliderLayer.Physics | ColliderLayer.Pointer */
2982
3007
  collisionMask?: number | undefined;
2983
3008
  mesh?: {
2984
- $case: 'box';
3009
+ $case: "box";
2985
3010
  box: PBMeshCollider_BoxMesh;
2986
3011
  } | {
2987
- $case: 'sphere';
3012
+ $case: "sphere";
2988
3013
  sphere: PBMeshCollider_SphereMesh;
2989
3014
  } | {
2990
- $case: 'cylinder';
3015
+ $case: "cylinder";
2991
3016
  cylinder: PBMeshCollider_CylinderMesh;
2992
3017
  } | {
2993
- $case: 'plane';
3018
+ $case: "plane";
2994
3019
  plane: PBMeshCollider_PlaneMesh;
2995
3020
  };
2996
3021
  }
@@ -3053,16 +3078,16 @@ export declare const PBMeshCollider_SphereMesh: {
3053
3078
 
3054
3079
  export declare interface PBMeshRenderer {
3055
3080
  mesh?: {
3056
- $case: 'box';
3081
+ $case: "box";
3057
3082
  box: PBMeshRenderer_BoxMesh;
3058
3083
  } | {
3059
- $case: 'sphere';
3084
+ $case: "sphere";
3060
3085
  sphere: PBMeshRenderer_SphereMesh;
3061
3086
  } | {
3062
- $case: 'cylinder';
3087
+ $case: "cylinder";
3063
3088
  cylinder: PBMeshRenderer_CylinderMesh;
3064
3089
  } | {
3065
- $case: 'plane';
3090
+ $case: "plane";
3066
3091
  plane: PBMeshRenderer_PlaneMesh;
3067
3092
  };
3068
3093
  }
@@ -3687,12 +3712,12 @@ export declare const PointerEventsResult: ComponentDefinition<PBPointerEventsRes
3687
3712
  export declare type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
3688
3713
 
3689
3714
  export declare const pointerEventsSystem: {
3690
- removeOnClick(entity: unknown): void;
3691
- removeOnPointerDown(entity: unknown): void;
3692
- removeOnPointerUp(entity: unknown): void;
3693
- onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3694
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3695
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3715
+ removeOnClick(entity: Entity): void;
3716
+ removeOnPointerDown(entity: Entity): void;
3717
+ removeOnPointerUp(entity: Entity): void;
3718
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3719
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3720
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3696
3721
  };
3697
3722
 
3698
3723
  export declare const enum PointerEventType {
@@ -4055,6 +4080,11 @@ export declare type ReceiveMessage = {
4055
4080
  messageBuffer: Uint8Array;
4056
4081
  };
4057
4082
 
4083
+ /**
4084
+ * @public This first 512 entities are reserved by the renderer
4085
+ */
4086
+ export declare const RESERVED_STATIC_ENTITIES = 512;
4087
+
4058
4088
  export declare type RPCSendableMessage = {
4059
4089
  jsonrpc: '2.0';
4060
4090
  id: number;
@@ -4352,10 +4382,10 @@ export declare type TextureHelper = {
4352
4382
 
4353
4383
  export declare interface TextureUnion {
4354
4384
  tex?: {
4355
- $case: 'texture';
4385
+ $case: "texture";
4356
4386
  texture: Texture;
4357
4387
  } | {
4358
- $case: 'avatarTexture';
4388
+ $case: "avatarTexture";
4359
4389
  avatarTexture: AvatarTexture;
4360
4390
  };
4361
4391
  }
@@ -4495,6 +4525,11 @@ export declare type UiInputProps = PBUiInput & {
4495
4525
  /** @public */
4496
4526
  export declare const UiInputResult: ComponentDefinition<PBUiInputResult>;
4497
4527
 
4528
+ /**
4529
+ * @public It only defines the type explicitly, no effects.
4530
+ */
4531
+ export declare type uint32 = number;
4532
+
4498
4533
  /** @public */
4499
4534
  export declare const UiText: ComponentDefinition<PBUiText>;
4500
4535