@dcl/protocol 1.0.0-22578238676.commit-38e6cb5 → 1.0.0-22583117520.commit-28394c4
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/out-js/decentraland/common/texture.gen.d.ts +0 -18
- package/out-js/decentraland/common/texture.gen.js +4 -104
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -70
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -228
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -24
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
- package/out-js/decentraland/sdk/components/material.gen.js +2 -86
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
- package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-ts/decentraland/common/texture.gen.ts +4 -119
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -242
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -24
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
- package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/package.json +3 -6
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -22
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
- package/proto/decentraland/sdk/components/common/input_action.proto +0 -4
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/material.proto +1 -13
- package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
- package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
- package/proto/decentraland/sdk/components/raycast.proto +0 -13
- package/proto/decentraland/sdk/components/ui_text.proto +0 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/public/sdk-components.proto +0 -4
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -34
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -101
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -44
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -178
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -50
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -207
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -119
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -210
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -235
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
- package/proto/decentraland/sdk/components/avatar_movement.proto +0 -45
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -20
- package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
- package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
- package/proto/decentraland/sdk/components/global_light.proto +0 -22
- package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
- package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
- package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
- package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
|
@@ -9,8 +9,6 @@ import public "decentraland/sdk/components/avatar_base.proto";
|
|
|
9
9
|
import public "decentraland/sdk/components/avatar_emote_command.proto";
|
|
10
10
|
import public "decentraland/sdk/components/avatar_equipped_data.proto";
|
|
11
11
|
import public "decentraland/sdk/components/avatar_modifier_area.proto";
|
|
12
|
-
import public "decentraland/sdk/components/avatar_movement.proto";
|
|
13
|
-
import public "decentraland/sdk/components/avatar_movement_info.proto";
|
|
14
12
|
import public "decentraland/sdk/components/avatar_shape.proto";
|
|
15
13
|
import public "decentraland/sdk/components/billboard.proto";
|
|
16
14
|
import public "decentraland/sdk/components/camera_mode_area.proto";
|
|
@@ -19,8 +17,6 @@ import public "decentraland/sdk/components/engine_info.proto";
|
|
|
19
17
|
import public "decentraland/sdk/components/gltf_container.proto";
|
|
20
18
|
import public "decentraland/sdk/components/gltf_node_modifiers.proto";
|
|
21
19
|
import public "decentraland/sdk/components/gltf_container_loading_state.proto";
|
|
22
|
-
import public "decentraland/sdk/components/gltf_node.proto";
|
|
23
|
-
import public "decentraland/sdk/components/gltf_node_state.proto";
|
|
24
20
|
import public "decentraland/sdk/components/material.proto";
|
|
25
21
|
import public "decentraland/sdk/components/mesh_collider.proto";
|
|
26
22
|
import public "decentraland/sdk/components/mesh_renderer.proto";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
-
/**
|
|
4
|
-
* The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
|
|
5
|
-
* as the avatar movement speed, jump height etc.
|
|
6
|
-
*/
|
|
7
|
-
export interface PBAvatarLocomotionSettings {
|
|
8
|
-
/** Maximum speed when walking (in meters per second) */
|
|
9
|
-
walkSpeed?: number | undefined;
|
|
10
|
-
/** Maximum speed when jogging (in meters per second) */
|
|
11
|
-
jogSpeed?: number | undefined;
|
|
12
|
-
/** Maximum speed when running (in meters per second) */
|
|
13
|
-
runSpeed?: number | undefined;
|
|
14
|
-
/** Height of a regular jump (in meters) */
|
|
15
|
-
jumpHeight?: number | undefined;
|
|
16
|
-
/** Height of a jump while running (in meters) */
|
|
17
|
-
runJumpHeight?: number | undefined;
|
|
18
|
-
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
19
|
-
hardLandingCooldown?: number | undefined;
|
|
20
|
-
}
|
|
21
|
-
export declare namespace PBAvatarLocomotionSettings {
|
|
22
|
-
function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
24
|
-
function fromJSON(object: any): PBAvatarLocomotionSettings;
|
|
25
|
-
function toJSON(message: PBAvatarLocomotionSettings): unknown;
|
|
26
|
-
function create<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(base?: I): PBAvatarLocomotionSettings;
|
|
27
|
-
function fromPartial<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(object: I): PBAvatarLocomotionSettings;
|
|
28
|
-
}
|
|
29
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
31
|
-
$case: string;
|
|
32
|
-
} ? {
|
|
33
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
34
|
-
} & {
|
|
35
|
-
$case: T["$case"];
|
|
36
|
-
} : T extends {} ? {
|
|
37
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
38
|
-
} : Partial<T>;
|
|
39
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
40
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
41
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
42
|
-
} & {
|
|
43
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PBAvatarLocomotionSettings = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
-
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
-
function createBasePBAvatarLocomotionSettings() {
|
|
11
|
-
return {
|
|
12
|
-
walkSpeed: undefined,
|
|
13
|
-
jogSpeed: undefined,
|
|
14
|
-
runSpeed: undefined,
|
|
15
|
-
jumpHeight: undefined,
|
|
16
|
-
runJumpHeight: undefined,
|
|
17
|
-
hardLandingCooldown: undefined,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
var PBAvatarLocomotionSettings;
|
|
21
|
-
(function (PBAvatarLocomotionSettings) {
|
|
22
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
23
|
-
if (message.walkSpeed !== undefined) {
|
|
24
|
-
writer.uint32(13).float(message.walkSpeed);
|
|
25
|
-
}
|
|
26
|
-
if (message.jogSpeed !== undefined) {
|
|
27
|
-
writer.uint32(21).float(message.jogSpeed);
|
|
28
|
-
}
|
|
29
|
-
if (message.runSpeed !== undefined) {
|
|
30
|
-
writer.uint32(29).float(message.runSpeed);
|
|
31
|
-
}
|
|
32
|
-
if (message.jumpHeight !== undefined) {
|
|
33
|
-
writer.uint32(37).float(message.jumpHeight);
|
|
34
|
-
}
|
|
35
|
-
if (message.runJumpHeight !== undefined) {
|
|
36
|
-
writer.uint32(45).float(message.runJumpHeight);
|
|
37
|
-
}
|
|
38
|
-
if (message.hardLandingCooldown !== undefined) {
|
|
39
|
-
writer.uint32(53).float(message.hardLandingCooldown);
|
|
40
|
-
}
|
|
41
|
-
return writer;
|
|
42
|
-
}
|
|
43
|
-
PBAvatarLocomotionSettings.encode = encode;
|
|
44
|
-
function decode(input, length) {
|
|
45
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
46
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
47
|
-
const message = createBasePBAvatarLocomotionSettings();
|
|
48
|
-
while (reader.pos < end) {
|
|
49
|
-
const tag = reader.uint32();
|
|
50
|
-
switch (tag >>> 3) {
|
|
51
|
-
case 1:
|
|
52
|
-
if (tag !== 13) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.walkSpeed = reader.float();
|
|
56
|
-
continue;
|
|
57
|
-
case 2:
|
|
58
|
-
if (tag !== 21) {
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
message.jogSpeed = reader.float();
|
|
62
|
-
continue;
|
|
63
|
-
case 3:
|
|
64
|
-
if (tag !== 29) {
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
message.runSpeed = reader.float();
|
|
68
|
-
continue;
|
|
69
|
-
case 4:
|
|
70
|
-
if (tag !== 37) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
message.jumpHeight = reader.float();
|
|
74
|
-
continue;
|
|
75
|
-
case 5:
|
|
76
|
-
if (tag !== 45) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
message.runJumpHeight = reader.float();
|
|
80
|
-
continue;
|
|
81
|
-
case 6:
|
|
82
|
-
if (tag !== 53) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.hardLandingCooldown = reader.float();
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
reader.skipType(tag & 7);
|
|
92
|
-
}
|
|
93
|
-
return message;
|
|
94
|
-
}
|
|
95
|
-
PBAvatarLocomotionSettings.decode = decode;
|
|
96
|
-
function fromJSON(object) {
|
|
97
|
-
return {
|
|
98
|
-
walkSpeed: isSet(object.walkSpeed) ? Number(object.walkSpeed) : undefined,
|
|
99
|
-
jogSpeed: isSet(object.jogSpeed) ? Number(object.jogSpeed) : undefined,
|
|
100
|
-
runSpeed: isSet(object.runSpeed) ? Number(object.runSpeed) : undefined,
|
|
101
|
-
jumpHeight: isSet(object.jumpHeight) ? Number(object.jumpHeight) : undefined,
|
|
102
|
-
runJumpHeight: isSet(object.runJumpHeight) ? Number(object.runJumpHeight) : undefined,
|
|
103
|
-
hardLandingCooldown: isSet(object.hardLandingCooldown) ? Number(object.hardLandingCooldown) : undefined,
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
PBAvatarLocomotionSettings.fromJSON = fromJSON;
|
|
107
|
-
function toJSON(message) {
|
|
108
|
-
const obj = {};
|
|
109
|
-
message.walkSpeed !== undefined && (obj.walkSpeed = message.walkSpeed);
|
|
110
|
-
message.jogSpeed !== undefined && (obj.jogSpeed = message.jogSpeed);
|
|
111
|
-
message.runSpeed !== undefined && (obj.runSpeed = message.runSpeed);
|
|
112
|
-
message.jumpHeight !== undefined && (obj.jumpHeight = message.jumpHeight);
|
|
113
|
-
message.runJumpHeight !== undefined && (obj.runJumpHeight = message.runJumpHeight);
|
|
114
|
-
message.hardLandingCooldown !== undefined && (obj.hardLandingCooldown = message.hardLandingCooldown);
|
|
115
|
-
return obj;
|
|
116
|
-
}
|
|
117
|
-
PBAvatarLocomotionSettings.toJSON = toJSON;
|
|
118
|
-
function create(base) {
|
|
119
|
-
return PBAvatarLocomotionSettings.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
120
|
-
}
|
|
121
|
-
PBAvatarLocomotionSettings.create = create;
|
|
122
|
-
function fromPartial(object) {
|
|
123
|
-
var _a, _b, _c, _d, _e, _f;
|
|
124
|
-
const message = createBasePBAvatarLocomotionSettings();
|
|
125
|
-
message.walkSpeed = (_a = object.walkSpeed) !== null && _a !== void 0 ? _a : undefined;
|
|
126
|
-
message.jogSpeed = (_b = object.jogSpeed) !== null && _b !== void 0 ? _b : undefined;
|
|
127
|
-
message.runSpeed = (_c = object.runSpeed) !== null && _c !== void 0 ? _c : undefined;
|
|
128
|
-
message.jumpHeight = (_d = object.jumpHeight) !== null && _d !== void 0 ? _d : undefined;
|
|
129
|
-
message.runJumpHeight = (_e = object.runJumpHeight) !== null && _e !== void 0 ? _e : undefined;
|
|
130
|
-
message.hardLandingCooldown = (_f = object.hardLandingCooldown) !== null && _f !== void 0 ? _f : undefined;
|
|
131
|
-
return message;
|
|
132
|
-
}
|
|
133
|
-
PBAvatarLocomotionSettings.fromPartial = fromPartial;
|
|
134
|
-
})(PBAvatarLocomotionSettings || (exports.PBAvatarLocomotionSettings = PBAvatarLocomotionSettings = {}));
|
|
135
|
-
function isSet(value) {
|
|
136
|
-
return value !== null && value !== undefined;
|
|
137
|
-
}
|
|
138
|
-
//# sourceMappingURL=avatar_locomotion_settings.gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar_locomotion_settings.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA+B7D,SAAS,oCAAoC;IAC3C,OAAO;QACL,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,mBAAmB,EAAE,SAAS;KAC/B,CAAC;AACJ,CAAC;AAED,IAAiB,0BAA0B,CAyH1C;AAzHD,WAAiB,0BAA0B;IACzC,SAAgB,MAAM,CAAC,OAAmC,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAClG,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS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G,MAAA,MAAM,CAAC,mBAAmB,mCAAI,SAAS,CAAC;QACtE,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sCAAW,cAW1B,CAAA;AACH,CAAC,EAzHgB,0BAA0B,0CAA1B,0BAA0B,QAyH1C;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Vector3 } from "../../common/vectors.gen";
|
|
3
|
-
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
-
export interface PBAvatarMovement {
|
|
5
|
-
velocity: Vector3 | undefined;
|
|
6
|
-
/** 0-360, we don't allow pitch/roll */
|
|
7
|
-
orientation: number;
|
|
8
|
-
groundDirection?: Vector3 | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace PBAvatarMovement {
|
|
11
|
-
function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
13
|
-
function fromJSON(object: any): PBAvatarMovement;
|
|
14
|
-
function toJSON(message: PBAvatarMovement): unknown;
|
|
15
|
-
function create<I extends Exact<DeepPartial<PBAvatarMovement>, I>>(base?: I): PBAvatarMovement;
|
|
16
|
-
function fromPartial<I extends Exact<DeepPartial<PBAvatarMovement>, I>>(object: I): PBAvatarMovement;
|
|
17
|
-
}
|
|
18
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
19
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
20
|
-
$case: string;
|
|
21
|
-
} ? {
|
|
22
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
23
|
-
} & {
|
|
24
|
-
$case: T["$case"];
|
|
25
|
-
} : T extends {} ? {
|
|
26
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
-
} : Partial<T>;
|
|
28
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
-
} & {
|
|
32
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
-
};
|
|
34
|
-
export {};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PBAvatarMovement = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
-
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
10
|
-
exports.protobufPackage = "decentraland.sdk.components";
|
|
11
|
-
function createBasePBAvatarMovement() {
|
|
12
|
-
return { velocity: undefined, orientation: 0, groundDirection: undefined };
|
|
13
|
-
}
|
|
14
|
-
var PBAvatarMovement;
|
|
15
|
-
(function (PBAvatarMovement) {
|
|
16
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
17
|
-
if (message.velocity !== undefined) {
|
|
18
|
-
vectors_gen_1.Vector3.encode(message.velocity, writer.uint32(10).fork()).ldelim();
|
|
19
|
-
}
|
|
20
|
-
if (message.orientation !== 0) {
|
|
21
|
-
writer.uint32(21).float(message.orientation);
|
|
22
|
-
}
|
|
23
|
-
if (message.groundDirection !== undefined) {
|
|
24
|
-
vectors_gen_1.Vector3.encode(message.groundDirection, writer.uint32(26).fork()).ldelim();
|
|
25
|
-
}
|
|
26
|
-
return writer;
|
|
27
|
-
}
|
|
28
|
-
PBAvatarMovement.encode = encode;
|
|
29
|
-
function decode(input, length) {
|
|
30
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
31
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
-
const message = createBasePBAvatarMovement();
|
|
33
|
-
while (reader.pos < end) {
|
|
34
|
-
const tag = reader.uint32();
|
|
35
|
-
switch (tag >>> 3) {
|
|
36
|
-
case 1:
|
|
37
|
-
if (tag !== 10) {
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
message.velocity = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
41
|
-
continue;
|
|
42
|
-
case 2:
|
|
43
|
-
if (tag !== 21) {
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
message.orientation = reader.float();
|
|
47
|
-
continue;
|
|
48
|
-
case 3:
|
|
49
|
-
if (tag !== 26) {
|
|
50
|
-
break;
|
|
51
|
-
}
|
|
52
|
-
message.groundDirection = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
53
|
-
continue;
|
|
54
|
-
}
|
|
55
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
reader.skipType(tag & 7);
|
|
59
|
-
}
|
|
60
|
-
return message;
|
|
61
|
-
}
|
|
62
|
-
PBAvatarMovement.decode = decode;
|
|
63
|
-
function fromJSON(object) {
|
|
64
|
-
return {
|
|
65
|
-
velocity: isSet(object.velocity) ? vectors_gen_1.Vector3.fromJSON(object.velocity) : undefined,
|
|
66
|
-
orientation: isSet(object.orientation) ? Number(object.orientation) : 0,
|
|
67
|
-
groundDirection: isSet(object.groundDirection) ? vectors_gen_1.Vector3.fromJSON(object.groundDirection) : undefined,
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
PBAvatarMovement.fromJSON = fromJSON;
|
|
71
|
-
function toJSON(message) {
|
|
72
|
-
const obj = {};
|
|
73
|
-
message.velocity !== undefined && (obj.velocity = message.velocity ? vectors_gen_1.Vector3.toJSON(message.velocity) : undefined);
|
|
74
|
-
message.orientation !== undefined && (obj.orientation = message.orientation);
|
|
75
|
-
message.groundDirection !== undefined &&
|
|
76
|
-
(obj.groundDirection = message.groundDirection ? vectors_gen_1.Vector3.toJSON(message.groundDirection) : undefined);
|
|
77
|
-
return obj;
|
|
78
|
-
}
|
|
79
|
-
PBAvatarMovement.toJSON = toJSON;
|
|
80
|
-
function create(base) {
|
|
81
|
-
return PBAvatarMovement.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
82
|
-
}
|
|
83
|
-
PBAvatarMovement.create = create;
|
|
84
|
-
function fromPartial(object) {
|
|
85
|
-
var _a;
|
|
86
|
-
const message = createBasePBAvatarMovement();
|
|
87
|
-
message.velocity = (object.velocity !== undefined && object.velocity !== null)
|
|
88
|
-
? vectors_gen_1.Vector3.fromPartial(object.velocity)
|
|
89
|
-
: undefined;
|
|
90
|
-
message.orientation = (_a = object.orientation) !== null && _a !== void 0 ? _a : 0;
|
|
91
|
-
message.groundDirection = (object.groundDirection !== undefined && object.groundDirection !== null)
|
|
92
|
-
? vectors_gen_1.Vector3.fromPartial(object.groundDirection)
|
|
93
|
-
: undefined;
|
|
94
|
-
return message;
|
|
95
|
-
}
|
|
96
|
-
PBAvatarMovement.fromPartial = fromPartial;
|
|
97
|
-
})(PBAvatarMovement || (exports.PBAvatarMovement = PBAvatarMovement = {}));
|
|
98
|
-
function isSet(value) {
|
|
99
|
-
return value !== null && value !== undefined;
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=avatar_movement.gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar_movement.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_movement.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,0DAAmD;AAEtC,QAAA,eAAe,GAAG,6B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AC,MAAM,CAAC,QAAQ,KAAK,SAAS,IAAI,MAAM,CAAC,QAAQ,KAAK,IAAI,CAAC;YAC5E,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC;YACtC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,WAAW,GAAG,MAAA,MAAM,CAAC,WAAW,mCAAI,CAAC,CAAC;QAC9C,OAAO,CAAC,eAAe,GAAG,CAAC,MAAM,CAAC,eAAe,KAAK,SAAS,IAAI,MAAM,CAAC,eAAe,KAAK,IAAI,CAAC;YACjG,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,eAAe,CAAC;YAC7C,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,4BAAW,cAU1B,CAAA;AACH,CAAC,EAnFgB,gBAAgB,gCAAhB,gBAAgB,QAmFhC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Vector3 } from "../../common/vectors.gen";
|
|
3
|
-
import { PBAvatarLocomotionSettings } from "./avatar_locomotion_settings.gen";
|
|
4
|
-
import { PBInputModifier } from "./input_modifier.gen";
|
|
5
|
-
export declare const protobufPackage = "decentraland.sdk.components";
|
|
6
|
-
export interface PBAvatarMovementInfo {
|
|
7
|
-
/** the length of time the current step velocity will apply for */
|
|
8
|
-
stepTime: number;
|
|
9
|
-
/** the length of time the previous step velocity applied for */
|
|
10
|
-
previousStepTime: number;
|
|
11
|
-
/** the velocity requested for the previous frame */
|
|
12
|
-
requestedVelocity: Vector3 | undefined;
|
|
13
|
-
/** the resulting velocity taking collisions into account */
|
|
14
|
-
actualVelocity: Vector3 | undefined;
|
|
15
|
-
/** the velocity imparted by movement of the "ground" platform or pushing from other moving colliders */
|
|
16
|
-
externalVelocity: Vector3 | undefined;
|
|
17
|
-
activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
|
|
18
|
-
activeInputModifier: PBInputModifier | undefined;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace PBAvatarMovementInfo {
|
|
21
|
-
function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
23
|
-
function fromJSON(object: any): PBAvatarMovementInfo;
|
|
24
|
-
function toJSON(message: PBAvatarMovementInfo): unknown;
|
|
25
|
-
function create<I extends Exact<DeepPartial<PBAvatarMovementInfo>, I>>(base?: I): PBAvatarMovementInfo;
|
|
26
|
-
function fromPartial<I extends Exact<DeepPartial<PBAvatarMovementInfo>, I>>(object: I): PBAvatarMovementInfo;
|
|
27
|
-
}
|
|
28
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
29
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
30
|
-
$case: string;
|
|
31
|
-
} ? {
|
|
32
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
33
|
-
} & {
|
|
34
|
-
$case: T["$case"];
|
|
35
|
-
} : T extends {} ? {
|
|
36
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
37
|
-
} : Partial<T>;
|
|
38
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
39
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
40
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
41
|
-
} & {
|
|
42
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
43
|
-
};
|
|
44
|
-
export {};
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PBAvatarMovementInfo = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
-
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
10
|
-
const avatar_locomotion_settings_gen_1 = require("./avatar_locomotion_settings.gen");
|
|
11
|
-
const input_modifier_gen_1 = require("./input_modifier.gen");
|
|
12
|
-
exports.protobufPackage = "decentraland.sdk.components";
|
|
13
|
-
function createBasePBAvatarMovementInfo() {
|
|
14
|
-
return {
|
|
15
|
-
stepTime: 0,
|
|
16
|
-
previousStepTime: 0,
|
|
17
|
-
requestedVelocity: undefined,
|
|
18
|
-
actualVelocity: undefined,
|
|
19
|
-
externalVelocity: undefined,
|
|
20
|
-
activeAvatarLocomotionSettings: undefined,
|
|
21
|
-
activeInputModifier: undefined,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
var PBAvatarMovementInfo;
|
|
25
|
-
(function (PBAvatarMovementInfo) {
|
|
26
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
27
|
-
if (message.stepTime !== 0) {
|
|
28
|
-
writer.uint32(13).float(message.stepTime);
|
|
29
|
-
}
|
|
30
|
-
if (message.previousStepTime !== 0) {
|
|
31
|
-
writer.uint32(21).float(message.previousStepTime);
|
|
32
|
-
}
|
|
33
|
-
if (message.requestedVelocity !== undefined) {
|
|
34
|
-
vectors_gen_1.Vector3.encode(message.requestedVelocity, writer.uint32(26).fork()).ldelim();
|
|
35
|
-
}
|
|
36
|
-
if (message.actualVelocity !== undefined) {
|
|
37
|
-
vectors_gen_1.Vector3.encode(message.actualVelocity, writer.uint32(34).fork()).ldelim();
|
|
38
|
-
}
|
|
39
|
-
if (message.externalVelocity !== undefined) {
|
|
40
|
-
vectors_gen_1.Vector3.encode(message.externalVelocity, writer.uint32(42).fork()).ldelim();
|
|
41
|
-
}
|
|
42
|
-
if (message.activeAvatarLocomotionSettings !== undefined) {
|
|
43
|
-
avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.encode(message.activeAvatarLocomotionSettings, writer.uint32(50).fork()).ldelim();
|
|
44
|
-
}
|
|
45
|
-
if (message.activeInputModifier !== undefined) {
|
|
46
|
-
input_modifier_gen_1.PBInputModifier.encode(message.activeInputModifier, writer.uint32(58).fork()).ldelim();
|
|
47
|
-
}
|
|
48
|
-
return writer;
|
|
49
|
-
}
|
|
50
|
-
PBAvatarMovementInfo.encode = encode;
|
|
51
|
-
function decode(input, length) {
|
|
52
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
53
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
54
|
-
const message = createBasePBAvatarMovementInfo();
|
|
55
|
-
while (reader.pos < end) {
|
|
56
|
-
const tag = reader.uint32();
|
|
57
|
-
switch (tag >>> 3) {
|
|
58
|
-
case 1:
|
|
59
|
-
if (tag !== 13) {
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
message.stepTime = reader.float();
|
|
63
|
-
continue;
|
|
64
|
-
case 2:
|
|
65
|
-
if (tag !== 21) {
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
message.previousStepTime = reader.float();
|
|
69
|
-
continue;
|
|
70
|
-
case 3:
|
|
71
|
-
if (tag !== 26) {
|
|
72
|
-
break;
|
|
73
|
-
}
|
|
74
|
-
message.requestedVelocity = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
75
|
-
continue;
|
|
76
|
-
case 4:
|
|
77
|
-
if (tag !== 34) {
|
|
78
|
-
break;
|
|
79
|
-
}
|
|
80
|
-
message.actualVelocity = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
81
|
-
continue;
|
|
82
|
-
case 5:
|
|
83
|
-
if (tag !== 42) {
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
message.externalVelocity = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
87
|
-
continue;
|
|
88
|
-
case 6:
|
|
89
|
-
if (tag !== 50) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
message.activeAvatarLocomotionSettings = avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.decode(reader, reader.uint32());
|
|
93
|
-
continue;
|
|
94
|
-
case 7:
|
|
95
|
-
if (tag !== 58) {
|
|
96
|
-
break;
|
|
97
|
-
}
|
|
98
|
-
message.activeInputModifier = input_modifier_gen_1.PBInputModifier.decode(reader, reader.uint32());
|
|
99
|
-
continue;
|
|
100
|
-
}
|
|
101
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
102
|
-
break;
|
|
103
|
-
}
|
|
104
|
-
reader.skipType(tag & 7);
|
|
105
|
-
}
|
|
106
|
-
return message;
|
|
107
|
-
}
|
|
108
|
-
PBAvatarMovementInfo.decode = decode;
|
|
109
|
-
function fromJSON(object) {
|
|
110
|
-
return {
|
|
111
|
-
stepTime: isSet(object.stepTime) ? Number(object.stepTime) : 0,
|
|
112
|
-
previousStepTime: isSet(object.previousStepTime) ? Number(object.previousStepTime) : 0,
|
|
113
|
-
requestedVelocity: isSet(object.requestedVelocity) ? vectors_gen_1.Vector3.fromJSON(object.requestedVelocity) : undefined,
|
|
114
|
-
actualVelocity: isSet(object.actualVelocity) ? vectors_gen_1.Vector3.fromJSON(object.actualVelocity) : undefined,
|
|
115
|
-
externalVelocity: isSet(object.externalVelocity) ? vectors_gen_1.Vector3.fromJSON(object.externalVelocity) : undefined,
|
|
116
|
-
activeAvatarLocomotionSettings: isSet(object.activeAvatarLocomotionSettings)
|
|
117
|
-
? avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.fromJSON(object.activeAvatarLocomotionSettings)
|
|
118
|
-
: undefined,
|
|
119
|
-
activeInputModifier: isSet(object.activeInputModifier)
|
|
120
|
-
? input_modifier_gen_1.PBInputModifier.fromJSON(object.activeInputModifier)
|
|
121
|
-
: undefined,
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
PBAvatarMovementInfo.fromJSON = fromJSON;
|
|
125
|
-
function toJSON(message) {
|
|
126
|
-
const obj = {};
|
|
127
|
-
message.stepTime !== undefined && (obj.stepTime = message.stepTime);
|
|
128
|
-
message.previousStepTime !== undefined && (obj.previousStepTime = message.previousStepTime);
|
|
129
|
-
message.requestedVelocity !== undefined &&
|
|
130
|
-
(obj.requestedVelocity = message.requestedVelocity ? vectors_gen_1.Vector3.toJSON(message.requestedVelocity) : undefined);
|
|
131
|
-
message.actualVelocity !== undefined &&
|
|
132
|
-
(obj.actualVelocity = message.actualVelocity ? vectors_gen_1.Vector3.toJSON(message.actualVelocity) : undefined);
|
|
133
|
-
message.externalVelocity !== undefined &&
|
|
134
|
-
(obj.externalVelocity = message.externalVelocity ? vectors_gen_1.Vector3.toJSON(message.externalVelocity) : undefined);
|
|
135
|
-
message.activeAvatarLocomotionSettings !== undefined &&
|
|
136
|
-
(obj.activeAvatarLocomotionSettings = message.activeAvatarLocomotionSettings
|
|
137
|
-
? avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.toJSON(message.activeAvatarLocomotionSettings)
|
|
138
|
-
: undefined);
|
|
139
|
-
message.activeInputModifier !== undefined &&
|
|
140
|
-
(obj.activeInputModifier = message.activeInputModifier
|
|
141
|
-
? input_modifier_gen_1.PBInputModifier.toJSON(message.activeInputModifier)
|
|
142
|
-
: undefined);
|
|
143
|
-
return obj;
|
|
144
|
-
}
|
|
145
|
-
PBAvatarMovementInfo.toJSON = toJSON;
|
|
146
|
-
function create(base) {
|
|
147
|
-
return PBAvatarMovementInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
148
|
-
}
|
|
149
|
-
PBAvatarMovementInfo.create = create;
|
|
150
|
-
function fromPartial(object) {
|
|
151
|
-
var _a, _b;
|
|
152
|
-
const message = createBasePBAvatarMovementInfo();
|
|
153
|
-
message.stepTime = (_a = object.stepTime) !== null && _a !== void 0 ? _a : 0;
|
|
154
|
-
message.previousStepTime = (_b = object.previousStepTime) !== null && _b !== void 0 ? _b : 0;
|
|
155
|
-
message.requestedVelocity = (object.requestedVelocity !== undefined && object.requestedVelocity !== null)
|
|
156
|
-
? vectors_gen_1.Vector3.fromPartial(object.requestedVelocity)
|
|
157
|
-
: undefined;
|
|
158
|
-
message.actualVelocity = (object.actualVelocity !== undefined && object.actualVelocity !== null)
|
|
159
|
-
? vectors_gen_1.Vector3.fromPartial(object.actualVelocity)
|
|
160
|
-
: undefined;
|
|
161
|
-
message.externalVelocity = (object.externalVelocity !== undefined && object.externalVelocity !== null)
|
|
162
|
-
? vectors_gen_1.Vector3.fromPartial(object.externalVelocity)
|
|
163
|
-
: undefined;
|
|
164
|
-
message.activeAvatarLocomotionSettings =
|
|
165
|
-
(object.activeAvatarLocomotionSettings !== undefined && object.activeAvatarLocomotionSettings !== null)
|
|
166
|
-
? avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.fromPartial(object.activeAvatarLocomotionSettings)
|
|
167
|
-
: undefined;
|
|
168
|
-
message.activeInputModifier = (object.activeInputModifier !== undefined && object.activeInputModifier !== null)
|
|
169
|
-
? input_modifier_gen_1.PBInputModifier.fromPartial(object.activeInputModifier)
|
|
170
|
-
: undefined;
|
|
171
|
-
return message;
|
|
172
|
-
}
|
|
173
|
-
PBAvatarMovementInfo.fromPartial = fromPartial;
|
|
174
|
-
})(PBAvatarMovementInfo || (exports.PBAvatarMovementInfo = PBAvatarMovementInfo = {}));
|
|
175
|
-
function isSet(value) {
|
|
176
|
-
return value !== null && value !== undefined;
|
|
177
|
-
}
|
|
178
|
-
//# sourceMappingURL=avatar_movement_info.gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar_movement_info.gen.js","sourceRoot":"","sources":["../../../../out-ts/decent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