@dcl/protocol 1.0.0-4427886959.commit-6b9dcb5 → 1.0.0-4440731539.commit-a2174f5
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/border_rect.gen.d.ts +54 -0
- package/out-js/decentraland/common/border_rect.gen.js +87 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +82 -0
- package/out-js/decentraland/common/colors.gen.js +152 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +319 -0
- package/out-js/decentraland/common/texture.gen.js +384 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +184 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +172 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +96 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +56 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +78 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +65 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +115 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +100 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +137 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +192 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +210 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +59 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +114 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +59 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +84 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +71 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +39 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +20 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +111 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +58 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +3452 -0
- package/out-js/decentraland/sdk/components/material.gen.js +437 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +250 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +324 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +284 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +320 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +114 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +242 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +249 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +248 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +241 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +99 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +58 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +118 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +127 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +536 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +243 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +247 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +274 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +369 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +175 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +115 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +152 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +58 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +140 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +140 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +58 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +95 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +101 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +403 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1000 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +69 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +112 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +58 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +87384 -0
- package/out-js/google/protobuf/descriptor.gen.js +2645 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +108 -0
- package/out-ts/decentraland/common/colors.gen.ts +184 -0
- package/out-ts/decentraland/common/texture.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +229 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +141 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +109 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +147 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +172 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +140 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +81 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +106 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +36 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +108 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +82 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +546 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +403 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +395 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +275 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +316 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +124 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +159 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +315 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +385 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +199 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +194 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +75 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +75 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +140 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1104 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +76 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +2961 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/package.json +2 -2
- package/public/sdk-components.proto +33 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
|
4
|
+
export declare enum ColliderLayer {
|
|
5
|
+
/** CL_NONE - no collisions */
|
|
6
|
+
CL_NONE = 0,
|
|
7
|
+
/** CL_POINTER - collisions with the player's pointer ray (e.g. mouse cursor hovering) */
|
|
8
|
+
CL_POINTER = 1,
|
|
9
|
+
/** CL_PHYSICS - colission with Avatars */
|
|
10
|
+
CL_PHYSICS = 2,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare function colliderLayerFromJSON(object: any): ColliderLayer;
|
|
14
|
+
export declare function colliderLayerToJSON(object: ColliderLayer): string;
|
|
15
|
+
/**
|
|
16
|
+
* The MeshCollider component provides basic collision detection between Entities and Avatars. It
|
|
17
|
+
* can behave like a cube, a plane, a sphere or a cylinder.
|
|
18
|
+
*
|
|
19
|
+
* The Entity's Transform affects the MeshCollider, scaling it and rotating it appropriately. If
|
|
20
|
+
* the Transform for the collision mesh must be different than the Transform for rendering the Entity,
|
|
21
|
+
* two different Entities must be used.
|
|
22
|
+
*
|
|
23
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
|
24
|
+
*/
|
|
25
|
+
export interface PBMeshCollider {
|
|
26
|
+
/** enabled ColliderLayers (default CL_POINTER | CL_PHYSICS) */
|
|
27
|
+
collisionMask?: number | undefined;
|
|
28
|
+
mesh?: {
|
|
29
|
+
$case: "box";
|
|
30
|
+
box: PBMeshCollider_BoxMesh;
|
|
31
|
+
} | {
|
|
32
|
+
$case: "sphere";
|
|
33
|
+
sphere: PBMeshCollider_SphereMesh;
|
|
34
|
+
} | {
|
|
35
|
+
$case: "cylinder";
|
|
36
|
+
cylinder: PBMeshCollider_CylinderMesh;
|
|
37
|
+
} | {
|
|
38
|
+
$case: "plane";
|
|
39
|
+
plane: PBMeshCollider_PlaneMesh;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/** BoxMesh is a prism shape that contains the Entity. */
|
|
43
|
+
export interface PBMeshCollider_BoxMesh {
|
|
44
|
+
}
|
|
45
|
+
/** CylinderMesh is a truncated cone shape that contains the Entity. */
|
|
46
|
+
export interface PBMeshCollider_CylinderMesh {
|
|
47
|
+
/** (default 1.0) */
|
|
48
|
+
radiusTop?: number | undefined;
|
|
49
|
+
/** (default 1.0) */
|
|
50
|
+
radiusBottom?: number | undefined;
|
|
51
|
+
}
|
|
52
|
+
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
|
53
|
+
export interface PBMeshCollider_PlaneMesh {
|
|
54
|
+
}
|
|
55
|
+
/** SphereMesh is a sphere shape that contains the Entity. */
|
|
56
|
+
export interface PBMeshCollider_SphereMesh {
|
|
57
|
+
}
|
|
58
|
+
export declare const PBMeshCollider: {
|
|
59
|
+
encode(message: PBMeshCollider, writer?: _m0.Writer): _m0.Writer;
|
|
60
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider;
|
|
61
|
+
fromJSON(object: any): PBMeshCollider;
|
|
62
|
+
toJSON(message: PBMeshCollider): unknown;
|
|
63
|
+
create<I extends {
|
|
64
|
+
collisionMask?: number | undefined;
|
|
65
|
+
mesh?: ({
|
|
66
|
+
box?: {} | undefined;
|
|
67
|
+
} & {
|
|
68
|
+
$case: "box";
|
|
69
|
+
}) | ({
|
|
70
|
+
sphere?: {} | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
$case: "sphere";
|
|
73
|
+
}) | ({
|
|
74
|
+
cylinder?: {
|
|
75
|
+
radiusTop?: number | undefined;
|
|
76
|
+
radiusBottom?: number | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
} & {
|
|
79
|
+
$case: "cylinder";
|
|
80
|
+
}) | ({
|
|
81
|
+
plane?: {} | undefined;
|
|
82
|
+
} & {
|
|
83
|
+
$case: "plane";
|
|
84
|
+
}) | undefined;
|
|
85
|
+
} & {
|
|
86
|
+
collisionMask?: number | undefined;
|
|
87
|
+
mesh?: ({
|
|
88
|
+
box?: {} | undefined;
|
|
89
|
+
} & {
|
|
90
|
+
$case: "box";
|
|
91
|
+
} & {
|
|
92
|
+
box?: ({} & {} & { [K in Exclude<keyof I["mesh"]["box"], never>]: never; }) | undefined;
|
|
93
|
+
$case: "box";
|
|
94
|
+
} & { [K_1 in Exclude<keyof I["mesh"], "$case" | "box">]: never; }) | ({
|
|
95
|
+
sphere?: {} | undefined;
|
|
96
|
+
} & {
|
|
97
|
+
$case: "sphere";
|
|
98
|
+
} & {
|
|
99
|
+
sphere?: ({} & {} & { [K_2 in Exclude<keyof I["mesh"]["sphere"], never>]: never; }) | undefined;
|
|
100
|
+
$case: "sphere";
|
|
101
|
+
} & { [K_3 in Exclude<keyof I["mesh"], "$case" | "sphere">]: never; }) | ({
|
|
102
|
+
cylinder?: {
|
|
103
|
+
radiusTop?: number | undefined;
|
|
104
|
+
radiusBottom?: number | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
} & {
|
|
107
|
+
$case: "cylinder";
|
|
108
|
+
} & {
|
|
109
|
+
cylinder?: ({
|
|
110
|
+
radiusTop?: number | undefined;
|
|
111
|
+
radiusBottom?: number | undefined;
|
|
112
|
+
} & {
|
|
113
|
+
radiusTop?: number | undefined;
|
|
114
|
+
radiusBottom?: number | undefined;
|
|
115
|
+
} & { [K_4 in Exclude<keyof I["mesh"]["cylinder"], keyof PBMeshCollider_CylinderMesh>]: never; }) | undefined;
|
|
116
|
+
$case: "cylinder";
|
|
117
|
+
} & { [K_5 in Exclude<keyof I["mesh"], "$case" | "cylinder">]: never; }) | ({
|
|
118
|
+
plane?: {} | undefined;
|
|
119
|
+
} & {
|
|
120
|
+
$case: "plane";
|
|
121
|
+
} & {
|
|
122
|
+
plane?: ({} & {} & { [K_6 in Exclude<keyof I["mesh"]["plane"], never>]: never; }) | undefined;
|
|
123
|
+
$case: "plane";
|
|
124
|
+
} & { [K_7 in Exclude<keyof I["mesh"], "$case" | "plane">]: never; }) | undefined;
|
|
125
|
+
} & { [K_8 in Exclude<keyof I, keyof PBMeshCollider>]: never; }>(base?: I | undefined): PBMeshCollider;
|
|
126
|
+
fromPartial<I_1 extends {
|
|
127
|
+
collisionMask?: number | undefined;
|
|
128
|
+
mesh?: ({
|
|
129
|
+
box?: {} | undefined;
|
|
130
|
+
} & {
|
|
131
|
+
$case: "box";
|
|
132
|
+
}) | ({
|
|
133
|
+
sphere?: {} | undefined;
|
|
134
|
+
} & {
|
|
135
|
+
$case: "sphere";
|
|
136
|
+
}) | ({
|
|
137
|
+
cylinder?: {
|
|
138
|
+
radiusTop?: number | undefined;
|
|
139
|
+
radiusBottom?: number | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
} & {
|
|
142
|
+
$case: "cylinder";
|
|
143
|
+
}) | ({
|
|
144
|
+
plane?: {} | undefined;
|
|
145
|
+
} & {
|
|
146
|
+
$case: "plane";
|
|
147
|
+
}) | undefined;
|
|
148
|
+
} & {
|
|
149
|
+
collisionMask?: number | undefined;
|
|
150
|
+
mesh?: ({
|
|
151
|
+
box?: {} | undefined;
|
|
152
|
+
} & {
|
|
153
|
+
$case: "box";
|
|
154
|
+
} & {
|
|
155
|
+
box?: ({} & {} & { [K_9 in Exclude<keyof I_1["mesh"]["box"], never>]: never; }) | undefined;
|
|
156
|
+
$case: "box";
|
|
157
|
+
} & { [K_10 in Exclude<keyof I_1["mesh"], "$case" | "box">]: never; }) | ({
|
|
158
|
+
sphere?: {} | undefined;
|
|
159
|
+
} & {
|
|
160
|
+
$case: "sphere";
|
|
161
|
+
} & {
|
|
162
|
+
sphere?: ({} & {} & { [K_11 in Exclude<keyof I_1["mesh"]["sphere"], never>]: never; }) | undefined;
|
|
163
|
+
$case: "sphere";
|
|
164
|
+
} & { [K_12 in Exclude<keyof I_1["mesh"], "$case" | "sphere">]: never; }) | ({
|
|
165
|
+
cylinder?: {
|
|
166
|
+
radiusTop?: number | undefined;
|
|
167
|
+
radiusBottom?: number | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
} & {
|
|
170
|
+
$case: "cylinder";
|
|
171
|
+
} & {
|
|
172
|
+
cylinder?: ({
|
|
173
|
+
radiusTop?: number | undefined;
|
|
174
|
+
radiusBottom?: number | undefined;
|
|
175
|
+
} & {
|
|
176
|
+
radiusTop?: number | undefined;
|
|
177
|
+
radiusBottom?: number | undefined;
|
|
178
|
+
} & { [K_13 in Exclude<keyof I_1["mesh"]["cylinder"], keyof PBMeshCollider_CylinderMesh>]: never; }) | undefined;
|
|
179
|
+
$case: "cylinder";
|
|
180
|
+
} & { [K_14 in Exclude<keyof I_1["mesh"], "$case" | "cylinder">]: never; }) | ({
|
|
181
|
+
plane?: {} | undefined;
|
|
182
|
+
} & {
|
|
183
|
+
$case: "plane";
|
|
184
|
+
} & {
|
|
185
|
+
plane?: ({} & {} & { [K_15 in Exclude<keyof I_1["mesh"]["plane"], never>]: never; }) | undefined;
|
|
186
|
+
$case: "plane";
|
|
187
|
+
} & { [K_16 in Exclude<keyof I_1["mesh"], "$case" | "plane">]: never; }) | undefined;
|
|
188
|
+
} & { [K_17 in Exclude<keyof I_1, keyof PBMeshCollider>]: never; }>(object: I_1): PBMeshCollider;
|
|
189
|
+
};
|
|
190
|
+
export declare const PBMeshCollider_BoxMesh: {
|
|
191
|
+
encode(_: PBMeshCollider_BoxMesh, writer?: _m0.Writer): _m0.Writer;
|
|
192
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_BoxMesh;
|
|
193
|
+
fromJSON(_: any): PBMeshCollider_BoxMesh;
|
|
194
|
+
toJSON(_: PBMeshCollider_BoxMesh): unknown;
|
|
195
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): PBMeshCollider_BoxMesh;
|
|
196
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): PBMeshCollider_BoxMesh;
|
|
197
|
+
};
|
|
198
|
+
export declare const PBMeshCollider_CylinderMesh: {
|
|
199
|
+
encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
200
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
201
|
+
fromJSON(object: any): PBMeshCollider_CylinderMesh;
|
|
202
|
+
toJSON(message: PBMeshCollider_CylinderMesh): unknown;
|
|
203
|
+
create<I extends {
|
|
204
|
+
radiusTop?: number | undefined;
|
|
205
|
+
radiusBottom?: number | undefined;
|
|
206
|
+
} & {
|
|
207
|
+
radiusTop?: number | undefined;
|
|
208
|
+
radiusBottom?: number | undefined;
|
|
209
|
+
} & { [K in Exclude<keyof I, keyof PBMeshCollider_CylinderMesh>]: never; }>(base?: I | undefined): PBMeshCollider_CylinderMesh;
|
|
210
|
+
fromPartial<I_1 extends {
|
|
211
|
+
radiusTop?: number | undefined;
|
|
212
|
+
radiusBottom?: number | undefined;
|
|
213
|
+
} & {
|
|
214
|
+
radiusTop?: number | undefined;
|
|
215
|
+
radiusBottom?: number | undefined;
|
|
216
|
+
} & { [K_1 in Exclude<keyof I_1, keyof PBMeshCollider_CylinderMesh>]: never; }>(object: I_1): PBMeshCollider_CylinderMesh;
|
|
217
|
+
};
|
|
218
|
+
export declare const PBMeshCollider_PlaneMesh: {
|
|
219
|
+
encode(_: PBMeshCollider_PlaneMesh, writer?: _m0.Writer): _m0.Writer;
|
|
220
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_PlaneMesh;
|
|
221
|
+
fromJSON(_: any): PBMeshCollider_PlaneMesh;
|
|
222
|
+
toJSON(_: PBMeshCollider_PlaneMesh): unknown;
|
|
223
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): PBMeshCollider_PlaneMesh;
|
|
224
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): PBMeshCollider_PlaneMesh;
|
|
225
|
+
};
|
|
226
|
+
export declare const PBMeshCollider_SphereMesh: {
|
|
227
|
+
encode(_: PBMeshCollider_SphereMesh, writer?: _m0.Writer): _m0.Writer;
|
|
228
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_SphereMesh;
|
|
229
|
+
fromJSON(_: any): PBMeshCollider_SphereMesh;
|
|
230
|
+
toJSON(_: PBMeshCollider_SphereMesh): unknown;
|
|
231
|
+
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): PBMeshCollider_SphereMesh;
|
|
232
|
+
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): PBMeshCollider_SphereMesh;
|
|
233
|
+
};
|
|
234
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
235
|
+
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 {
|
|
236
|
+
$case: string;
|
|
237
|
+
} ? {
|
|
238
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
239
|
+
} & {
|
|
240
|
+
$case: T["$case"];
|
|
241
|
+
} : T extends {} ? {
|
|
242
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
243
|
+
} : Partial<T>;
|
|
244
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
245
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
246
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
247
|
+
} & {
|
|
248
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
249
|
+
};
|
|
250
|
+
export {};
|
|
@@ -0,0 +1,324 @@
|
|
|
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.PBMeshCollider_SphereMesh = exports.PBMeshCollider_PlaneMesh = exports.PBMeshCollider_CylinderMesh = exports.PBMeshCollider_BoxMesh = exports.PBMeshCollider = exports.colliderLayerToJSON = exports.colliderLayerFromJSON = exports.ColliderLayer = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
|
11
|
+
var ColliderLayer;
|
|
12
|
+
(function (ColliderLayer) {
|
|
13
|
+
/** CL_NONE - no collisions */
|
|
14
|
+
ColliderLayer[ColliderLayer["CL_NONE"] = 0] = "CL_NONE";
|
|
15
|
+
/** CL_POINTER - collisions with the player's pointer ray (e.g. mouse cursor hovering) */
|
|
16
|
+
ColliderLayer[ColliderLayer["CL_POINTER"] = 1] = "CL_POINTER";
|
|
17
|
+
/** CL_PHYSICS - colission with Avatars */
|
|
18
|
+
ColliderLayer[ColliderLayer["CL_PHYSICS"] = 2] = "CL_PHYSICS";
|
|
19
|
+
ColliderLayer[ColliderLayer["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
20
|
+
})(ColliderLayer = exports.ColliderLayer || (exports.ColliderLayer = {}));
|
|
21
|
+
function colliderLayerFromJSON(object) {
|
|
22
|
+
switch (object) {
|
|
23
|
+
case 0:
|
|
24
|
+
case "CL_NONE":
|
|
25
|
+
return ColliderLayer.CL_NONE;
|
|
26
|
+
case 1:
|
|
27
|
+
case "CL_POINTER":
|
|
28
|
+
return ColliderLayer.CL_POINTER;
|
|
29
|
+
case 2:
|
|
30
|
+
case "CL_PHYSICS":
|
|
31
|
+
return ColliderLayer.CL_PHYSICS;
|
|
32
|
+
case -1:
|
|
33
|
+
case "UNRECOGNIZED":
|
|
34
|
+
default:
|
|
35
|
+
return ColliderLayer.UNRECOGNIZED;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.colliderLayerFromJSON = colliderLayerFromJSON;
|
|
39
|
+
function colliderLayerToJSON(object) {
|
|
40
|
+
switch (object) {
|
|
41
|
+
case ColliderLayer.CL_NONE:
|
|
42
|
+
return "CL_NONE";
|
|
43
|
+
case ColliderLayer.CL_POINTER:
|
|
44
|
+
return "CL_POINTER";
|
|
45
|
+
case ColliderLayer.CL_PHYSICS:
|
|
46
|
+
return "CL_PHYSICS";
|
|
47
|
+
case ColliderLayer.UNRECOGNIZED:
|
|
48
|
+
default:
|
|
49
|
+
return "UNRECOGNIZED";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.colliderLayerToJSON = colliderLayerToJSON;
|
|
53
|
+
function createBasePBMeshCollider() {
|
|
54
|
+
return { collisionMask: undefined, mesh: undefined };
|
|
55
|
+
}
|
|
56
|
+
exports.PBMeshCollider = {
|
|
57
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
58
|
+
var _a;
|
|
59
|
+
if (message.collisionMask !== undefined) {
|
|
60
|
+
writer.uint32(8).int32(message.collisionMask);
|
|
61
|
+
}
|
|
62
|
+
switch ((_a = message.mesh) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
63
|
+
case "box":
|
|
64
|
+
exports.PBMeshCollider_BoxMesh.encode(message.mesh.box, writer.uint32(18).fork()).ldelim();
|
|
65
|
+
break;
|
|
66
|
+
case "sphere":
|
|
67
|
+
exports.PBMeshCollider_SphereMesh.encode(message.mesh.sphere, writer.uint32(26).fork()).ldelim();
|
|
68
|
+
break;
|
|
69
|
+
case "cylinder":
|
|
70
|
+
exports.PBMeshCollider_CylinderMesh.encode(message.mesh.cylinder, writer.uint32(34).fork()).ldelim();
|
|
71
|
+
break;
|
|
72
|
+
case "plane":
|
|
73
|
+
exports.PBMeshCollider_PlaneMesh.encode(message.mesh.plane, writer.uint32(42).fork()).ldelim();
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input, length) {
|
|
79
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBasePBMeshCollider();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
message.collisionMask = reader.int32();
|
|
87
|
+
break;
|
|
88
|
+
case 2:
|
|
89
|
+
message.mesh = { $case: "box", box: exports.PBMeshCollider_BoxMesh.decode(reader, reader.uint32()) };
|
|
90
|
+
break;
|
|
91
|
+
case 3:
|
|
92
|
+
message.mesh = { $case: "sphere", sphere: exports.PBMeshCollider_SphereMesh.decode(reader, reader.uint32()) };
|
|
93
|
+
break;
|
|
94
|
+
case 4:
|
|
95
|
+
message.mesh = { $case: "cylinder", cylinder: exports.PBMeshCollider_CylinderMesh.decode(reader, reader.uint32()) };
|
|
96
|
+
break;
|
|
97
|
+
case 5:
|
|
98
|
+
message.mesh = { $case: "plane", plane: exports.PBMeshCollider_PlaneMesh.decode(reader, reader.uint32()) };
|
|
99
|
+
break;
|
|
100
|
+
default:
|
|
101
|
+
reader.skipType(tag & 7);
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return message;
|
|
106
|
+
},
|
|
107
|
+
fromJSON(object) {
|
|
108
|
+
return {
|
|
109
|
+
collisionMask: isSet(object.collisionMask) ? Number(object.collisionMask) : undefined,
|
|
110
|
+
mesh: isSet(object.box)
|
|
111
|
+
? { $case: "box", box: exports.PBMeshCollider_BoxMesh.fromJSON(object.box) }
|
|
112
|
+
: isSet(object.sphere)
|
|
113
|
+
? { $case: "sphere", sphere: exports.PBMeshCollider_SphereMesh.fromJSON(object.sphere) }
|
|
114
|
+
: isSet(object.cylinder)
|
|
115
|
+
? { $case: "cylinder", cylinder: exports.PBMeshCollider_CylinderMesh.fromJSON(object.cylinder) }
|
|
116
|
+
: isSet(object.plane)
|
|
117
|
+
? { $case: "plane", plane: exports.PBMeshCollider_PlaneMesh.fromJSON(object.plane) }
|
|
118
|
+
: undefined,
|
|
119
|
+
};
|
|
120
|
+
},
|
|
121
|
+
toJSON(message) {
|
|
122
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
123
|
+
const obj = {};
|
|
124
|
+
message.collisionMask !== undefined && (obj.collisionMask = Math.round(message.collisionMask));
|
|
125
|
+
((_a = message.mesh) === null || _a === void 0 ? void 0 : _a.$case) === "box" &&
|
|
126
|
+
(obj.box = ((_b = message.mesh) === null || _b === void 0 ? void 0 : _b.box) ? exports.PBMeshCollider_BoxMesh.toJSON((_c = message.mesh) === null || _c === void 0 ? void 0 : _c.box) : undefined);
|
|
127
|
+
((_d = message.mesh) === null || _d === void 0 ? void 0 : _d.$case) === "sphere" &&
|
|
128
|
+
(obj.sphere = ((_e = message.mesh) === null || _e === void 0 ? void 0 : _e.sphere) ? exports.PBMeshCollider_SphereMesh.toJSON((_f = message.mesh) === null || _f === void 0 ? void 0 : _f.sphere) : undefined);
|
|
129
|
+
((_g = message.mesh) === null || _g === void 0 ? void 0 : _g.$case) === "cylinder" &&
|
|
130
|
+
(obj.cylinder = ((_h = message.mesh) === null || _h === void 0 ? void 0 : _h.cylinder) ? exports.PBMeshCollider_CylinderMesh.toJSON((_j = message.mesh) === null || _j === void 0 ? void 0 : _j.cylinder) : undefined);
|
|
131
|
+
((_k = message.mesh) === null || _k === void 0 ? void 0 : _k.$case) === "plane" &&
|
|
132
|
+
(obj.plane = ((_l = message.mesh) === null || _l === void 0 ? void 0 : _l.plane) ? exports.PBMeshCollider_PlaneMesh.toJSON((_m = message.mesh) === null || _m === void 0 ? void 0 : _m.plane) : undefined);
|
|
133
|
+
return obj;
|
|
134
|
+
},
|
|
135
|
+
create(base) {
|
|
136
|
+
return exports.PBMeshCollider.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
137
|
+
},
|
|
138
|
+
fromPartial(object) {
|
|
139
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
140
|
+
const message = createBasePBMeshCollider();
|
|
141
|
+
message.collisionMask = (_a = object.collisionMask) !== null && _a !== void 0 ? _a : undefined;
|
|
142
|
+
if (((_b = object.mesh) === null || _b === void 0 ? void 0 : _b.$case) === "box" && ((_c = object.mesh) === null || _c === void 0 ? void 0 : _c.box) !== undefined && ((_d = object.mesh) === null || _d === void 0 ? void 0 : _d.box) !== null) {
|
|
143
|
+
message.mesh = { $case: "box", box: exports.PBMeshCollider_BoxMesh.fromPartial(object.mesh.box) };
|
|
144
|
+
}
|
|
145
|
+
if (((_e = object.mesh) === null || _e === void 0 ? void 0 : _e.$case) === "sphere" && ((_f = object.mesh) === null || _f === void 0 ? void 0 : _f.sphere) !== undefined && ((_g = object.mesh) === null || _g === void 0 ? void 0 : _g.sphere) !== null) {
|
|
146
|
+
message.mesh = { $case: "sphere", sphere: exports.PBMeshCollider_SphereMesh.fromPartial(object.mesh.sphere) };
|
|
147
|
+
}
|
|
148
|
+
if (((_h = object.mesh) === null || _h === void 0 ? void 0 : _h.$case) === "cylinder" && ((_j = object.mesh) === null || _j === void 0 ? void 0 : _j.cylinder) !== undefined && ((_k = object.mesh) === null || _k === void 0 ? void 0 : _k.cylinder) !== null) {
|
|
149
|
+
message.mesh = { $case: "cylinder", cylinder: exports.PBMeshCollider_CylinderMesh.fromPartial(object.mesh.cylinder) };
|
|
150
|
+
}
|
|
151
|
+
if (((_l = object.mesh) === null || _l === void 0 ? void 0 : _l.$case) === "plane" && ((_m = object.mesh) === null || _m === void 0 ? void 0 : _m.plane) !== undefined && ((_o = object.mesh) === null || _o === void 0 ? void 0 : _o.plane) !== null) {
|
|
152
|
+
message.mesh = { $case: "plane", plane: exports.PBMeshCollider_PlaneMesh.fromPartial(object.mesh.plane) };
|
|
153
|
+
}
|
|
154
|
+
return message;
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
function createBasePBMeshCollider_BoxMesh() {
|
|
158
|
+
return {};
|
|
159
|
+
}
|
|
160
|
+
exports.PBMeshCollider_BoxMesh = {
|
|
161
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
162
|
+
return writer;
|
|
163
|
+
},
|
|
164
|
+
decode(input, length) {
|
|
165
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
166
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
167
|
+
const message = createBasePBMeshCollider_BoxMesh();
|
|
168
|
+
while (reader.pos < end) {
|
|
169
|
+
const tag = reader.uint32();
|
|
170
|
+
switch (tag >>> 3) {
|
|
171
|
+
default:
|
|
172
|
+
reader.skipType(tag & 7);
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
return message;
|
|
177
|
+
},
|
|
178
|
+
fromJSON(_) {
|
|
179
|
+
return {};
|
|
180
|
+
},
|
|
181
|
+
toJSON(_) {
|
|
182
|
+
const obj = {};
|
|
183
|
+
return obj;
|
|
184
|
+
},
|
|
185
|
+
create(base) {
|
|
186
|
+
return exports.PBMeshCollider_BoxMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
187
|
+
},
|
|
188
|
+
fromPartial(_) {
|
|
189
|
+
const message = createBasePBMeshCollider_BoxMesh();
|
|
190
|
+
return message;
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
function createBasePBMeshCollider_CylinderMesh() {
|
|
194
|
+
return { radiusTop: undefined, radiusBottom: undefined };
|
|
195
|
+
}
|
|
196
|
+
exports.PBMeshCollider_CylinderMesh = {
|
|
197
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
198
|
+
if (message.radiusTop !== undefined) {
|
|
199
|
+
writer.uint32(13).float(message.radiusTop);
|
|
200
|
+
}
|
|
201
|
+
if (message.radiusBottom !== undefined) {
|
|
202
|
+
writer.uint32(21).float(message.radiusBottom);
|
|
203
|
+
}
|
|
204
|
+
return writer;
|
|
205
|
+
},
|
|
206
|
+
decode(input, length) {
|
|
207
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
208
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
209
|
+
const message = createBasePBMeshCollider_CylinderMesh();
|
|
210
|
+
while (reader.pos < end) {
|
|
211
|
+
const tag = reader.uint32();
|
|
212
|
+
switch (tag >>> 3) {
|
|
213
|
+
case 1:
|
|
214
|
+
message.radiusTop = reader.float();
|
|
215
|
+
break;
|
|
216
|
+
case 2:
|
|
217
|
+
message.radiusBottom = reader.float();
|
|
218
|
+
break;
|
|
219
|
+
default:
|
|
220
|
+
reader.skipType(tag & 7);
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return message;
|
|
225
|
+
},
|
|
226
|
+
fromJSON(object) {
|
|
227
|
+
return {
|
|
228
|
+
radiusTop: isSet(object.radiusTop) ? Number(object.radiusTop) : undefined,
|
|
229
|
+
radiusBottom: isSet(object.radiusBottom) ? Number(object.radiusBottom) : undefined,
|
|
230
|
+
};
|
|
231
|
+
},
|
|
232
|
+
toJSON(message) {
|
|
233
|
+
const obj = {};
|
|
234
|
+
message.radiusTop !== undefined && (obj.radiusTop = message.radiusTop);
|
|
235
|
+
message.radiusBottom !== undefined && (obj.radiusBottom = message.radiusBottom);
|
|
236
|
+
return obj;
|
|
237
|
+
},
|
|
238
|
+
create(base) {
|
|
239
|
+
return exports.PBMeshCollider_CylinderMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
240
|
+
},
|
|
241
|
+
fromPartial(object) {
|
|
242
|
+
var _a, _b;
|
|
243
|
+
const message = createBasePBMeshCollider_CylinderMesh();
|
|
244
|
+
message.radiusTop = (_a = object.radiusTop) !== null && _a !== void 0 ? _a : undefined;
|
|
245
|
+
message.radiusBottom = (_b = object.radiusBottom) !== null && _b !== void 0 ? _b : undefined;
|
|
246
|
+
return message;
|
|
247
|
+
},
|
|
248
|
+
};
|
|
249
|
+
function createBasePBMeshCollider_PlaneMesh() {
|
|
250
|
+
return {};
|
|
251
|
+
}
|
|
252
|
+
exports.PBMeshCollider_PlaneMesh = {
|
|
253
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
254
|
+
return writer;
|
|
255
|
+
},
|
|
256
|
+
decode(input, length) {
|
|
257
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
258
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
259
|
+
const message = createBasePBMeshCollider_PlaneMesh();
|
|
260
|
+
while (reader.pos < end) {
|
|
261
|
+
const tag = reader.uint32();
|
|
262
|
+
switch (tag >>> 3) {
|
|
263
|
+
default:
|
|
264
|
+
reader.skipType(tag & 7);
|
|
265
|
+
break;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return message;
|
|
269
|
+
},
|
|
270
|
+
fromJSON(_) {
|
|
271
|
+
return {};
|
|
272
|
+
},
|
|
273
|
+
toJSON(_) {
|
|
274
|
+
const obj = {};
|
|
275
|
+
return obj;
|
|
276
|
+
},
|
|
277
|
+
create(base) {
|
|
278
|
+
return exports.PBMeshCollider_PlaneMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
279
|
+
},
|
|
280
|
+
fromPartial(_) {
|
|
281
|
+
const message = createBasePBMeshCollider_PlaneMesh();
|
|
282
|
+
return message;
|
|
283
|
+
},
|
|
284
|
+
};
|
|
285
|
+
function createBasePBMeshCollider_SphereMesh() {
|
|
286
|
+
return {};
|
|
287
|
+
}
|
|
288
|
+
exports.PBMeshCollider_SphereMesh = {
|
|
289
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
290
|
+
return writer;
|
|
291
|
+
},
|
|
292
|
+
decode(input, length) {
|
|
293
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
294
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
295
|
+
const message = createBasePBMeshCollider_SphereMesh();
|
|
296
|
+
while (reader.pos < end) {
|
|
297
|
+
const tag = reader.uint32();
|
|
298
|
+
switch (tag >>> 3) {
|
|
299
|
+
default:
|
|
300
|
+
reader.skipType(tag & 7);
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
return message;
|
|
305
|
+
},
|
|
306
|
+
fromJSON(_) {
|
|
307
|
+
return {};
|
|
308
|
+
},
|
|
309
|
+
toJSON(_) {
|
|
310
|
+
const obj = {};
|
|
311
|
+
return obj;
|
|
312
|
+
},
|
|
313
|
+
create(base) {
|
|
314
|
+
return exports.PBMeshCollider_SphereMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
315
|
+
},
|
|
316
|
+
fromPartial(_) {
|
|
317
|
+
const message = createBasePBMeshCollider_SphereMesh();
|
|
318
|
+
return message;
|
|
319
|
+
},
|
|
320
|
+
};
|
|
321
|
+
function isSet(value) {
|
|
322
|
+
return value !== null && value !== undefined;
|
|
323
|
+
}
|
|
324
|
+
//# sourceMappingURL=mesh_collider.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh_collider.gen.js","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