@dcl/ecs 7.20.4-22621752364.commit-d72981b → 7.20.4

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.
Files changed (67) hide show
  1. package/dist/components/extended/Tween.d.ts +0 -90
  2. package/dist/components/extended/Tween.js +0 -152
  3. package/dist/components/generated/component-names.gen.js +0 -2
  4. package/dist/components/generated/global.gen.d.ts +0 -4
  5. package/dist/components/generated/global.gen.js +0 -2
  6. package/dist/components/generated/index.gen.d.ts +0 -8
  7. package/dist/components/generated/index.gen.js +0 -10
  8. package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -12
  9. package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +0 -11
  10. package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +1 -5
  11. package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +1 -20
  12. package/dist/components/generated/pb/decentraland/sdk/components/tween.gen.d.ts +0 -40
  13. package/dist/components/generated/pb/decentraland/sdk/components/tween.gen.js +0 -176
  14. package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
  15. package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
  16. package/dist/components/index.d.ts +0 -4
  17. package/dist/components/index.js +0 -3
  18. package/dist/components/types.d.ts +1 -2
  19. package/dist/engine/entity.js +4 -2
  20. package/dist/index.d.ts +1 -2
  21. package/dist/index.js +0 -1
  22. package/dist/systems/events.d.ts +0 -65
  23. package/dist/systems/events.js +8 -70
  24. package/dist-cjs/components/extended/Tween.d.ts +0 -90
  25. package/dist-cjs/components/extended/Tween.js +0 -152
  26. package/dist-cjs/components/generated/component-names.gen.js +0 -2
  27. package/dist-cjs/components/generated/global.gen.d.ts +0 -4
  28. package/dist-cjs/components/generated/global.gen.js +1 -3
  29. package/dist-cjs/components/generated/index.gen.d.ts +0 -8
  30. package/dist-cjs/components/generated/index.gen.js +2 -14
  31. package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -12
  32. package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +1 -12
  33. package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +1 -5
  34. package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +1 -20
  35. package/dist-cjs/components/generated/pb/decentraland/sdk/components/tween.gen.d.ts +0 -40
  36. package/dist-cjs/components/generated/pb/decentraland/sdk/components/tween.gen.js +1 -177
  37. package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
  38. package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
  39. package/dist-cjs/components/index.d.ts +0 -4
  40. package/dist-cjs/components/index.js +1 -5
  41. package/dist-cjs/components/types.d.ts +1 -2
  42. package/dist-cjs/engine/entity.js +4 -2
  43. package/dist-cjs/index.d.ts +1 -2
  44. package/dist-cjs/index.js +1 -2
  45. package/dist-cjs/systems/events.d.ts +0 -65
  46. package/dist-cjs/systems/events.js +8 -70
  47. package/package.json +2 -2
  48. package/dist/components/extended/AudioAnalysis.d.ts +0 -55
  49. package/dist/components/extended/AudioAnalysis.js +0 -66
  50. package/dist/components/generated/AudioAnalysis.gen.d.ts +0 -1
  51. package/dist/components/generated/AudioAnalysis.gen.js +0 -25
  52. package/dist/components/generated/AvatarLocomotionSettings.gen.d.ts +0 -1
  53. package/dist/components/generated/AvatarLocomotionSettings.gen.js +0 -25
  54. package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +0 -37
  55. package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +0 -161
  56. package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -29
  57. package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -93
  58. package/dist-cjs/components/extended/AudioAnalysis.d.ts +0 -55
  59. package/dist-cjs/components/extended/AudioAnalysis.js +0 -70
  60. package/dist-cjs/components/generated/AudioAnalysis.gen.d.ts +0 -1
  61. package/dist-cjs/components/generated/AudioAnalysis.gen.js +0 -28
  62. package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.d.ts +0 -1
  63. package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.js +0 -28
  64. package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +0 -37
  65. package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +0 -167
  66. package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -29
  67. package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -99
@@ -1,66 +1,6 @@
1
1
  import { Entity, IEngine, LastWriteWinElementSetComponentDefinition } from '../../engine';
2
2
  import { Quaternion, Vector2, Vector3 } from '../generated/pb/decentraland/common/vectors.gen';
3
3
  import { EasingFunction, Move, MoveContinuous, PBTween, Rotate, RotateContinuous, Scale, TextureMove, TextureMoveContinuous, TextureMovementType } from '../generated/index.gen';
