@dcl/protocol 1.0.0-22917704966.commit-8d5910d → 1.0.0-23196288562.commit-d5b739b
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 -109
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
- 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-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +9 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +76 -7
- package/out-js/decentraland/social_service/v2/social_service_v2.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 -410
- 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/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +75 -2
- package/package.json +3 -6
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
- 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/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/proto/decentraland/social_service/v2/social_service_v2.proto +7 -0
- 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 -36
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
- 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 -48
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
- 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 -52
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
- 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 -136
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
- 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 -265
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
- package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
- 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
|
@@ -47,41 +47,6 @@ export function raycastQueryTypeToJSON(object: RaycastQueryType): string {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export enum RaycastShape {
|
|
51
|
-
/** RS_RAY - cast a point, get collisions along a ray */
|
|
52
|
-
RS_RAY = 0,
|
|
53
|
-
/** RS_AVATAR - cast the avatar collider shape, get collisions from sweeping the shape */
|
|
54
|
-
RS_AVATAR = 1,
|
|
55
|
-
UNRECOGNIZED = -1,
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function raycastShapeFromJSON(object: any): RaycastShape {
|
|
59
|
-
switch (object) {
|
|
60
|
-
case 0:
|
|
61
|
-
case "RS_RAY":
|
|
62
|
-
return RaycastShape.RS_RAY;
|
|
63
|
-
case 1:
|
|
64
|
-
case "RS_AVATAR":
|
|
65
|
-
return RaycastShape.RS_AVATAR;
|
|
66
|
-
case -1:
|
|
67
|
-
case "UNRECOGNIZED":
|
|
68
|
-
default:
|
|
69
|
-
return RaycastShape.UNRECOGNIZED;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function raycastShapeToJSON(object: RaycastShape): string {
|
|
74
|
-
switch (object) {
|
|
75
|
-
case RaycastShape.RS_RAY:
|
|
76
|
-
return "RS_RAY";
|
|
77
|
-
case RaycastShape.RS_AVATAR:
|
|
78
|
-
return "RS_AVATAR";
|
|
79
|
-
case RaycastShape.UNRECOGNIZED:
|
|
80
|
-
default:
|
|
81
|
-
return "UNRECOGNIZED";
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
50
|
/**
|
|
86
51
|
* The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
|
|
87
52
|
*
|
|
@@ -116,15 +81,7 @@ export interface PBRaycast {
|
|
|
116
81
|
| boolean
|
|
117
82
|
| undefined;
|
|
118
83
|
/** Collision mask, by default CL_POINTER | CL_PHYSICS */
|
|
119
|
-
collisionMask?:
|
|
120
|
-
| number
|
|
121
|
-
| undefined;
|
|
122
|
-
/** shape to cast, default ray */
|
|
123
|
-
shape?:
|
|
124
|
-
| RaycastShape
|
|
125
|
-
| undefined;
|
|
126
|
-
/** include hits with entities from other scenes */
|
|
127
|
-
includeWorld?: boolean | undefined;
|
|
84
|
+
collisionMask?: number | undefined;
|
|
128
85
|
}
|
|
129
86
|
|
|
130
87
|
function createBasePBRaycast(): PBRaycast {
|
|
@@ -136,8 +93,6 @@ function createBasePBRaycast(): PBRaycast {
|
|
|
136
93
|
queryType: 0,
|
|
137
94
|
continuous: undefined,
|
|
138
95
|
collisionMask: undefined,
|
|
139
|
-
shape: undefined,
|
|
140
|
-
includeWorld: undefined,
|
|
141
96
|
};
|
|
142
97
|
}
|
|
143
98
|
|
|
@@ -175,12 +130,6 @@ export namespace PBRaycast {
|
|
|
175
130
|
if (message.collisionMask !== undefined) {
|
|
176
131
|
writer.uint32(72).uint32(message.collisionMask);
|
|
177
132
|
}
|
|
178
|
-
if (message.shape !== undefined) {
|
|
179
|
-
writer.uint32(88).int32(message.shape);
|
|
180
|
-
}
|
|
181
|
-
if (message.includeWorld !== undefined) {
|
|
182
|
-
writer.uint32(96).bool(message.includeWorld);
|
|
183
|
-
}
|
|
184
133
|
return writer;
|
|
185
134
|
}
|
|
186
135
|
|
|
@@ -261,20 +210,6 @@ export namespace PBRaycast {
|
|
|
261
210
|
|
|
262
211
|
message.collisionMask = reader.uint32();
|
|
263
212
|
continue;
|
|
264
|
-
case 11:
|
|
265
|
-
if (tag !== 88) {
|
|
266
|
-
break;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
message.shape = reader.int32() as any;
|
|
270
|
-
continue;
|
|
271
|
-
case 12:
|
|
272
|
-
if (tag !== 96) {
|
|
273
|
-
break;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
message.includeWorld = reader.bool();
|
|
277
|
-
continue;
|
|
278
213
|
}
|
|
279
214
|
if ((tag & 7) === 4 || tag === 0) {
|
|
280
215
|
break;
|
|
@@ -301,8 +236,6 @@ export namespace PBRaycast {
|
|
|
301
236
|
queryType: isSet(object.queryType) ? raycastQueryTypeFromJSON(object.queryType) : 0,
|
|
302
237
|
continuous: isSet(object.continuous) ? Boolean(object.continuous) : undefined,
|
|
303
238
|
collisionMask: isSet(object.collisionMask) ? Number(object.collisionMask) : undefined,
|
|
304
|
-
shape: isSet(object.shape) ? raycastShapeFromJSON(object.shape) : undefined,
|
|
305
|
-
includeWorld: isSet(object.includeWorld) ? Boolean(object.includeWorld) : undefined,
|
|
306
239
|
};
|
|
307
240
|
}
|
|
308
241
|
|
|
@@ -328,9 +261,6 @@ export namespace PBRaycast {
|
|
|
328
261
|
message.queryType !== undefined && (obj.queryType = raycastQueryTypeToJSON(message.queryType));
|
|
329
262
|
message.continuous !== undefined && (obj.continuous = message.continuous);
|
|
330
263
|
message.collisionMask !== undefined && (obj.collisionMask = Math.round(message.collisionMask));
|
|
331
|
-
message.shape !== undefined &&
|
|
332
|
-
(obj.shape = message.shape !== undefined ? raycastShapeToJSON(message.shape) : undefined);
|
|
333
|
-
message.includeWorld !== undefined && (obj.includeWorld = message.includeWorld);
|
|
334
264
|
return obj;
|
|
335
265
|
}
|
|
336
266
|
|
|
@@ -382,8 +312,6 @@ export namespace PBRaycast {
|
|
|
382
312
|
message.queryType = object.queryType ?? 0;
|
|
383
313
|
message.continuous = object.continuous ?? undefined;
|
|
384
314
|
message.collisionMask = object.collisionMask ?? undefined;
|
|
385
|
-
message.shape = object.shape ?? undefined;
|
|
386
|
-
message.includeWorld = object.includeWorld ?? undefined;
|
|
387
315
|
return message;
|
|
388
316
|
}
|
|
389
317
|
}
|
|
@@ -65,15 +65,7 @@ export interface PBUiText {
|
|
|
65
65
|
| number
|
|
66
66
|
| undefined;
|
|
67
67
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
68
|
-
textWrap?:
|
|
69
|
-
| TextWrap
|
|
70
|
-
| undefined;
|
|
71
|
-
/** width of the outline (default: 0) */
|
|
72
|
-
outlineWidth?:
|
|
73
|
-
| number
|
|
74
|
-
| undefined;
|
|
75
|
-
/** RGBA color of the outline (default: opaque black) */
|
|
76
|
-
outlineColor?: Color4 | undefined;
|
|
68
|
+
textWrap?: TextWrap | undefined;
|
|
77
69
|
}
|
|
78
70
|
|
|
79
71
|
function createBasePBUiText(): PBUiText {
|
|
@@ -84,8 +76,6 @@ function createBasePBUiText(): PBUiText {
|
|
|
84
76
|
font: undefined,
|
|
85
77
|
fontSize: undefined,
|
|
86
78
|
textWrap: undefined,
|
|
87
|
-
outlineWidth: undefined,
|
|
88
|
-
outlineColor: undefined,
|
|
89
79
|
};
|
|
90
80
|
}
|
|
91
81
|
|
|
@@ -109,12 +99,6 @@ export namespace PBUiText {
|
|
|
109
99
|
if (message.textWrap !== undefined) {
|
|
110
100
|
writer.uint32(48).int32(message.textWrap);
|
|
111
101
|
}
|
|
112
|
-
if (message.outlineWidth !== undefined) {
|
|
113
|
-
writer.uint32(61).float(message.outlineWidth);
|
|
114
|
-
}
|
|
115
|
-
if (message.outlineColor !== undefined) {
|
|
116
|
-
Color4.encode(message.outlineColor, writer.uint32(66).fork()).ldelim();
|
|
117
|
-
}
|
|
118
102
|
return writer;
|
|
119
103
|
}
|
|
120
104
|
|
|
@@ -167,20 +151,6 @@ export namespace PBUiText {
|
|
|
167
151
|
|
|
168
152
|
message.textWrap = reader.int32() as any;
|
|
169
153
|
continue;
|
|
170
|
-
case 7:
|
|
171
|
-
if (tag !== 61) {
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
message.outlineWidth = reader.float();
|
|
176
|
-
continue;
|
|
177
|
-
case 8:
|
|
178
|
-
if (tag !== 66) {
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
message.outlineColor = Color4.decode(reader, reader.uint32());
|
|
183
|
-
continue;
|
|
184
154
|
}
|
|
185
155
|
if ((tag & 7) === 4 || tag === 0) {
|
|
186
156
|
break;
|
|
@@ -198,8 +168,6 @@ export namespace PBUiText {
|
|
|
198
168
|
font: isSet(object.font) ? fontFromJSON(object.font) : undefined,
|
|
199
169
|
fontSize: isSet(object.fontSize) ? Number(object.fontSize) : undefined,
|
|
200
170
|
textWrap: isSet(object.textWrap) ? textWrapFromJSON(object.textWrap) : undefined,
|
|
201
|
-
outlineWidth: isSet(object.outlineWidth) ? Number(object.outlineWidth) : undefined,
|
|
202
|
-
outlineColor: isSet(object.outlineColor) ? Color4.fromJSON(object.outlineColor) : undefined,
|
|
203
171
|
};
|
|
204
172
|
}
|
|
205
173
|
|
|
@@ -213,9 +181,6 @@ export namespace PBUiText {
|
|
|
213
181
|
message.fontSize !== undefined && (obj.fontSize = Math.round(message.fontSize));
|
|
214
182
|
message.textWrap !== undefined &&
|
|
215
183
|
(obj.textWrap = message.textWrap !== undefined ? textWrapToJSON(message.textWrap) : undefined);
|
|
216
|
-
message.outlineWidth !== undefined && (obj.outlineWidth = message.outlineWidth);
|
|
217
|
-
message.outlineColor !== undefined &&
|
|
218
|
-
(obj.outlineColor = message.outlineColor ? Color4.toJSON(message.outlineColor) : undefined);
|
|
219
184
|
return obj;
|
|
220
185
|
}
|
|
221
186
|
|
|
@@ -233,10 +198,6 @@ export namespace PBUiText {
|
|
|
233
198
|
message.font = object.font ?? undefined;
|
|
234
199
|
message.fontSize = object.fontSize ?? undefined;
|
|
235
200
|
message.textWrap = object.textWrap ?? undefined;
|
|
236
|
-
message.outlineWidth = object.outlineWidth ?? undefined;
|
|
237
|
-
message.outlineColor = (object.outlineColor !== undefined && object.outlineColor !== null)
|
|
238
|
-
? Color4.fromPartial(object.outlineColor)
|
|
239
|
-
: undefined;
|
|
240
201
|
return message;
|
|
241
202
|
}
|
|
242
203
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Color4 } from "../../common/colors.gen";
|
|
4
|
-
import { Vector2 } from "../../common/vectors.gen";
|
|
5
4
|
|
|
6
5
|
export const protobufPackage = "decentraland.sdk.components";
|
|
7
6
|
|
|
@@ -473,55 +472,6 @@ export function pointerFilterModeToJSON(object: PointerFilterMode): string {
|
|
|
473
472
|
}
|
|
474
473
|
}
|
|
475
474
|
|
|
476
|
-
export enum ShowScrollBar {
|
|
477
|
-
SSB_BOTH = 0,
|
|
478
|
-
SSB_ONLY_VERTICAL = 1,
|
|
479
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
480
|
-
SSB_HIDDEN = 3,
|
|
481
|
-
UNRECOGNIZED = -1,
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
export function showScrollBarFromJSON(object: any): ShowScrollBar {
|
|
485
|
-
switch (object) {
|
|
486
|
-
case 0:
|
|
487
|
-
case "SSB_BOTH":
|
|
488
|
-
return ShowScrollBar.SSB_BOTH;
|
|
489
|
-
case 1:
|
|
490
|
-
case "SSB_ONLY_VERTICAL":
|
|
491
|
-
return ShowScrollBar.SSB_ONLY_VERTICAL;
|
|
492
|
-
case 2:
|
|
493
|
-
case "SSB_ONLY_HORIZONTAL":
|
|
494
|
-
return ShowScrollBar.SSB_ONLY_HORIZONTAL;
|
|
495
|
-
case 3:
|
|
496
|
-
case "SSB_HIDDEN":
|
|
497
|
-
return ShowScrollBar.SSB_HIDDEN;
|
|
498
|
-
case -1:
|
|
499
|
-
case "UNRECOGNIZED":
|
|
500
|
-
default:
|
|
501
|
-
return ShowScrollBar.UNRECOGNIZED;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export function showScrollBarToJSON(object: ShowScrollBar): string {
|
|
506
|
-
switch (object) {
|
|
507
|
-
case ShowScrollBar.SSB_BOTH:
|
|
508
|
-
return "SSB_BOTH";
|
|
509
|
-
case ShowScrollBar.SSB_ONLY_VERTICAL:
|
|
510
|
-
return "SSB_ONLY_VERTICAL";
|
|
511
|
-
case ShowScrollBar.SSB_ONLY_HORIZONTAL:
|
|
512
|
-
return "SSB_ONLY_HORIZONTAL";
|
|
513
|
-
case ShowScrollBar.SSB_HIDDEN:
|
|
514
|
-
return "SSB_HIDDEN";
|
|
515
|
-
case ShowScrollBar.UNRECOGNIZED:
|
|
516
|
-
default:
|
|
517
|
-
return "UNRECOGNIZED";
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
export interface ScrollPositionValue {
|
|
522
|
-
value?: { $case: "position"; position: Vector2 } | { $case: "reference"; reference: string } | undefined;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
475
|
export interface PBUiTransform {
|
|
526
476
|
parent: number;
|
|
527
477
|
rightOf: number;
|
|
@@ -666,105 +616,10 @@ export interface PBUiTransform {
|
|
|
666
616
|
opacity?:
|
|
667
617
|
| number
|
|
668
618
|
| undefined;
|
|
669
|
-
/** reference for scroll_position. default empty */
|
|
670
|
-
elementId?:
|
|
671
|
-
| string
|
|
672
|
-
| undefined;
|
|
673
|
-
/** default position=(0,0) */
|
|
674
|
-
scrollPosition?:
|
|
675
|
-
| ScrollPositionValue
|
|
676
|
-
| undefined;
|
|
677
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
678
|
-
scrollVisible?:
|
|
679
|
-
| ShowScrollBar
|
|
680
|
-
| undefined;
|
|
681
619
|
/** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
|
|
682
620
|
zIndex?: number | undefined;
|
|
683
621
|
}
|
|
684
622
|
|
|
685
|
-
function createBaseScrollPositionValue(): ScrollPositionValue {
|
|
686
|
-
return { value: undefined };
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
export namespace ScrollPositionValue {
|
|
690
|
-
export function encode(message: ScrollPositionValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
691
|
-
switch (message.value?.$case) {
|
|
692
|
-
case "position":
|
|
693
|
-
Vector2.encode(message.value.position, writer.uint32(10).fork()).ldelim();
|
|
694
|
-
break;
|
|
695
|
-
case "reference":
|
|
696
|
-
writer.uint32(18).string(message.value.reference);
|
|
697
|
-
break;
|
|
698
|
-
}
|
|
699
|
-
return writer;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue {
|
|
703
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
704
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
705
|
-
const message = createBaseScrollPositionValue();
|
|
706
|
-
while (reader.pos < end) {
|
|
707
|
-
const tag = reader.uint32();
|
|
708
|
-
switch (tag >>> 3) {
|
|
709
|
-
case 1:
|
|
710
|
-
if (tag !== 10) {
|
|
711
|
-
break;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
message.value = { $case: "position", position: Vector2.decode(reader, reader.uint32()) };
|
|
715
|
-
continue;
|
|
716
|
-
case 2:
|
|
717
|
-
if (tag !== 18) {
|
|
718
|
-
break;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
message.value = { $case: "reference", reference: reader.string() };
|
|
722
|
-
continue;
|
|
723
|
-
}
|
|
724
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
725
|
-
break;
|
|
726
|
-
}
|
|
727
|
-
reader.skipType(tag & 7);
|
|
728
|
-
}
|
|
729
|
-
return message;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
export function fromJSON(object: any): ScrollPositionValue {
|
|
733
|
-
return {
|
|
734
|
-
value: isSet(object.position)
|
|
735
|
-
? { $case: "position", position: Vector2.fromJSON(object.position) }
|
|
736
|
-
: isSet(object.reference)
|
|
737
|
-
? { $case: "reference", reference: String(object.reference) }
|
|
738
|
-
: undefined,
|
|
739
|
-
};
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
export function toJSON(message: ScrollPositionValue): unknown {
|
|
743
|
-
const obj: any = {};
|
|
744
|
-
message.value?.$case === "position" &&
|
|
745
|
-
(obj.position = message.value?.position ? Vector2.toJSON(message.value?.position) : undefined);
|
|
746
|
-
message.value?.$case === "reference" && (obj.reference = message.value?.reference);
|
|
747
|
-
return obj;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export function create<I extends Exact<DeepPartial<ScrollPositionValue>, I>>(base?: I): ScrollPositionValue {
|
|
751
|
-
return ScrollPositionValue.fromPartial(base ?? {});
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
export function fromPartial<I extends Exact<DeepPartial<ScrollPositionValue>, I>>(object: I): ScrollPositionValue {
|
|
755
|
-
const message = createBaseScrollPositionValue();
|
|
756
|
-
if (object.value?.$case === "position" && object.value?.position !== undefined && object.value?.position !== null) {
|
|
757
|
-
message.value = { $case: "position", position: Vector2.fromPartial(object.value.position) };
|
|
758
|
-
}
|
|
759
|
-
if (
|
|
760
|
-
object.value?.$case === "reference" && object.value?.reference !== undefined && object.value?.reference !== null
|
|
761
|
-
) {
|
|
762
|
-
message.value = { $case: "reference", reference: object.value.reference };
|
|
763
|
-
}
|
|
764
|
-
return message;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
|
|
768
623
|
function createBasePBUiTransform(): PBUiTransform {
|
|
769
624
|
return {
|
|
770
625
|
parent: 0,
|
|
@@ -840,9 +695,6 @@ function createBasePBUiTransform(): PBUiTransform {
|
|
|
840
695
|
borderLeftColor: undefined,
|
|
841
696
|
borderRightColor: undefined,
|
|
842
697
|
opacity: undefined,
|
|
843
|
-
elementId: undefined,
|
|
844
|
-
scrollPosition: undefined,
|
|
845
|
-
scrollVisible: undefined,
|
|
846
698
|
zIndex: undefined,
|
|
847
699
|
};
|
|
848
700
|
}
|
|
@@ -1068,15 +920,6 @@ export namespace PBUiTransform {
|
|
|
1068
920
|
if (message.opacity !== undefined) {
|
|
1069
921
|
writer.uint32(589).float(message.opacity);
|
|
1070
922
|
}
|
|
1071
|
-
if (message.elementId !== undefined) {
|
|
1072
|
-
writer.uint32(594).string(message.elementId);
|
|
1073
|
-
}
|
|
1074
|
-
if (message.scrollPosition !== undefined) {
|
|
1075
|
-
ScrollPositionValue.encode(message.scrollPosition, writer.uint32(602).fork()).ldelim();
|
|
1076
|
-
}
|
|
1077
|
-
if (message.scrollVisible !== undefined) {
|
|
1078
|
-
writer.uint32(608).int32(message.scrollVisible);
|
|
1079
|
-
}
|
|
1080
923
|
if (message.zIndex !== undefined) {
|
|
1081
924
|
writer.uint32(616).int32(message.zIndex);
|
|
1082
925
|
}
|
|
@@ -1601,27 +1444,6 @@ export namespace PBUiTransform {
|
|
|
1601
1444
|
|
|
1602
1445
|
message.opacity = reader.float();
|
|
1603
1446
|
continue;
|
|
1604
|
-
case 74:
|
|
1605
|
-
if (tag !== 594) {
|
|
1606
|
-
break;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
message.elementId = reader.string();
|
|
1610
|
-
continue;
|
|
1611
|
-
case 75:
|
|
1612
|
-
if (tag !== 602) {
|
|
1613
|
-
break;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
message.scrollPosition = ScrollPositionValue.decode(reader, reader.uint32());
|
|
1617
|
-
continue;
|
|
1618
|
-
case 76:
|
|
1619
|
-
if (tag !== 608) {
|
|
1620
|
-
break;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
message.scrollVisible = reader.int32() as any;
|
|
1624
|
-
continue;
|
|
1625
1447
|
case 77:
|
|
1626
1448
|
if (tag !== 616) {
|
|
1627
1449
|
break;
|
|
@@ -1727,9 +1549,6 @@ export namespace PBUiTransform {
|
|
|
1727
1549
|
borderLeftColor: isSet(object.borderLeftColor) ? Color4.fromJSON(object.borderLeftColor) : undefined,
|
|
1728
1550
|
borderRightColor: isSet(object.borderRightColor) ? Color4.fromJSON(object.borderRightColor) : undefined,
|
|
1729
1551
|
opacity: isSet(object.opacity) ? Number(object.opacity) : undefined,
|
|
1730
|
-
elementId: isSet(object.elementId) ? String(object.elementId) : undefined,
|
|
1731
|
-
scrollPosition: isSet(object.scrollPosition) ? ScrollPositionValue.fromJSON(object.scrollPosition) : undefined,
|
|
1732
|
-
scrollVisible: isSet(object.scrollVisible) ? showScrollBarFromJSON(object.scrollVisible) : undefined,
|
|
1733
1552
|
zIndex: isSet(object.zIndex) ? Number(object.zIndex) : undefined,
|
|
1734
1553
|
};
|
|
1735
1554
|
}
|
|
@@ -1843,13 +1662,6 @@ export namespace PBUiTransform {
|
|
|
1843
1662
|
message.borderRightColor !== undefined &&
|
|
1844
1663
|
(obj.borderRightColor = message.borderRightColor ? Color4.toJSON(message.borderRightColor) : undefined);
|
|
1845
1664
|
message.opacity !== undefined && (obj.opacity = message.opacity);
|
|
1846
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1847
|
-
message.scrollPosition !== undefined &&
|
|
1848
|
-
(obj.scrollPosition = message.scrollPosition ? ScrollPositionValue.toJSON(message.scrollPosition) : undefined);
|
|
1849
|
-
message.scrollVisible !== undefined &&
|
|
1850
|
-
(obj.scrollVisible = message.scrollVisible !== undefined
|
|
1851
|
-
? showScrollBarToJSON(message.scrollVisible)
|
|
1852
|
-
: undefined);
|
|
1853
1665
|
message.zIndex !== undefined && (obj.zIndex = Math.round(message.zIndex));
|
|
1854
1666
|
return obj;
|
|
1855
1667
|
}
|
|
@@ -1941,11 +1753,6 @@ export namespace PBUiTransform {
|
|
|
1941
1753
|
? Color4.fromPartial(object.borderRightColor)
|
|
1942
1754
|
: undefined;
|
|
1943
1755
|
message.opacity = object.opacity ?? undefined;
|
|
1944
|
-
message.elementId = object.elementId ?? undefined;
|
|
1945
|
-
message.scrollPosition = (object.scrollPosition !== undefined && object.scrollPosition !== null)
|
|
1946
|
-
? ScrollPositionValue.fromPartial(object.scrollPosition)
|
|
1947
|
-
: undefined;
|
|
1948
|
-
message.scrollVisible = object.scrollVisible ?? undefined;
|
|
1949
1756
|
message.zIndex = object.zIndex ?? undefined;
|
|
1950
1757
|
return message;
|
|
1951
1758
|
}
|
|
@@ -195,6 +195,39 @@ export function blockedUsersMessagesVisibilitySettingToJSON(object: BlockedUsers
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
export enum SituationReactionsVisibility {
|
|
199
|
+
SHOW = 0,
|
|
200
|
+
HIDE = 1,
|
|
201
|
+
UNRECOGNIZED = -1,
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export function situationReactionsVisibilityFromJSON(object: any): SituationReactionsVisibility {
|
|
205
|
+
switch (object) {
|
|
206
|
+
case 0:
|
|
207
|
+
case "SHOW":
|
|
208
|
+
return SituationReactionsVisibility.SHOW;
|
|
209
|
+
case 1:
|
|
210
|
+
case "HIDE":
|
|
211
|
+
return SituationReactionsVisibility.HIDE;
|
|
212
|
+
case -1:
|
|
213
|
+
case "UNRECOGNIZED":
|
|
214
|
+
default:
|
|
215
|
+
return SituationReactionsVisibility.UNRECOGNIZED;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export function situationReactionsVisibilityToJSON(object: SituationReactionsVisibility): string {
|
|
220
|
+
switch (object) {
|
|
221
|
+
case SituationReactionsVisibility.SHOW:
|
|
222
|
+
return "SHOW";
|
|
223
|
+
case SituationReactionsVisibility.HIDE:
|
|
224
|
+
return "HIDE";
|
|
225
|
+
case SituationReactionsVisibility.UNRECOGNIZED:
|
|
226
|
+
default:
|
|
227
|
+
return "UNRECOGNIZED";
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
198
231
|
export enum PrivateVoiceChatStatus {
|
|
199
232
|
VOICE_CHAT_REQUESTED = 0,
|
|
200
233
|
VOICE_CHAT_ACCEPTED = 1,
|
|
@@ -492,6 +525,7 @@ export interface UnblockUserResponse_Ok {
|
|
|
492
525
|
export interface SocialSettings {
|
|
493
526
|
privateMessagesPrivacy: PrivateMessagePrivacySetting;
|
|
494
527
|
blockedUsersMessagesVisibility: BlockedUsersMessagesVisibilitySetting;
|
|
528
|
+
showSituationReactions: SituationReactionsVisibility;
|
|
495
529
|
}
|
|
496
530
|
|
|
497
531
|
export interface GetSocialSettingsResponse {
|
|
@@ -508,6 +542,7 @@ export interface GetSocialSettingsResponse_Ok {
|
|
|
508
542
|
export interface UpsertSocialSettingsPayload {
|
|
509
543
|
privateMessagesPrivacy?: PrivateMessagePrivacySetting | undefined;
|
|
510
544
|
blockedUsersMessagesVisibility?: BlockedUsersMessagesVisibilitySetting | undefined;
|
|
545
|
+
showSituationReactions?: SituationReactionsVisibility | undefined;
|
|
511
546
|
}
|
|
512
547
|
|
|
513
548
|
export interface UpsertSocialSettingsResponse {
|
|
@@ -4163,7 +4198,7 @@ export namespace UnblockUserResponse_Ok {
|
|
|
4163
4198
|
}
|
|
4164
4199
|
|
|
4165
4200
|
function createBaseSocialSettings(): SocialSettings {
|
|
4166
|
-
return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0 };
|
|
4201
|
+
return { privateMessagesPrivacy: 0, blockedUsersMessagesVisibility: 0, showSituationReactions: 0 };
|
|
4167
4202
|
}
|
|
4168
4203
|
|
|
4169
4204
|
export namespace SocialSettings {
|
|
@@ -4174,6 +4209,9 @@ export namespace SocialSettings {
|
|
|
4174
4209
|
if (message.blockedUsersMessagesVisibility !== 0) {
|
|
4175
4210
|
writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
|
|
4176
4211
|
}
|
|
4212
|
+
if (message.showSituationReactions !== 0) {
|
|
4213
|
+
writer.uint32(24).int32(message.showSituationReactions);
|
|
4214
|
+
}
|
|
4177
4215
|
return writer;
|
|
4178
4216
|
}
|
|
4179
4217
|
|
|
@@ -4198,6 +4236,13 @@ export namespace SocialSettings {
|
|
|
4198
4236
|
|
|
4199
4237
|
message.blockedUsersMessagesVisibility = reader.int32() as any;
|
|
4200
4238
|
continue;
|
|
4239
|
+
case 3:
|
|
4240
|
+
if (tag !== 24) {
|
|
4241
|
+
break;
|
|
4242
|
+
}
|
|
4243
|
+
|
|
4244
|
+
message.showSituationReactions = reader.int32() as any;
|
|
4245
|
+
continue;
|
|
4201
4246
|
}
|
|
4202
4247
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4203
4248
|
break;
|
|
@@ -4215,6 +4260,9 @@ export namespace SocialSettings {
|
|
|
4215
4260
|
blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
|
|
4216
4261
|
? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
|
|
4217
4262
|
: 0,
|
|
4263
|
+
showSituationReactions: isSet(object.showSituationReactions)
|
|
4264
|
+
? situationReactionsVisibilityFromJSON(object.showSituationReactions)
|
|
4265
|
+
: 0,
|
|
4218
4266
|
};
|
|
4219
4267
|
}
|
|
4220
4268
|
|
|
@@ -4226,6 +4274,8 @@ export namespace SocialSettings {
|
|
|
4226
4274
|
(obj.blockedUsersMessagesVisibility = blockedUsersMessagesVisibilitySettingToJSON(
|
|
4227
4275
|
message.blockedUsersMessagesVisibility,
|
|
4228
4276
|
));
|
|
4277
|
+
message.showSituationReactions !== undefined &&
|
|
4278
|
+
(obj.showSituationReactions = situationReactionsVisibilityToJSON(message.showSituationReactions));
|
|
4229
4279
|
return obj;
|
|
4230
4280
|
}
|
|
4231
4281
|
|
|
@@ -4237,6 +4287,7 @@ export namespace SocialSettings {
|
|
|
4237
4287
|
const message = createBaseSocialSettings();
|
|
4238
4288
|
message.privateMessagesPrivacy = object.privateMessagesPrivacy ?? 0;
|
|
4239
4289
|
message.blockedUsersMessagesVisibility = object.blockedUsersMessagesVisibility ?? 0;
|
|
4290
|
+
message.showSituationReactions = object.showSituationReactions ?? 0;
|
|
4240
4291
|
return message;
|
|
4241
4292
|
}
|
|
4242
4293
|
}
|
|
@@ -4406,7 +4457,11 @@ export namespace GetSocialSettingsResponse_Ok {
|
|
|
4406
4457
|
}
|
|
4407
4458
|
|
|
4408
4459
|
function createBaseUpsertSocialSettingsPayload(): UpsertSocialSettingsPayload {
|
|
4409
|
-
return {
|
|
4460
|
+
return {
|
|
4461
|
+
privateMessagesPrivacy: undefined,
|
|
4462
|
+
blockedUsersMessagesVisibility: undefined,
|
|
4463
|
+
showSituationReactions: undefined,
|
|
4464
|
+
};
|
|
4410
4465
|
}
|
|
4411
4466
|
|
|
4412
4467
|
export namespace UpsertSocialSettingsPayload {
|
|
@@ -4417,6 +4472,9 @@ export namespace UpsertSocialSettingsPayload {
|
|
|
4417
4472
|
if (message.blockedUsersMessagesVisibility !== undefined) {
|
|
4418
4473
|
writer.uint32(16).int32(message.blockedUsersMessagesVisibility);
|
|
4419
4474
|
}
|
|
4475
|
+
if (message.showSituationReactions !== undefined) {
|
|
4476
|
+
writer.uint32(24).int32(message.showSituationReactions);
|
|
4477
|
+
}
|
|
4420
4478
|
return writer;
|
|
4421
4479
|
}
|
|
4422
4480
|
|
|
@@ -4441,6 +4499,13 @@ export namespace UpsertSocialSettingsPayload {
|
|
|
4441
4499
|
|
|
4442
4500
|
message.blockedUsersMessagesVisibility = reader.int32() as any;
|
|
4443
4501
|
continue;
|
|
4502
|
+
case 3:
|
|
4503
|
+
if (tag !== 24) {
|
|
4504
|
+
break;
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
message.showSituationReactions = reader.int32() as any;
|
|
4508
|
+
continue;
|
|
4444
4509
|
}
|
|
4445
4510
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4446
4511
|
break;
|
|
@@ -4458,6 +4523,9 @@ export namespace UpsertSocialSettingsPayload {
|
|
|
4458
4523
|
blockedUsersMessagesVisibility: isSet(object.blockedUsersMessagesVisibility)
|
|
4459
4524
|
? blockedUsersMessagesVisibilitySettingFromJSON(object.blockedUsersMessagesVisibility)
|
|
4460
4525
|
: undefined,
|
|
4526
|
+
showSituationReactions: isSet(object.showSituationReactions)
|
|
4527
|
+
? situationReactionsVisibilityFromJSON(object.showSituationReactions)
|
|
4528
|
+
: undefined,
|
|
4461
4529
|
};
|
|
4462
4530
|
}
|
|
4463
4531
|
|
|
@@ -4471,6 +4539,10 @@ export namespace UpsertSocialSettingsPayload {
|
|
|
4471
4539
|
(obj.blockedUsersMessagesVisibility = message.blockedUsersMessagesVisibility !== undefined
|
|
4472
4540
|
? blockedUsersMessagesVisibilitySettingToJSON(message.blockedUsersMessagesVisibility)
|
|
4473
4541
|
: undefined);
|
|
4542
|
+
message.showSituationReactions !== undefined &&
|
|
4543
|
+
(obj.showSituationReactions = message.showSituationReactions !== undefined
|
|
4544
|
+
? situationReactionsVisibilityToJSON(message.showSituationReactions)
|
|
4545
|
+
: undefined);
|
|
4474
4546
|
return obj;
|
|
4475
4547
|
}
|
|
4476
4548
|
|
|
@@ -4486,6 +4558,7 @@ export namespace UpsertSocialSettingsPayload {
|
|
|
4486
4558
|
const message = createBaseUpsertSocialSettingsPayload();
|
|
4487
4559
|
message.privateMessagesPrivacy = object.privateMessagesPrivacy ?? undefined;
|
|
4488
4560
|
message.blockedUsersMessagesVisibility = object.blockedUsersMessagesVisibility ?? undefined;
|
|
4561
|
+
message.showSituationReactions = object.showSituationReactions ?? undefined;
|
|
4489
4562
|
return message;
|
|
4490
4563
|
}
|
|
4491
4564
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-23196288562.commit-d5b739b",
|
|
4
4
|
"description": "",
|
|
5
|
-
"repository":
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/decentraland/protocol.git"
|
|
8
|
-
},
|
|
5
|
+
"repository": "decentraland/protocol.git",
|
|
9
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
10
7
|
"bugs": "https://github.com/decentraland/protocol/issues",
|
|
11
8
|
"keywords": [],
|
|
@@ -33,5 +30,5 @@
|
|
|
33
30
|
"out-js",
|
|
34
31
|
"public"
|
|
35
32
|
],
|
|
36
|
-
"commit": "
|
|
33
|
+
"commit": "d5b739b42866f79e4a552b697666f0793a42d308"
|
|
37
34
|
}
|
|
@@ -36,17 +36,10 @@ message VideoTexture {
|
|
|
36
36
|
optional TextureFilterMode filter_mode = 3; // default = FilterMode.Bilinear
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
message UiCanvasTexture {
|
|
40
|
-
uint32 ui_canvas_entity = 1;
|
|
41
|
-
optional TextureWrapMode wrap_mode = 2; // default = TextureWrapMode.Clamp
|
|
42
|
-
optional TextureFilterMode filter_mode = 3; // default = FilterMode.Bilinear
|
|
43
|
-
}
|
|
44
|
-
|
|
45
39
|
message TextureUnion {
|
|
46
40
|
oneof tex {
|
|
47
41
|
Texture texture = 1; // default = null
|
|
48
42
|
AvatarTexture avatar_texture = 2; // default = null
|
|
49
43
|
VideoTexture video_texture = 3; // default = null
|
|
50
|
-
UiCanvasTexture ui_texture = 4;
|
|
51
44
|
}
|
|
52
|
-
}
|
|
45
|
+
}
|