@dcl/playground-assets 7.22.4-24525731607.commit-cda77a9 → 7.22.5-24776890516.commit-b10e9ab

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.
@@ -70,31 +70,6 @@ export const assetLoadLoadingStateSystem: AssetLoadLoadingStateSystem;
70
70
  // @public (undocumented)
71
71
  export type AssetLoadLoadingStateSystemCallback = (event: DeepReadonlyObject<PBAssetLoadLoadingState>) => void;
72
72
 
73
- // Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
74
- //
75
- // @public (undocumented)
76
- export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
77
-
78
- // Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
79
- //
80
- // @public (undocumented)
81
- export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
82
- createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
83
- amplitudeGain?: number, bandsGain?: number): void;
84
- createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
85
- amplitudeGain?: number, bandsGain?: number): void;
86
- readIntoView(entity: Entity, out: AudioAnalysisView): void;
87
- tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
88
- }
89
-
90
- // Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
91
- //
92
- // @public
93
- export type AudioAnalysisView = {
94
- amplitude: number;
95
- bands: number[];
96
- };
97
-
98
73
  // @public (undocumented)
99
74
  export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
100
75
 
@@ -119,6 +94,29 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
119
94
  getAudioState(entity: Entity): PBAudioEvent | undefined;
120
95
  }
121
96
 
97
+ // @public (undocumented)
98
+ export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
99
+
100
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
101
+ //
102
+ // @public
103
+ export type AuthoritativePutComponentMessageBody = {
104
+ type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
105
+ entityId: Entity;
106
+ componentId: number;
107
+ timestamp: number;
108
+ data: Uint8Array;
109
+ };
110
+
111
+ // @public (undocumented)
112
+ export namespace AuthoritativePutComponentOperation {
113
+ const // (undocumented)
114
+ MESSAGE_HEADER_LENGTH = 16;
115
+ // (undocumented)
116
+ export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
117
+ export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
118
+ }
119
+
122
120
  // @public (undocumented)