4
- /**
5
- * @public
6
- * Partial params for Tween.Mode.MoveRotateScale(). At least one of position, rotation, or scale must be provided.
7
- * Use this when building a mode for Tween.createOrReplace() or TweenSequence (e.g. only positionStart/positionEnd).
8
- */
9
- export interface MoveRotateScaleModeParams {
10
- /** Position tween (start → end). Optional. */
11
- position?: {
12
- start: Vector3;
13
- end: Vector3;
14
- };
15
- /** Rotation tween (start → end). Optional. */
16
- rotation?: {
17
- start: Quaternion;
18
- end: Quaternion;
19
- };
20
- /** Scale tween (start → end). Optional. */
21
- scale?: {
22
- start: Vector3;
23
- end: Vector3;
24
- };
25
- }
26
- /**
27
- * @public
28
- * Parameters for setMoveRotateScale. At least one of position, rotation, or scale must be provided.
29
- */
30
- export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
31
- /** Duration of the tween in milliseconds. */
32
- duration: number;
33
- /** Easing function (defaults to EF_LINEAR). */
34
- easingFunction?: EasingFunction;
35
- }
36
- /**
37
- * @public
38
- * Partial params for Tween.Mode.MoveRotateScaleContinuous(). At least one of position, rotation, or scale must be provided.
39
- */
40
- export interface MoveRotateScaleContinuousModeParams {
41
- /** Position direction for continuous movement. Optional. */
42
- position?: {
43
- direction: Vector3;
44
- };
45
- /** Rotation direction for continuous rotation. Optional. */
46
- rotation?: {
47
- direction: Quaternion;
48
- };
49
- /** Scale direction for continuous scale change. Optional. */
50
- scale?: {
51
- direction: Vector3;
52
- };
53
- /** Speed of the animation per second. */
54
- speed: number;
55
- }
56
- /**
57
- * @public
58
- * Parameters for setMoveRotateScaleContinuous. At least one of position, rotation, or scale must be provided.
59
- */
60
- export interface SetMoveRotateScaleContinuousParams extends MoveRotateScaleContinuousModeParams {
61
- /** Duration in milliseconds (defaults to 0 for infinite). */
62
- duration?: number;
63
- }
64
4
  /**
65
5
  * @public
66
6
  */
@@ -93,16 +33,6 @@ export interface TweenHelper {
93
33
  * @returns a texture-move-continuous mode tween
94
34
  */
95
35
  TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
96
- /**
97
- * @returns a move-rotate-scale mode tween
98
- * @param params - partial transform (at least one of position, rotation, scale); omit axes you don't need
99
- */
100
- MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
101
- /**
102
- * @returns a move-rotate-scale-continuous mode tween
103
- * @param params - partial transform (at least one of position, rotation, scale) + speed; omit axes you don't need
104
- */
105
- MoveRotateScaleContinuous: (params: MoveRotateScaleContinuousModeParams) => PBTween['mode'];
106
36
  }
107
37
  /**
108
38
  * @public
@@ -188,25 +118,5 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
188
118
  * @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
189
119
  */
190
120
  setTextureMoveContinuous(entity: Entity, direction: Vector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
191
- /**
192
- * @public
193
- *
194
- * Creates or replaces a move-rotate-scale tween component that simultaneously animates
195
- * an entity's position, rotation, and/or scale from start to end. Provide only the
196
- * properties you need (at least one of position, rotation, or scale).
197
- * @param entity - entity to apply the tween to
198
- * @param params - object with optional position, rotation, scale (each with start/end), duration, and optional easingFunction
199
- */
200
- setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
201
- /**
202
- * @public
203
- *
204
- * Creates or replaces a continuous move-rotate-scale tween component that simultaneously
205
- * moves, rotates, and/or scales an entity continuously. Provide only the properties
206
- * you need (at least one of position, rotation, or scale).
207
- * @param entity - entity to apply the tween to
208
- * @param params - object with optional position, rotation, scale (each with direction), speed, and optional duration
209
- */
210
- setMoveRotateScaleContinuous(entity: Entity, params: SetMoveRotateScaleContinuousParams): void;
211
121
  }
212
122
  export declare function defineTweenComponent(engine: Pick<IEngine, 'defineComponentFromSchema'>): TweenComponentDefinitionExtended;
@@ -2,77 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defineTweenComponent = void 0;
4
4
  const index_gen_1 = require("../generated/index.gen");
5
- function validateAtLeastOneMoveRotateScale(hasPosition, hasRotation, hasScale, apiName) {
6
- if (!hasPosition && !hasRotation && !hasScale) {
7
- throw new Error(`${apiName}: at least one of position, rotation, or scale must be provided`);
8
- }
9
- }
10
- function validateDuration(duration, apiName) {
11
- if (typeof duration !== 'number' || !Number.isFinite(duration) || duration < 0) {
12
- throw new Error(`${apiName}: duration must be a non-negative finite number`);
13
- }
14
- }
15
- function validateSpeed(speed, apiName) {
16
- if (typeof speed !== 'number' || !Number.isFinite(speed)) {
17
- throw new Error(`${apiName}: speed must be a finite number`);
18
- }
19
- }
20
- /** Shared validation for params that have optional position/rotation/scale with start & end. */
21
- function validateMoveRotateScaleAxesStartEnd(params, apiName) {
22
- const hasPosition = params.position != null;
23
- const hasRotation = params.rotation != null;
24
- const hasScale = params.scale != null;
25
- validateAtLeastOneMoveRotateScale(hasPosition, hasRotation, hasScale, apiName);
26
- if (hasPosition) {
27
- const pos = params.position;
28
- if (pos.start == null || pos.end == null) {
29
- throw new Error(`${apiName}: position must have both start and end`);
30
- }
31
- }
32
- if (hasRotation) {
33
- const rot = params.rotation;
34
- if (rot.start == null || rot.end == null) {
35
- throw new Error(`${apiName}: rotation must have both start and end`);
36
- }
37
- }
38
- if (hasScale) {
39
- const scl = params.scale;
40
- if (scl.start == null || scl.end == null) {
41
- throw new Error(`${apiName}: scale must have both start and end`);
42
- }
43
- }
44
- }
45
- /** Shared validation for params that have optional position/rotation/scale with direction + speed. */
46
- function validateMoveRotateScaleAxesDirection(params, apiName) {
47
- const hasPosition = params.position != null;
48
- const hasRotation = params.rotation != null;
49
- const hasScale = params.scale != null;
50
- validateAtLeastOneMoveRotateScale(hasPosition, hasRotation, hasScale, apiName);
51
- validateSpeed(params.speed, apiName);
52
- if (hasPosition && params.position.direction == null) {
53
- throw new Error(`${apiName}: position must have direction`);
54
- }
55
- if (hasRotation && params.rotation.direction == null) {
56
- throw new Error(`${apiName}: rotation must have direction`);
57
- }
58
- if (hasScale && params.scale.direction == null) {
59
- throw new Error(`${apiName}: scale must have direction`);
60
- }
61
- }
62
- function validateSetMoveRotateScaleParams(params, apiName) {
63
- validateMoveRotateScaleModeParams(params, apiName);
64
- validateDuration(params.duration, apiName);
65
- }
66
- function validateSetMoveRotateScaleContinuousParams(params, apiName) {
67
- validateMoveRotateScaleContinuousModeParams(params, apiName);
68
- validateDuration(params.duration ?? 0, apiName);
69
- }
70
- function validateMoveRotateScaleModeParams(params, apiName) {
71
- validateMoveRotateScaleAxesStartEnd(params, apiName);
72
- }
73
- function validateMoveRotateScaleContinuousModeParams(params, apiName) {
74
- validateMoveRotateScaleAxesDirection(params, apiName);
75
- }
76
5
  const TweenHelper = {
77
6
  Move(move) {
78
7
  return {
@@ -115,40 +44,6 @@ const TweenHelper = {
115
44
  $case: 'textureMoveContinuous',
116
45
  textureMoveContinuous
117
46
  };
118
- },
119
- MoveRotateScale(params) {
120
- validateMoveRotateScaleModeParams(params, 'Tween.Mode.MoveRotateScale');
121
- const hasPosition = params.position != null;
122
- const hasRotation = params.rotation != null;
123
- const hasScale = params.scale != null;
124
- const moveRotateScale = {
125
- positionStart: hasPosition ? params.position.start : undefined,
126
- positionEnd: hasPosition ? params.position.end : undefined,
127
- rotationStart: hasRotation ? params.rotation.start : undefined,
128
- rotationEnd: hasRotation ? params.rotation.end : undefined,
129
- scaleStart: hasScale ? params.scale.start : undefined,
130
- scaleEnd: hasScale ? params.scale.end : undefined
131
- };
132
- return {
133
- $case: 'moveRotateScale',
134
- moveRotateScale
135
- };
136
- },
137
- MoveRotateScaleContinuous(params) {
138
- validateMoveRotateScaleContinuousModeParams(params, 'Tween.Mode.MoveRotateScaleContinuous');
139
- const hasPosition = params.position != null;
140
- const hasRotation = params.rotation != null;
141
- const hasScale = params.scale != null;
142
- const moveRotateScaleContinuous = {
143
- positionDirection: hasPosition ? params.position.direction : undefined,
144
- rotationDirection: hasRotation ? params.rotation.direction : undefined,
145
- scaleDirection: hasScale ? params.scale.direction : undefined,
146
- speed: params.speed
147
- };
148
- return {
149
- $case: 'moveRotateScaleContinuous',
150
- moveRotateScaleContinuous
151
- };
152
47
  }
153
48
  };
154
49
  function defineTweenComponent(engine) {
@@ -255,53 +150,6 @@ function defineTweenComponent(engine) {
255
150
  easingFunction: 0 /* EasingFunction.EF_LINEAR */,
256
151
  playing: true
257
152
  });
258
- },
259
- setMoveRotateScale(entity, params) {
260
- validateSetMoveRotateScaleParams(params, 'setMoveRotateScale');
261
- const { position, rotation, scale, duration, easingFunction = 0 /* EasingFunction.EF_LINEAR */ } = params;
262
- const hasPosition = position != null;
263
- const hasRotation = rotation != null;
264
- const hasScale = scale != null;
265
- const moveRotateScale = {
266
- positionStart: hasPosition ? position.start : undefined,
267
- positionEnd: hasPosition ? position.end : undefined,
268
- rotationStart: hasRotation ? rotation.start : undefined,
269
- rotationEnd: hasRotation ? rotation.end : undefined,
270
- scaleStart: hasScale ? scale.start : undefined,
271
- scaleEnd: hasScale ? scale.end : undefined
272
- };
273
- theComponent.createOrReplace(entity, {
274
- mode: {
275
- $case: 'moveRotateScale',
276
- moveRotateScale
277
- },
278
- duration,
279
- easingFunction,
280
- playing: true
281
- });
282
- },
283
- setMoveRotateScaleContinuous(entity, params) {
284
- const duration = params.duration ?? 0;
285
- validateSetMoveRotateScaleContinuousParams(params, 'setMoveRotateScaleContinuous');
286
- const { position, rotation, scale, speed } = params;
287
- const hasPosition = position != null;
288
- const hasRotation = rotation != null;
289
- const hasScale = scale != null;
290
- const moveRotateScaleContinuous = {
291
- positionDirection: hasPosition ? position.direction : undefined,
292
- rotationDirection: hasRotation ? rotation.direction : undefined,
293
- scaleDirection: hasScale ? scale.direction : undefined,
294
- speed
295
- };
296
- theComponent.createOrReplace(entity, {
297
- mode: {
298
- $case: 'moveRotateScaleContinuous',
299
- moveRotateScaleContinuous
300
- },
301
- duration,
302
- easingFunction: 0 /* EasingFunction.EF_LINEAR */,
303
- playing: true
304
- });
305
153
  }