123
121
  export const enum AvatarAnchorPointType {
124
122
  // (undocumented)
@@ -184,20 +182,9 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
184
182
  // @public (undocumented)
185
183
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
186
184
 
187
- // @public (undocumented)
188
- export const enum AvatarEmoteMask {
189
- // (undocumented)
190
- AEM_FULL_BODY = 0,
191
- // (undocumented)
192
- AEM_UPPER_BODY = 1
193
- }
194
-
195
185
  // @public (undocumented)
196
186
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
197
187
 
198
- // @public (undocumented)
199
- export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
200
-
201
188
  // @public (undocumented)
202
189
  export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
203
190
 
@@ -244,12 +231,20 @@ export interface BaseComponent<T> {
244
231
  dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
245
232
  entityDeleted(entity: Entity, markAsDirty: boolean): void;
246
233
  get(entity: Entity): any;
234
+ getCrdtState(entity: Entity): {
235
+ data: Uint8Array;
236
+ timestamp: number;
237
+ } | null;
247
238
  getCrdtUpdates(): Iterable<CrdtMessageBody>;
248
239
  has(entity: Entity): boolean;
249
240
  onChange(entity: Entity, cb: (value: T | undefined) => void): void;
250
241
  // (undocumented)
251
242
  readonly schema: ISchema<T>;
252
243
  updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
244
+ // (undocumented)
245
+ validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
246
+ // (undocumented)
247
+ validateBeforeChange(cb: ValidateCallback<T>): void;
253
248
  }
254
249
 
255
250
  // @public (undocumented)
@@ -646,22 +641,6 @@ export type Color4Type = {
646
641
  a: number;
647
642
  };
648
643
 
649
- // @public (undocumented)
650
- export interface ColorRange {
651
- // (undocumented)
652
- end: PBColor4 | undefined;
653
- // (undocumented)
654
- start: PBColor4 | undefined;
655
- }
656
-
657
- // @public (undocumented)
658
- export namespace ColorRange {
659
- // (undocumented)
660
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
661
- // (undocumented)
662
- export function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
663
- }
664
-
665
644
  // @public (undocumented)
666
645
  export interface ComponentData {
667
646
  // (undocumented)
@@ -696,7 +675,6 @@ export const componentDefinitionByName: {
696
675
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
697
676
  "core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
698
677
  "core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
699
- "core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
700
678
  "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
701
679
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
702
680
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -704,7 +682,6 @@ export const componentDefinitionByName: {
704
682
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
705
683
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
706
684
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
707
- "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
708
685
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
709
686
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
710
687
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -721,7 +698,6 @@ export const componentDefinitionByName: {
721
698
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
722
699
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
723
700
  "core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
724
- "core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
725
701
  "core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
726
702
  "core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
727
703
  "core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
@@ -881,10 +857,10 @@ export type Coords = {
881
857
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
882
858
 
883
859
  // @public (undocumented)
884
- export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
860
+ export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
885
861
 
886
862
  // @public (undocumented)
887
- export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
863
+ export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
888
864
 
889
865
  // @public
890
866
  export type CrdtMessageHeader = {
@@ -905,6 +881,8 @@ export enum CrdtMessageType {
905
881
  // (undocumented)
906
882
  APPEND_VALUE = 4,
907
883
  // (undocumented)
884
+ AUTHORITATIVE_PUT_COMPONENT = 8,
885
+ // (undocumented)
908
886
  DELETE_COMPONENT = 2,
909
887
  // (undocumented)
910
888
  DELETE_COMPONENT_NETWORK = 6,
@@ -913,7 +891,7 @@ export enum CrdtMessageType {
913
891
  // (undocumented)
914
892
  DELETE_ENTITY_NETWORK = 7,
915
893
  // (undocumented)
916
- MAX_MESSAGE_TYPE = 8,
894
+ MAX_MESSAGE_TYPE = 9,
917
895
  // (undocumented)
918
896
  PUT_COMPONENT = 1,
919
897
  // (undocumented)
@@ -925,6 +903,11 @@ export enum CrdtMessageType {
925
903
  // @public (undocumented)
926
904
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
927
905
 
906
+ // Warning: (ae-missing-release-tag) "CreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
907
+ //
908
+ // @public (undocumented)
909
+ export const CreatedBy: ICreatedBy;
910
+
928
911
  // @public (undocumented)
929
912
  export function createEntityContainer(opts?: {
930
913
  reservedStaticEntities: number;
@@ -1236,7 +1219,6 @@ export type EventSystemOptions = {
1236
1219
  showFeedback?: boolean;
1237
1220
  showHighlight?: boolean;
1238
1221
  maxPlayerDistance?: number;
1239
- priority?: number;
1240
1222
  };
1241
1223
 
1242
1224
  // @public
@@ -1283,22 +1265,6 @@ export type FlexWrapType = 'wrap' | 'nowrap' | 'wrap-reverse';
1283
1265
  // @public (undocumented)
1284
1266
  export type FloatArray = number[];
1285
1267
 
1286
- // @public (undocumented)
1287
- export interface FloatRange {
1288
- // (undocumented)
1289
- end: number;
1290
- // (undocumented)
1291
- start: number;
1292
- }
1293
-
1294
- // @public (undocumented)
1295
- export namespace FloatRange {
1296
- // (undocumented)
1297
- export function decode(input: _m0.Reader | Uint8Array, length?: number): FloatRange;
1298
- // (undocumented)
1299
- export function encode(message: FloatRange, writer?: _m0.Writer): _m0.Writer;
1300
- }
1301
-
1302
1268
  // @public (undocumented)
1303
1269
  export const enum Font {
1304
1270
  // (undocumented)
@@ -1380,6 +1346,19 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
1380
1346
  // @public (undocumented)
1381
1347
  export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
1382
1348
 
1349
+ // Warning: (ae-missing-release-tag) "ICreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1350
+ //
1351
+ // @public (undocumented)
1352
+ export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
1353
+
1354
+ // Warning: (ae-missing-release-tag) "ICreatedByType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1355
+ //
1356
+ // @public (undocumented)
1357
+ export interface ICreatedByType {
1358
+ // (undocumented)
1359
+ address: string;
1360
+ }
1361
+
1383
1362
  // @public (undocumented)
1384
1363
  export interface IEngine {
1385
1364
  addEntity(): Entity;
@@ -1576,8 +1555,6 @@ export const enum InputAction {
1576
1555
  // (undocumented)
1577
1556
  IA_LEFT = 7,
1578
1557
  // (undocumented)
1579
- IA_MODIFIER = 14,
1580
- // (undocumented)
1581
1558
  IA_POINTER = 0,
1582
1559
  // (undocumented)
1583
1560
  IA_PRIMARY = 1,
@@ -1621,12 +1598,18 @@ export type InstanceCompositeOptions = {
1621
1598
  alreadyRequestedSrc?: Set<string>;
1622
1599
  };
1623
1600
 
1624
- // @public (undocumented)
1625
- export const enum InteractionType {
1601
+ // Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1602
+ //
1603
+ // @public
1604
+ export interface InternalBaseComponent<T> extends BaseComponent<T> {
1605
+ __dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
1606
+ // (undocumented)
1607
+ __onChangeCallbacks(entity: Entity, value: T): void;
1626
1608
  // (undocumented)
1627
- CURSOR = 0,
1609
+ __run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
1628
1610
  // (undocumented)
1629
- PROXIMITY = 1
1611
+ dirtyIterator(): Iterable<Entity>;
1612
+ iterator(): Iterable<[Entity, any]>;
1630
1613
  }
1631
1614
 
1632
1615
  // @public (undocumented)
@@ -1703,13 +1686,6 @@ export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between'
1703
1686
  // @public
1704
1687
  export type Key = number | string;
1705
1688
 
1706
- // @public
1707
- export enum KnockbackFalloff {
1708
- CONSTANT = 0,
1709
- INVERSE_SQUARE = 2,
1710
- LINEAR = 1
1711
- }
1712
-
1713
1689
  // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
1714
1690
  // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
1715
1691
  // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
@@ -2313,24 +2289,6 @@ export const onVideoEvent: Observable<{
2313
2289
  // @public
2314
2290
  export type OverflowType = 'hidden' | 'scroll' | 'visible';
2315
2291
 
2316
- // Warning: (ae-missing-release-tag) "ParticleSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2317
- //
2318
- // @public (undocumented)
2319
- export const ParticleSystem: ParticleSystemComponentDefinitionExtended;
2320
-
2321
- // @public (undocumented)
2322
- export interface ParticleSystemComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBParticleSystem> {
2323
- Shape: ParticleSystemHelper;
2324
- }
2325
-
2326
- // @public (undocumented)
2327
- export interface ParticleSystemHelper {
2328
- Box: (box?: PBParticleSystem_Box) => PBParticleSystem['shape'];
2329
- Cone: (cone?: PBParticleSystem_Cone) => PBParticleSystem['shape'];
2330
- Point: (point?: PBParticleSystem_Point) => PBParticleSystem['shape'];
2331
- Sphere: (sphere?: PBParticleSystem_Sphere) => PBParticleSystem['shape'];
2332
- }
2333
-
2334
2292
  // @public (undocumented)
2335
2293
  export interface PBAnimationState {
2336
2294
  clip: string;
@@ -2391,46 +2349,6 @@ export namespace PBAssetLoadLoadingState {
2391
2349
  export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
2392
2350
  }
2393
2351
 
2394
- // @public (undocumented)
2395
- export interface PBAudioAnalysis {
2396
- amplitude: number;
2397
- amplitudeGain?: number | undefined;
2398
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2399
- band0: number;
2400
- // (undocumented)
2401
- band1: number;
2402
- // (undocumented)
2403
- band2: number;
2404
- // (undocumented)
2405
- band3: number;
2406
- // (undocumented)
2407
- band4: number;
2408
- // (undocumented)
2409
- band5: number;
2410
- // (undocumented)
2411
- band6: number;
2412
- // (undocumented)
2413
- band7: number;
2414
- bandsGain?: number | undefined;
2415
- mode: PBAudioAnalysisMode;
2416
- }
2417
-
2418
- // @public (undocumented)
2419
- export namespace PBAudioAnalysis {
2420
- // (undocumented)
2421
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
2422
- // (undocumented)
2423
- export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
2424
- }
2425
-
2426
- // @public (undocumented)
2427
- export const enum PBAudioAnalysisMode {
2428
- // (undocumented)
2429
- MODE_LOGARITHMIC = 1,
2430
- // (undocumented)
2431
- MODE_RAW = 0
2432
- }
2433
-
2434
2352
  // @public (undocumented)
2435
2353
  export interface PBAudioEvent {
2436
2354
  // (undocumented)
@@ -2552,27 +2470,6 @@ export namespace PBAvatarEquippedData {
2552
2470
  export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2553
2471
  }
2554
2472
 
2555
- // @public (undocumented)
2556
- export interface PBAvatarLocomotionSettings {
2557
- doubleJumpHeight?: number | undefined;
2558
- glidingFallingSpeed?: number | undefined;
2559
- glidingSpeed?: number | undefined;
2560
- hardLandingCooldown?: number | undefined;
2561
- jogSpeed?: number | undefined;
2562
- jumpHeight?: number | undefined;
2563
- runJumpHeight?: number | undefined;
2564
- runSpeed?: number | undefined;
2565
- walkSpeed?: number | undefined;
2566
- }
2567
-
2568
- // @public (undocumented)
2569
- export namespace PBAvatarLocomotionSettings {
2570
- // (undocumented)
2571
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
2572
- // (undocumented)
2573
- export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
2574
- }
2575
-
2576
2473
  // @public (undocumented)
2577
2474
  export interface PBAvatarModifierArea {
2578
2475
  area: PBVector3 | undefined;
@@ -3108,198 +3005,6 @@ export namespace PBNftShape {
3108
3005
  export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
3109
3006
  }
3110
3007
 
3111
- // @public (undocumented)
3112
- export interface PBParticleSystem {
3113
- active?: boolean | undefined;
3114
- additionalForce?: PBVector3 | undefined;
3115
- billboard?: boolean | undefined;
3116
- blendMode?: PBParticleSystem_BlendMode | undefined;
3117
- bursts?: PBParticleSystem_BurstConfiguration | undefined;
3118
- // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3119
- // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3120
- colorOverTime?: ColorRange | undefined;
3121
- faceTravelDirection?: boolean | undefined;
3122
- gravity?: number | undefined;
3123
- initialColor?: ColorRange | undefined;
3124
- initialRotation?: PBQuaternion | undefined;
3125
- initialSize?: FloatRange | undefined;
3126
- initialVelocitySpeed?: FloatRange | undefined;
3127
- lifetime?: number | undefined;
3128
- limitVelocity?: PBParticleSystem_LimitVelocity | undefined;
3129
- loop?: boolean | undefined;
3130
- maxParticles?: number | undefined;
3131
- playbackState?: PBParticleSystem_PlaybackState | undefined;
3132
- prewarm?: boolean | undefined;
3133
- rate?: number | undefined;
3134
- rotationOverTime?: PBQuaternion | undefined;
3135
- // (undocumented)
3136
- shape?: {
3137
- $case: "point";
3138
- point: PBParticleSystem_Point;
3139
- } | {
3140
- $case: "sphere";
3141
- sphere: PBParticleSystem_Sphere;
3142
- } | {
3143
- $case: "cone";
3144
- cone: PBParticleSystem_Cone;
3145
- } | {
3146
- $case: "box";
3147
- box: PBParticleSystem_Box;
3148
- } | undefined;
3149
- simulationSpace?: PBParticleSystem_SimulationSpace | undefined;
3150
- // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3151
- // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3152
- sizeOverTime?: FloatRange | undefined;
3153
- spriteSheet?: PBParticleSystem_SpriteSheetAnimation | undefined;
3154
- texture?: Texture | undefined;
3155
- }
3156
-
3157
- // @public (undocumented)
3158
- export namespace PBParticleSystem {
3159
- // (undocumented)
3160
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem;
3161
- // (undocumented)
3162
- export function encode(message: PBParticleSystem, writer?: _m0.Writer): _m0.Writer;
3163
- }
3164
-
3165
- // @public (undocumented)
3166
- const enum PBParticleSystem_BlendMode {
3167
- PSB_ADD = 1,
3168
- PSB_ALPHA = 0,
3169
- PSB_MULTIPLY = 2
3170
- }
3171
- export { PBParticleSystem_BlendMode }
3172
- export { PBParticleSystem_BlendMode as ParticleSystemBlendMode }
3173
-
3174
- // @public (undocumented)
3175
- export interface PBParticleSystem_Box {
3176
- // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3177
- // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3178
- size?: PBVector3 | undefined;
3179
- }
3180
-
3181
- // @public (undocumented)
3182
- export namespace PBParticleSystem_Box {
3183
- // (undocumented)
3184
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
3185
- // (undocumented)
3186
- export function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
3187
- }
3188
-
3189
- // @public (undocumented)
3190
- export interface PBParticleSystem_Burst {
3191
- count: number;
3192
- cycles?: number | undefined;
3193
- interval?: number | undefined;
3194
- probability?: number | undefined;
3195
- time: number;
3196
- }
3197
-
3198
- // @public (undocumented)
3199
- export namespace PBParticleSystem_Burst {
3200
- // (undocumented)
3201
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Burst;
3202
- // (undocumented)
3203
- export function encode(message: PBParticleSystem_Burst, writer?: _m0.Writer): _m0.Writer;
3204
- }
3205
-
3206
- // @public (undocumented)
3207
- export interface PBParticleSystem_BurstConfiguration {
3208
- // (undocumented)
3209
- values: PBParticleSystem_Burst[];
3210
- }
3211
-
3212
- // @public (undocumented)
3213
- export namespace PBParticleSystem_BurstConfiguration {
3214
- // (undocumented)
3215
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_BurstConfiguration;
3216
- // (undocumented)
3217
- export function encode(message: PBParticleSystem_BurstConfiguration, writer?: _m0.Writer): _m0.Writer;
3218
- }
3219
-
3220
- // @public (undocumented)
3221
- export interface PBParticleSystem_Cone {
3222
- angle?: number | undefined;
3223
- radius?: number | undefined;
3224
- }
3225
-
3226
- // @public (undocumented)
3227
- export namespace PBParticleSystem_Cone {
3228
- // (undocumented)
3229
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Cone;
3230
- // (undocumented)
3231
- export function encode(message: PBParticleSystem_Cone, writer?: _m0.Writer): _m0.Writer;
3232
- }
3233
-
3234
- // @public (undocumented)
3235
- export interface PBParticleSystem_LimitVelocity {
3236
- dampen?: number | undefined;
3237
- speed: number;
3238
- }
3239
-
3240
- // @public (undocumented)
3241
- export namespace PBParticleSystem_LimitVelocity {
3242
- // (undocumented)
3243
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_LimitVelocity;
3244
- // (undocumented)
3245
- export function encode(message: PBParticleSystem_LimitVelocity, writer?: _m0.Writer): _m0.Writer;
3246
- }
3247
-
3248
- // @public (undocumented)
3249
- const enum PBParticleSystem_PlaybackState {
3250
- PS_PAUSED = 1,
3251
- PS_PLAYING = 0,
3252
- PS_STOPPED = 2
3253
- }
3254
- export { PBParticleSystem_PlaybackState }
3255
- export { PBParticleSystem_PlaybackState as ParticleSystemPlaybackState }
3256
-
3257
- // @public (undocumented)
3258
- export interface PBParticleSystem_Point {
3259
- }
3260
-
3261
- // @public (undocumented)
3262
- export namespace PBParticleSystem_Point {
3263
- // (undocumented)
3264
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Point;
3265
- // (undocumented)
3266
- export function encode(_: PBParticleSystem_Point, writer?: _m0.Writer): _m0.Writer;
3267
- }
3268
-
3269
- // @public (undocumented)
3270
- export const enum PBParticleSystem_SimulationSpace {
3271
- PSS_LOCAL = 0,
3272
- PSS_WORLD = 1
3273
- }
3274
-
3275
- // @public (undocumented)
3276
- export interface PBParticleSystem_Sphere {
3277
- radius?: number | undefined;
3278
- }
3279
-
3280
- // @public (undocumented)
3281
- export namespace PBParticleSystem_Sphere {
3282
- // (undocumented)
3283
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Sphere;
3284
- // (undocumented)
3285
- export function encode(message: PBParticleSystem_Sphere, writer?: _m0.Writer): _m0.Writer;
3286
- }
3287
-
3288
- // @public (undocumented)
3289
- export interface PBParticleSystem_SpriteSheetAnimation {
3290
- framesPerSecond?: number | undefined;
3291
- tilesX: number;
3292
- tilesY: number;
3293
- }
3294
-
3295
- // @public (undocumented)
3296
- export namespace PBParticleSystem_SpriteSheetAnimation {
3297
- // (undocumented)
3298
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_SpriteSheetAnimation;
3299
- // (undocumented)
3300
- export function encode(message: PBParticleSystem_SpriteSheetAnimation, writer?: _m0.Writer): _m0.Writer;
3301
- }
3302
-
3303
3008
  // @public (undocumented)
3304
3009
  export interface PBPhysicsCombinedForce {
3305
3010
  vector: PBVector3 | undefined;
@@ -3359,7 +3064,6 @@ export namespace PBPointerEvents {
3359
3064
  export interface PBPointerEvents_Entry {
3360
3065
  eventInfo: PBPointerEvents_Info | undefined;
3361
3066
  eventType: PointerEventType;
3362
- interactionType?: InteractionType | undefined;
3363
3067
  }
3364
3068
 
3365
3069
  // @public (undocumented)
@@ -3376,7 +3080,6 @@ export interface PBPointerEvents_Info {
3376
3080
  hoverText?: string | undefined;
3377
3081
  maxDistance?: number | undefined;
3378
3082
  maxPlayerDistance?: number | undefined;
3379
- priority?: number | undefined;
3380
3083
  showFeedback?: boolean | undefined;
3381
3084
  showHighlight?: boolean | undefined;
3382
3085
  }
@@ -4043,7 +3746,6 @@ export namespace PBVideoPlayer {
4043
3746
  export interface PBVirtualCamera {
4044
3747
  // (undocumented)
4045
3748
  defaultTransition?: CameraTransition | undefined;
4046
- fov?: number | undefined;
4047
3749
  // (undocumented)
4048
3750
  lookAtEntity?: number | undefined;
4049
3751
  }
@@ -4070,31 +3772,12 @@ export namespace PBVisibilityComponent {
4070
3772
  export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
4071
3773
  }
4072
3774
 
4073
- // @public
4074
- export const Physics: PhysicsSystem;
4075
-
4076
3775
  // @public (undocumented)
4077
3776
  export const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
4078
3777
 
4079
3778
  // @public (undocumented)
4080
3779
  export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
4081
3780
 
4082
- // @public (undocumented)
4083
- export interface PhysicsSystem {
4084
- applyForceToPlayer(source: Entity, vector: Vector3Type): void;
4085
- // (undocumented)
4086
- applyForceToPlayer(source: Entity, direction: Vector3Type, magnitude: number): void;
4087
- applyForceToPlayerForDuration(source: Entity, duration: number, vector: Vector3Type): void;
4088
- // (undocumented)
4089
- applyForceToPlayerForDuration(source: Entity, duration: number, direction: Vector3Type, magnitude: number): void;
4090
- applyImpulseToPlayer(vector: Vector3Type): void;
4091
- // (undocumented)
4092
- applyImpulseToPlayer(direction: Vector3Type, magnitude: number): void;
4093
- applyKnockbackToPlayer(fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
4094
- applyRepulsionForceToPlayer(source: Entity, fromPosition: Vector3Type, magnitude: number, radius?: number, falloff?: KnockbackFalloff): void;
4095
- removeForceFromPlayer(source: Entity): void;
4096
- }
4097
-
4098
3781
  // @public
4099
3782
  export namespace Plane {
4100
3783
  // (undocumented)
@@ -4160,30 +3843,10 @@ export interface PointerEventsSystem {
4160
3843
  }, cb: EventSystemCallback): void;
4161
3844
  // @deprecated (undocumented)
4162
3845
  onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
4163
- onProximityDown(pointerData: {
4164
- entity: Entity;
4165
- opts?: Partial<EventSystemOptions>;
4166
- }, cb: EventSystemCallback): void;
4167
- onProximityEnter(pointerData: {
4168
- entity: Entity;
4169
- opts?: Partial<EventSystemOptions>;
4170
- }, cb: EventSystemCallback): void;
4171
- onProximityLeave(pointerData: {
4172
- entity: Entity;
4173
- opts?: Partial<EventSystemOptions>;
4174
- }, cb: EventSystemCallback): void;
4175
- onProximityUp(pointerData: {
4176
- entity: Entity;
4177
- opts?: Partial<EventSystemOptions>;
4178
- }, cb: EventSystemCallback): void;
4179
3846
  removeOnPointerDown(entity: Entity): void;
4180
3847
  removeOnPointerHoverEnter(entity: Entity): void;
4181
3848
  removeOnPointerHoverLeave(entity: Entity): void;
4182
3849
  removeOnPointerUp(entity: Entity): void;
4183
- removeOnProximityDown(entity: Entity): void;
4184
- removeOnProximityEnter(entity: Entity): void;
4185
- removeOnProximityLeave(entity: Entity): void;
4186
- removeOnProximityUp(entity: Entity): void;
4187
3850
  }
4188
3851
 
4189
3852
  // @public
@@ -4198,10 +3861,6 @@ export const enum PointerEventType {
4198
3861
  // (undocumented)
4199
3862
  PET_HOVER_LEAVE = 3,
4200
3863
  // (undocumented)
4201
- PET_PROXIMITY_ENTER = 4,
4202
- // (undocumented)
4203
- PET_PROXIMITY_LEAVE = 5,
4204
- // (undocumented)
4205
3864
  PET_UP = 0
4206
3865
  }
4207
3866
 
@@ -4632,9 +4291,6 @@ export namespace RotateContinuous {
4632
4291
  export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
4633
4292
  }
4634
4293
 
4635
- // @public
4636
- export function rotateVectorByQuaternion(v: Vector3Type, q: QuaternionType): Vector3Type;
4637
-
4638
4294
  // Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4639
4295
  //
4640
4296
  // @public (undocumented)
@@ -5048,7 +4704,6 @@ export interface TransformComponentExtended extends TransformComponent {
5048
4704
  create(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
5049
4705
  // (undocumented)
5050
4706
  createOrReplace(entity: Entity, val?: TransformTypeWithOptionals): TransformType;
5051
- localToWorldDirection(entity: Entity, localDirection: Vector3Type): Vector3Type;
5052
4707
  }
5053
4708
 
5054
4709
  // @public (undocumented)
@@ -5367,6 +5022,17 @@ export interface UiTransformProps {
5367
5022
  // @public (undocumented)
5368
5023
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
5369
5024
 
5025
+ // Warning: (ae-missing-release-tag) "ValidateCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
5026
+ //
5027
+ // @public (undocumented)
5028
+ export type ValidateCallback<T> = (value: {
5029
+ entity: Entity;
5030
+ currentValue: T | undefined;
5031
+ newValue: T | undefined;
5032
+ senderAddress: string;
5033
+ createdBy: string;
5034
+ }) => boolean;
5035
+
5370
5036
  // @public (undocumented)
5371
5037
  export type ValueSetOptions<T> = {
5372
5038
  timestampFunction: (value: DeepReadonly<T>) => number;