306
154
  };
307
155
  }
@@ -9,7 +9,6 @@ exports.coreComponentMappings = {
9
9
  "core::Animator": 1042,
10
10
  "core::AssetLoad": 1213,
11
11
  "core::AssetLoadLoadingState": 1214,
12
- "core::AudioAnalysis": 1212,
13
12
  "core::AudioEvent": 1105,
14
13
  "core::AudioSource": 1020,
15
14
  "core::AudioStream": 1021,
@@ -17,7 +16,6 @@ exports.coreComponentMappings = {
17
16
  "core::AvatarBase": 1087,
18
17
  "core::AvatarEmoteCommand": 1088,
19
18
  "core::AvatarEquippedData": 1091,
20
- "core::AvatarLocomotionSettings": 1211,
21
19
  "core::AvatarModifierArea": 1070,
22
20
  "core::AvatarShape": 1080,
23
21
  "core::Billboard": 1090,
@@ -2,7 +2,6 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
2
2
  export * from './index.gen';
3
3
  import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
4
4
  import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
5
- import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
6
5
  import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
7
6
  import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
8
7
  import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
@@ -10,7 +9,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
10
9
  import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
11
10
  import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
12
11
  import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
13
- import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
14
12
  import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
15
13
  import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
16
14
  import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
@@ -52,7 +50,6 @@ import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera
52
50
  import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
53
51
  /** @public */ export declare const AssetLoad: LastWriteWinElementSetComponentDefinition<PBAssetLoad>;
54
52
  /** @public */ export declare const AssetLoadLoadingState: GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>;
55
- /** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
56
53
  /** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
57
54
  /** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
58
55
  /** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
@@ -60,7 +57,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
60
57
  /** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
61
58
  /** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
62
59
  /** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
63
- /** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
64
60
  /** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
65
61
  /** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
66
62
  /** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
@@ -26,13 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarLocomotionSettings = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.AudioAnalysis = exports.AssetLoadLoadingState = exports.AssetLoad = void 0;
29
+ exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.AssetLoadLoadingState = exports.AssetLoad = void 0;
30
30
  const initialization_1 = require("../../runtime/initialization");
31
31
  const components = __importStar(require("./index.gen"));
32
32
  __exportStar(require("./index.gen"), exports);
33
33
  /** @public */ exports.AssetLoad = components.AssetLoad(initialization_1.engine);
34
34
  /** @public */ exports.AssetLoadLoadingState = components.AssetLoadLoadingState(initialization_1.engine);
35
- /** @public */ exports.AudioAnalysis = components.AudioAnalysis(initialization_1.engine);
36
35
  /** @public */ exports.AudioEvent = components.AudioEvent(initialization_1.engine);
37
36
  /** @public */ exports.AudioSource = components.AudioSource(initialization_1.engine);
38
37
  /** @public */ exports.AudioStream = components.AudioStream(initialization_1.engine);
@@ -40,7 +39,6 @@ __exportStar(require("./index.gen"), exports);
40
39
  /** @public */ exports.AvatarBase = components.AvatarBase(initialization_1.engine);
41
40
  /** @public */ exports.AvatarEmoteCommand = components.AvatarEmoteCommand(initialization_1.engine);
42
41
  /** @public */ exports.AvatarEquippedData = components.AvatarEquippedData(initialization_1.engine);
43
- /** @public */ exports.AvatarLocomotionSettings = components.AvatarLocomotionSettings(initialization_1.engine);
44
42
  /** @public */ exports.AvatarModifierArea = components.AvatarModifierArea(initialization_1.engine);
45
43
  /** @public */ exports.AvatarShape = components.AvatarShape(initialization_1.engine);
46
44
  /** @public */ exports.Billboard = components.Billboard(initialization_1.engine);
@@ -3,7 +3,6 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
3
3
  import { PBAnimator } from './pb/decentraland/sdk/components/animator.gen';
4
4
  import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
5
5
  import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
6
- import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
7
6
  import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
8
7
  import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
9
8
  import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
@@ -11,7 +10,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
11
10
  import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
12
11
  import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
13
12
  import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
14
- import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
15
13
  import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
16
14
  import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
17
15
  import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
@@ -58,7 +56,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
58
56
  export * from './pb/decentraland/sdk/components/animator.gen';
59
57
  export * from './pb/decentraland/sdk/components/asset_load.gen';
60
58
  export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
61
- export * from './pb/decentraland/sdk/components/audio_analysis.gen';
62
59
  export * from './pb/decentraland/sdk/components/audio_event.gen';
63
60
  export * from './pb/decentraland/sdk/components/audio_source.gen';
64
61
  export * from './pb/decentraland/sdk/components/audio_stream.gen';
@@ -66,7 +63,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
66
63
  export * from './pb/decentraland/sdk/components/avatar_base.gen';
67
64
  export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
68
65
  export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
69
- export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
70
66
  export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
71
67
  export * from './pb/decentraland/sdk/components/avatar_shape.gen';
72
68
  export * from './pb/decentraland/sdk/components/billboard.gen';
@@ -115,7 +111,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
115
111
  /** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
116
112
  /** @public */ export declare const AssetLoad: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
117
113
  /** @public */ export declare const AssetLoadLoadingState: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
118
- /** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
119
114
  /** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
120
115
  /** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
121
116
  /** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -123,7 +118,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
123
118
  /** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
124
119
  /** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
125
120
  /** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
126
- /** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
127
121
  /** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
128
122
  /** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
129
123
  /** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -172,7 +166,6 @@ export declare const componentDefinitionByName: {
172
166
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
173
167
  "core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
174
168
  "core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
175
- "core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
176
169
  "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
177
170
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
178
171
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -180,7 +173,6 @@ export declare const componentDefinitionByName: {
180
173
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
181
174
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
182
175
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
183
- "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
184
176
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
185
177
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
186
178
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -14,12 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.Tween = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MeshRenderer = exports.MeshCollider = exports.Material = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarLocomotionSettings = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.AudioAnalysis = exports.AssetLoadLoadingState = exports.AssetLoad = exports.Animator = void 0;
18
- exports.componentDefinitionByName = exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = void 0;
17
+ exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.Tween = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MeshRenderer = exports.MeshCollider = exports.Material = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.AssetLoadLoadingState = exports.AssetLoad = exports.Animator = void 0;
18
+ exports.componentDefinitionByName = exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = void 0;
19
19
  const Animator_gen_1 = require("./Animator.gen");
20
20
  const AssetLoad_gen_1 = require("./AssetLoad.gen");
21
21
  const AssetLoadLoadingState_gen_1 = require("./AssetLoadLoadingState.gen");
22
- const AudioAnalysis_gen_1 = require("./AudioAnalysis.gen");
23
22
  const AudioEvent_gen_1 = require("./AudioEvent.gen");
24
23
  const AudioSource_gen_1 = require("./AudioSource.gen");
25
24
  const AudioStream_gen_1 = require("./AudioStream.gen");
@@ -27,7 +26,6 @@ const AvatarAttach_gen_1 = require("./AvatarAttach.gen");
27
26
  const AvatarBase_gen_1 = require("./AvatarBase.gen");
28
27
  const AvatarEmoteCommand_gen_1 = require("./AvatarEmoteCommand.gen");
29
28
  const AvatarEquippedData_gen_1 = require("./AvatarEquippedData.gen");
30
- const AvatarLocomotionSettings_gen_1 = require("./AvatarLocomotionSettings.gen");
31
29
  const AvatarModifierArea_gen_1 = require("./AvatarModifierArea.gen");
32
30
  const AvatarShape_gen_1 = require("./AvatarShape.gen");
33
31
  const Billboard_gen_1 = require("./Billboard.gen");
@@ -74,7 +72,6 @@ const VisibilityComponent_gen_1 = require("./VisibilityComponent.gen");
74
72
  __exportStar(require("./pb/decentraland/sdk/components/animator.gen"), exports);
75
73
  __exportStar(require("./pb/decentraland/sdk/components/asset_load.gen"), exports);
76
74
  __exportStar(require("./pb/decentraland/sdk/components/asset_load_loading_state.gen"), exports);
77
- __exportStar(require("./pb/decentraland/sdk/components/audio_analysis.gen"), exports);
78
75
  __exportStar(require("./pb/decentraland/sdk/components/audio_event.gen"), exports);
79
76
  __exportStar(require("./pb/decentraland/sdk/components/audio_source.gen"), exports);
80
77
  __exportStar(require("./pb/decentraland/sdk/components/audio_stream.gen"), exports);
@@ -82,7 +79,6 @@ __exportStar(require("./pb/decentraland/sdk/components/avatar_attach.gen"), expo
82
79
  __exportStar(require("./pb/decentraland/sdk/components/avatar_base.gen"), exports);
83
80
  __exportStar(require("./pb/decentraland/sdk/components/avatar_emote_command.gen"), exports);
84
81
  __exportStar(require("./pb/decentraland/sdk/components/avatar_equipped_data.gen"), exports);
85
- __exportStar(require("./pb/decentraland/sdk/components/avatar_locomotion_settings.gen"), exports);
86
82
  __exportStar(require("./pb/decentraland/sdk/components/avatar_modifier_area.gen"), exports);
87
83
  __exportStar(require("./pb/decentraland/sdk/components/avatar_shape.gen"), exports);
88
84
  __exportStar(require("./pb/decentraland/sdk/components/billboard.gen"), exports);
@@ -137,9 +133,6 @@ exports.AssetLoad = AssetLoad;
137
133
  maxElements: 100
138
134
  });
139
135
  exports.AssetLoadLoadingState = AssetLoadLoadingState;
140
- /** @public */ const AudioAnalysis = engine =>
141
- /* @__PURE__ */ engine.defineComponentFromSchema("core::AudioAnalysis", AudioAnalysis_gen_1.AudioAnalysisSchema);
142
- exports.AudioAnalysis = AudioAnalysis;
143
136
  /** @public */ const AudioEvent = (engine) => /* @__PURE__ */ engine.defineValueSetComponentFromSchema("core::AudioEvent", AudioEvent_gen_1.AudioEventSchema, {
144
137
  timestampFunction: (t) => t.timestamp,
145
138
  maxElements: 100
@@ -165,9 +158,6 @@ exports.AvatarEmoteCommand = AvatarEmoteCommand;
165
158
  /** @public */ const AvatarEquippedData = engine =>
166
159
  /* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarEquippedData", AvatarEquippedData_gen_1.AvatarEquippedDataSchema);
167
160
  exports.AvatarEquippedData = AvatarEquippedData;
168
- /** @public */ const AvatarLocomotionSettings = engine =>
169
- /* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarLocomotionSettings", AvatarLocomotionSettings_gen_1.AvatarLocomotionSettingsSchema);
170
- exports.AvatarLocomotionSettings = AvatarLocomotionSettings;
171
161
  /** @public */ const AvatarModifierArea = engine =>
172
162
  /* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarModifierArea", AvatarModifierArea_gen_1.AvatarModifierAreaSchema);
173
163
  exports.AvatarModifierArea = AvatarModifierArea;
@@ -308,7 +298,6 @@ exports.componentDefinitionByName = {
308
298
  "core::Animator": exports.Animator,
309
299
  "core::AssetLoad": exports.AssetLoad,
310
300
  "core::AssetLoadLoadingState": exports.AssetLoadLoadingState,
311
- "core::AudioAnalysis": exports.AudioAnalysis,
312
301
  "core::AudioEvent": exports.AudioEvent,
313
302
  "core::AudioSource": exports.AudioSource,
314
303
  "core::AudioStream": exports.AudioStream,
@@ -316,7 +305,6 @@ exports.componentDefinitionByName = {
316
305
  "core::AvatarBase": exports.AvatarBase,
317
306
  "core::AvatarEmoteCommand": exports.AvatarEmoteCommand,
318
307
  "core::AvatarEquippedData": exports.AvatarEquippedData,
319
- "core::AvatarLocomotionSettings": exports.AvatarLocomotionSettings,
320
308
  "core::AvatarModifierArea": exports.AvatarModifierArea,
321
309
  "core::AvatarShape": exports.AvatarShape,
322
310
  "core::Billboard": exports.Billboard,
@@ -15,8 +15,7 @@ export declare const enum InputAction {
15
15
  IA_ACTION_3 = 10,
16
16
  IA_ACTION_4 = 11,
17
17
  IA_ACTION_5 = 12,
18
- IA_ACTION_6 = 13,
19
- IA_MODIFIER = 14
18
+ IA_ACTION_6 = 13
20
19
  }
21
20
  /** PointerEventType is a kind of interaction that can be detected. */
22
21
  /**
@@ -26,14 +25,5 @@ export declare const enum PointerEventType {
26
25
  PET_UP = 0,
27
26
  PET_DOWN = 1,
28
27
  PET_HOVER_ENTER = 2,
29
- PET_HOVER_LEAVE = 3,
30
- PET_PROXIMITY_ENTER = 4,
31
- PET_PROXIMITY_LEAVE = 5
32
- }
33
- /**
34
- * @public
35
- */
36
- export declare const enum InteractionType {
37
- CURSOR = 0,
38
- PROXIMITY = 1
28
+ PET_HOVER_LEAVE = 3
39
29
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /* eslint-disable */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.InteractionType = exports.PointerEventType = exports.InputAction = void 0;
4
+ exports.PointerEventType = exports.InputAction = void 0;
5
5
  const protobufPackageSarasa = "decentraland.sdk.components.common";
6
6
  /**
7
7
  * @public
@@ -22,7 +22,6 @@ var InputAction;
22
22
  InputAction[InputAction["IA_ACTION_4"] = 11] = "IA_ACTION_4";
23
23
  InputAction[InputAction["IA_ACTION_5"] = 12] = "IA_ACTION_5";
24
24
  InputAction[InputAction["IA_ACTION_6"] = 13] = "IA_ACTION_6";
25
- InputAction[InputAction["IA_MODIFIER"] = 14] = "IA_MODIFIER";
26
25
  })(InputAction = exports.InputAction || (exports.InputAction = {}));
27
26
  /** PointerEventType is a kind of interaction that can be detected. */
28
27
  /**
@@ -34,14 +33,4 @@ var PointerEventType;
34
33
  PointerEventType[PointerEventType["PET_DOWN"] = 1] = "PET_DOWN";
35
34
  PointerEventType[PointerEventType["PET_HOVER_ENTER"] = 2] = "PET_HOVER_ENTER";
36
35
  PointerEventType[PointerEventType["PET_HOVER_LEAVE"] = 3] = "PET_HOVER_LEAVE";
37
- PointerEventType[PointerEventType["PET_PROXIMITY_ENTER"] = 4] = "PET_PROXIMITY_ENTER";
38
- PointerEventType[PointerEventType["PET_PROXIMITY_LEAVE"] = 5] = "PET_PROXIMITY_LEAVE";
39
36
  })(PointerEventType = exports.PointerEventType || (exports.PointerEventType = {}));
40
- /**
41
- * @public
42
- */
43
- var InteractionType;
44
- (function (InteractionType) {
45
- InteractionType[InteractionType["CURSOR"] = 0] = "CURSOR";
46
- InteractionType[InteractionType["PROXIMITY"] = 1] = "PROXIMITY";
47
- })(InteractionType = exports.InteractionType || (exports.InteractionType = {}));
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { InputAction, InteractionType, PointerEventType } from "./common/input_action.gen";
2
+ import { InputAction, PointerEventType } from "./common/input_action.gen";
3
3
  /**
4
4
  * PointerEvents adds configurable pointer-based interactions to the attached Entity.
5
5
  *
@@ -61,8 +61,6 @@ export interface PBPointerEvents_Info {
61
61
  showHighlight?: boolean | undefined;
62
62
  /** range of interaction from the avatar's position (default 0) */
63
63
  maxPlayerDistance?: number | undefined;
64
- /** resolution order when multiple events overlap, higher wins (default 0) */
65
- priority?: number | undefined;
66
64
  }
67
65
  /**
68
66
  * @public
@@ -72,8 +70,6 @@ export interface PBPointerEvents_Entry {
72
70
  eventType: PointerEventType;
73
71
  /** additional configuration for this detection */
74
72
  eventInfo: PBPointerEvents_Info | undefined;
75
- /** the type of interaction source (default 0 == CURSOR) */
76
- interactionType?: InteractionType | undefined;
77
73
  }
78
74
  /**
79
75
  * @public
@@ -53,7 +53,6 @@ function createBasePBPointerEvents_Info() {
53
53
  showFeedback: undefined,
54
54
  showHighlight: undefined,
55
55
  maxPlayerDistance: undefined,
56
- priority: undefined,
57
56
  };
58
57
  }
59
58
  /**
@@ -80,9 +79,6 @@ var PBPointerEvents_Info;
80
79
  if (message.maxPlayerDistance !== undefined) {
81
80
  writer.uint32(53).float(message.maxPlayerDistance);
82
81
  }
83
- if (message.priority !== undefined) {
84
- writer.uint32(56).uint32(message.priority);
85
- }
86
82
  return writer;
87
83
  }
88
84
  PBPointerEvents_Info.encode = encode;
@@ -129,12 +125,6 @@ var PBPointerEvents_Info;
129
125
  }
130
126
  message.maxPlayerDistance = reader.float();
131
127
  continue;
132
- case 7:
133
- if (tag !== 56) {
134
- break;
135
- }
136
- message.priority = reader.uint32();
137
- continue;
138
128
  }
139
129
  if ((tag & 7) === 4 || tag === 0) {
140
130
  break;
@@ -146,7 +136,7 @@ var PBPointerEvents_Info;
146
136
  PBPointerEvents_Info.decode = decode;
147
137
  })(PBPointerEvents_Info = exports.PBPointerEvents_Info || (exports.PBPointerEvents_Info = {}));
148
138
  function createBasePBPointerEvents_Entry() {
149
- return { eventType: 0, eventInfo: undefined, interactionType: undefined };
139
+ return { eventType: 0, eventInfo: undefined };
150
140
  }
151
141
  /**
152
142
  * @public
@@ -160,9 +150,6 @@ var PBPointerEvents_Entry;
160
150
  if (message.eventInfo !== undefined) {
161
151
  PBPointerEvents_Info.encode(message.eventInfo, writer.uint32(18).fork()).ldelim();
162
152
  }
163
- if (message.interactionType !== undefined) {
164
- writer.uint32(24).int32(message.interactionType);
165
- }
166
153
  return writer;
167
154
  }
168
155
  PBPointerEvents_Entry.encode = encode;
@@ -185,12 +172,6 @@ var PBPointerEvents_Entry;
185
172
  }
186
173
  message.eventInfo = PBPointerEvents_Info.decode(reader, reader.uint32());
187
174
  continue;
188
- case 3:
189
- if (tag !== 24) {
190
- break;
191
- }
192
- message.interactionType = reader.int32();
193
- continue;
194
175
  }
195
176
  if ((tag & 7) === 4 || tag === 0) {
196
177
  break;