@dcl/protocol 1.0.0-4810686946.commit-7c034e3 → 1.0.0-4896874496.commit-2ebeae0
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/bff/authentication_service.gen.js +12 -12
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.js +7 -7
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.js +4 -4
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.js +47 -47
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.js +14 -14
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.js +10 -10
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.js +9 -9
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.js +3 -3
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.js +17 -17
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.js +16 -16
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.js +11 -11
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +4 -4
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +101 -101
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +38 -38
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +31 -31
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +20 -20
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.js +10 -10
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.js +10 -10
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +17 -17
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +22 -22
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.js +23 -23
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +19 -19
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.js +26 -26
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +35 -35
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +33 -33
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +47 -47
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.js +47 -47
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.js +10 -10
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.js +6 -6
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +4 -4
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +3 -3
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +5 -5
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +12 -12
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.js +2 -2
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +2 -2
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -3
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +8 -8
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.js +4 -4
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +4 -4
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +2 -2
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.js +25 -25
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +12 -12
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +15 -15
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +4 -4
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +10 -10
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +7 -7
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +2 -2
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.js +11 -11
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +6 -6
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -22
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.js +7 -7
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +10 -10
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +2 -2
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.js +9 -9
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +2 -2
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.js +6 -6
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +52 -52
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.js +7 -7
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +2 -2
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +11 -10
- package/out-js/decentraland/social/friendships/friendships.gen.js +105 -99
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.js +141 -141
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.js +1 -1
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +12 -12
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +7 -7
- package/out-ts/decentraland/bff/comms_service.gen.ts +4 -4
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +47 -47
- package/out-ts/decentraland/bff/topics_service.gen.ts +14 -14
- package/out-ts/decentraland/common/border_rect.gen.ts +10 -10
- package/out-ts/decentraland/common/colors.gen.ts +9 -9
- package/out-ts/decentraland/common/content_mapping.gen.ts +3 -3
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +17 -17
- package/out-ts/decentraland/common/texture.gen.ts +16 -16
- package/out-ts/decentraland/common/vectors.gen.ts +11 -11
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +101 -101
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +38 -38
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +31 -31
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +20 -20
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +12 -10
- package/out-ts/decentraland/kernel/apis/players.gen.ts +10 -10
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +17 -17
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +22 -22
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +23 -23
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +6 -6
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +19 -19
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +6 -6
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +26 -26
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +6 -6
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +35 -35
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +33 -33
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +47 -47
- package/out-ts/decentraland/realm/about.gen.ts +47 -47
- package/out-ts/decentraland/sdk/components/animator.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +3 -3
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +6 -5
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +12 -12
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +3 -3
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +8 -8
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/material.gen.ts +25 -25
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +12 -12
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +17 -15
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +7 -7
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +11 -11
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +22 -22
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +8 -7
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +9 -9
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +52 -52
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +7 -7
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +2 -2
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +99 -93
- package/out-ts/google/protobuf/descriptor.gen.ts +146 -141
- package/out-ts/google/protobuf/empty.gen.ts +1 -1
- package/package.json +8 -5
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/social/friendships/friendships.proto +9 -8
|
@@ -89,70 +89,70 @@ export const PBUiDropdown = {
|
|
|
89
89
|
const tag = reader.uint32();
|
|
90
90
|
switch (tag >>> 3) {
|
|
91
91
|
case 1:
|
|
92
|
-
if (tag
|
|
92
|
+
if (tag !== 8) {
|
|
93
93
|
break;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
message.acceptEmpty = reader.bool();
|
|
97
97
|
continue;
|
|
98
98
|
case 2:
|
|
99
|
-
if (tag
|
|
99
|
+
if (tag !== 18) {
|
|
100
100
|
break;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
message.emptyLabel = reader.string();
|
|
104
104
|
continue;
|
|
105
105
|
case 3:
|
|
106
|
-
if (tag
|
|
106
|
+
if (tag !== 26) {
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
message.options.push(reader.string());
|
|
111
111
|
continue;
|
|
112
112
|
case 4:
|
|
113
|
-
if (tag
|
|
113
|
+
if (tag !== 32) {
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
message.selectedIndex = reader.int32();
|
|
118
118
|
continue;
|
|
119
119
|
case 5:
|
|
120
|
-
if (tag
|
|
120
|
+
if (tag !== 40) {
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
message.disabled = reader.bool();
|
|
125
125
|
continue;
|
|
126
126
|
case 6:
|
|
127
|
-
if (tag
|
|
127
|
+
if (tag !== 50) {
|
|
128
128
|
break;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
message.color = Color4.decode(reader, reader.uint32());
|
|
132
132
|
continue;
|
|
133
133
|
case 10:
|
|
134
|
-
if (tag
|
|
134
|
+
if (tag !== 80) {
|
|
135
135
|
break;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
message.textAlign = reader.int32() as any;
|
|
139
139
|
continue;
|
|
140
140
|
case 11:
|
|
141
|
-
if (tag
|
|
141
|
+
if (tag !== 88) {
|
|
142
142
|
break;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
message.font = reader.int32() as any;
|
|
146
146
|
continue;
|
|
147
147
|
case 12:
|
|
148
|
-
if (tag
|
|
148
|
+
if (tag !== 96) {
|
|
149
149
|
break;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
message.fontSize = reader.int32();
|
|
153
153
|
continue;
|
|
154
154
|
}
|
|
155
|
-
if ((tag & 7)
|
|
155
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
156
156
|
break;
|
|
157
157
|
}
|
|
158
158
|
reader.skipType(tag & 7);
|
|
@@ -27,14 +27,14 @@ export const PBUiDropdownResult = {
|
|
|
27
27
|
const tag = reader.uint32();
|
|
28
28
|
switch (tag >>> 3) {
|
|
29
29
|
case 1:
|
|
30
|
-
if (tag
|
|
30
|
+
if (tag !== 8) {
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
message.value = reader.int32();
|
|
35
35
|
continue;
|
|
36
36
|
}
|
|
37
|
-
if ((tag & 7)
|
|
37
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
40
|
reader.skipType(tag & 7);
|
|
@@ -84,63 +84,63 @@ export const PBUiInput = {
|
|
|
84
84
|
const tag = reader.uint32();
|
|
85
85
|
switch (tag >>> 3) {
|
|
86
86
|
case 1:
|
|
87
|
-
if (tag
|
|
87
|
+
if (tag !== 10) {
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
message.placeholder = reader.string();
|
|
92
92
|
continue;
|
|
93
93
|
case 2:
|
|
94
|
-
if (tag
|
|
94
|
+
if (tag !== 18) {
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
message.color = Color4.decode(reader, reader.uint32());
|
|
99
99
|
continue;
|
|
100
100
|
case 3:
|
|
101
|
-
if (tag
|
|
101
|
+
if (tag !== 26) {
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
message.placeholderColor = Color4.decode(reader, reader.uint32());
|
|
106
106
|
continue;
|
|
107
107
|
case 4:
|
|
108
|
-
if (tag
|
|
108
|
+
if (tag !== 32) {
|
|
109
109
|
break;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
message.disabled = reader.bool();
|
|
113
113
|
continue;
|
|
114
114
|
case 10:
|
|
115
|
-
if (tag
|
|
115
|
+
if (tag !== 80) {
|
|
116
116
|
break;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
message.textAlign = reader.int32() as any;
|
|
120
120
|
continue;
|
|
121
121
|
case 11:
|
|
122
|
-
if (tag
|
|
122
|
+
if (tag !== 88) {
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
message.font = reader.int32() as any;
|
|
127
127
|
continue;
|
|
128
128
|
case 12:
|
|
129
|
-
if (tag
|
|
129
|
+
if (tag !== 96) {
|
|
130
130
|
break;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
message.fontSize = reader.int32();
|
|
134
134
|
continue;
|
|
135
135
|
case 13:
|
|
136
|
-
if (tag
|
|
136
|
+
if (tag !== 106) {
|
|
137
137
|
break;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
message.value = reader.string();
|
|
141
141
|
continue;
|
|
142
142
|
}
|
|
143
|
-
if ((tag & 7)
|
|
143
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
reader.skipType(tag & 7);
|
|
@@ -27,14 +27,14 @@ export const PBUiInputResult = {
|
|
|
27
27
|
const tag = reader.uint32();
|
|
28
28
|
switch (tag >>> 3) {
|
|
29
29
|
case 1:
|
|
30
|
-
if (tag
|
|
30
|
+
if (tag !== 10) {
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
message.value = reader.string();
|
|
35
35
|
continue;
|
|
36
36
|
}
|
|
37
|
-
if ((tag & 7)
|
|
37
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
40
|
reader.skipType(tag & 7);
|
|
@@ -63,42 +63,42 @@ export const PBUiText = {
|
|
|
63
63
|
const tag = reader.uint32();
|
|
64
64
|
switch (tag >>> 3) {
|
|
65
65
|
case 1:
|
|
66
|
-
if (tag
|
|
66
|
+
if (tag !== 10) {
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
message.value = reader.string();
|
|
71
71
|
continue;
|
|
72
72
|
case 2:
|
|
73
|
-
if (tag
|
|
73
|
+
if (tag !== 18) {
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
message.color = Color4.decode(reader, reader.uint32());
|
|
78
78
|
continue;
|
|
79
79
|
case 3:
|
|
80
|
-
if (tag
|
|
80
|
+
if (tag !== 24) {
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
message.textAlign = reader.int32() as any;
|
|
85
85
|
continue;
|
|
86
86
|
case 4:
|
|
87
|
-
if (tag
|
|
87
|
+
if (tag !== 32) {
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
message.font = reader.int32() as any;
|
|
92
92
|
continue;
|
|
93
93
|
case 5:
|
|
94
|
-
if (tag
|
|
94
|
+
if (tag !== 40) {
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
message.fontSize = reader.int32();
|
|
99
99
|
continue;
|
|
100
100
|
}
|
|
101
|
-
if ((tag & 7)
|
|
101
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
reader.skipType(tag & 7);
|
|
@@ -751,364 +751,364 @@ export const PBUiTransform = {
|
|
|
751
751
|
const tag = reader.uint32();
|
|
752
752
|
switch (tag >>> 3) {
|
|
753
753
|
case 1:
|
|
754
|
-
if (tag
|
|
754
|
+
if (tag !== 8) {
|
|
755
755
|
break;
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
message.parent = reader.int32();
|
|
759
759
|
continue;
|
|
760
760
|
case 2:
|
|
761
|
-
if (tag
|
|
761
|
+
if (tag !== 16) {
|
|
762
762
|
break;
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
message.rightOf = reader.int32();
|
|
766
766
|
continue;
|
|
767
767
|
case 3:
|
|
768
|
-
if (tag
|
|
768
|
+
if (tag !== 24) {
|
|
769
769
|
break;
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
message.alignContent = reader.int32() as any;
|
|
773
773
|
continue;
|
|
774
774
|
case 4:
|
|
775
|
-
if (tag
|
|
775
|
+
if (tag !== 32) {
|
|
776
776
|
break;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
message.alignItems = reader.int32() as any;
|
|
780
780
|
continue;
|
|
781
781
|
case 5:
|
|
782
|
-
if (tag
|
|
782
|
+
if (tag !== 40) {
|
|
783
783
|
break;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
message.flexWrap = reader.int32() as any;
|
|
787
787
|
continue;
|
|
788
788
|
case 6:
|
|
789
|
-
if (tag
|
|
789
|
+
if (tag !== 53) {
|
|
790
790
|
break;
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
message.flexShrink = reader.float();
|
|
794
794
|
continue;
|
|
795
795
|
case 7:
|
|
796
|
-
if (tag
|
|
796
|
+
if (tag !== 56) {
|
|
797
797
|
break;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
message.positionType = reader.int32() as any;
|
|
801
801
|
continue;
|
|
802
802
|
case 8:
|
|
803
|
-
if (tag
|
|
803
|
+
if (tag !== 64) {
|
|
804
804
|
break;
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
message.alignSelf = reader.int32() as any;
|
|
808
808
|
continue;
|
|
809
809
|
case 9:
|
|
810
|
-
if (tag
|
|
810
|
+
if (tag !== 72) {
|
|
811
811
|
break;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
message.flexDirection = reader.int32() as any;
|
|
815
815
|
continue;
|
|
816
816
|
case 10:
|
|
817
|
-
if (tag
|
|
817
|
+
if (tag !== 80) {
|
|
818
818
|
break;
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
message.justifyContent = reader.int32() as any;
|
|
822
822
|
continue;
|
|
823
823
|
case 11:
|
|
824
|
-
if (tag
|
|
824
|
+
if (tag !== 88) {
|
|
825
825
|
break;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
message.overflow = reader.int32() as any;
|
|
829
829
|
continue;
|
|
830
830
|
case 12:
|
|
831
|
-
if (tag
|
|
831
|
+
if (tag !== 96) {
|
|
832
832
|
break;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
message.display = reader.int32() as any;
|
|
836
836
|
continue;
|
|
837
837
|
case 13:
|
|
838
|
-
if (tag
|
|
838
|
+
if (tag !== 104) {
|
|
839
839
|
break;
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
message.flexBasisUnit = reader.int32() as any;
|
|
843
843
|
continue;
|
|
844
844
|
case 14:
|
|
845
|
-
if (tag
|
|
845
|
+
if (tag !== 117) {
|
|
846
846
|
break;
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
message.flexBasis = reader.float();
|
|
850
850
|
continue;
|
|
851
851
|
case 15:
|
|
852
|
-
if (tag
|
|
852
|
+
if (tag !== 125) {
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
message.flexGrow = reader.float();
|
|
857
857
|
continue;
|
|
858
858
|
case 16:
|
|
859
|
-
if (tag
|
|
859
|
+
if (tag !== 128) {
|
|
860
860
|
break;
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
message.widthUnit = reader.int32() as any;
|
|
864
864
|
continue;
|
|
865
865
|
case 17:
|
|
866
|
-
if (tag
|
|
866
|
+
if (tag !== 141) {
|
|
867
867
|
break;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
message.width = reader.float();
|
|
871
871
|
continue;
|
|
872
872
|
case 18:
|
|
873
|
-
if (tag
|
|
873
|
+
if (tag !== 144) {
|
|
874
874
|
break;
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
message.heightUnit = reader.int32() as any;
|
|
878
878
|
continue;
|
|
879
879
|
case 19:
|
|
880
|
-
if (tag
|
|
880
|
+
if (tag !== 157) {
|
|
881
881
|
break;
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
message.height = reader.float();
|
|
885
885
|
continue;
|
|
886
886
|
case 20:
|
|
887
|
-
if (tag
|
|
887
|
+
if (tag !== 160) {
|
|
888
888
|
break;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
message.minWidthUnit = reader.int32() as any;
|
|
892
892
|
continue;
|
|
893
893
|
case 21:
|
|
894
|
-
if (tag
|
|
894
|
+
if (tag !== 173) {
|
|
895
895
|
break;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
message.minWidth = reader.float();
|
|
899
899
|
continue;
|
|
900
900
|
case 22:
|
|
901
|
-
if (tag
|
|
901
|
+
if (tag !== 176) {
|
|
902
902
|
break;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
905
|
message.minHeightUnit = reader.int32() as any;
|
|
906
906
|
continue;
|
|
907
907
|
case 23:
|
|
908
|
-
if (tag
|
|
908
|
+
if (tag !== 189) {
|
|
909
909
|
break;
|
|
910
910
|
}
|
|
911
911
|
|
|
912
912
|
message.minHeight = reader.float();
|
|
913
913
|
continue;
|
|
914
914
|
case 24:
|
|
915
|
-
if (tag
|
|
915
|
+
if (tag !== 192) {
|
|
916
916
|
break;
|
|
917
917
|
}
|
|
918
918
|
|
|
919
919
|
message.maxWidthUnit = reader.int32() as any;
|
|
920
920
|
continue;
|
|
921
921
|
case 25:
|
|
922
|
-
if (tag
|
|
922
|
+
if (tag !== 205) {
|
|
923
923
|
break;
|
|
924
924
|
}
|
|
925
925
|
|
|
926
926
|
message.maxWidth = reader.float();
|
|
927
927
|
continue;
|
|
928
928
|
case 26:
|
|
929
|
-
if (tag
|
|
929
|
+
if (tag !== 208) {
|
|
930
930
|
break;
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
message.maxHeightUnit = reader.int32() as any;
|
|
934
934
|
continue;
|
|
935
935
|
case 27:
|
|
936
|
-
if (tag
|
|
936
|
+
if (tag !== 221) {
|
|
937
937
|
break;
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
message.maxHeight = reader.float();
|
|
941
941
|
continue;
|
|
942
942
|
case 28:
|
|
943
|
-
if (tag
|
|
943
|
+
if (tag !== 224) {
|
|
944
944
|
break;
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
message.positionLeftUnit = reader.int32() as any;
|
|
948
948
|
continue;
|
|
949
949
|
case 29:
|
|
950
|
-
if (tag
|
|
950
|
+
if (tag !== 237) {
|
|
951
951
|
break;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
954
|
message.positionLeft = reader.float();
|
|
955
955
|
continue;
|
|
956
956
|
case 30:
|
|
957
|
-
if (tag
|
|
957
|
+
if (tag !== 240) {
|
|
958
958
|
break;
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
message.positionTopUnit = reader.int32() as any;
|
|
962
962
|
continue;
|
|
963
963
|
case 31:
|
|
964
|
-
if (tag
|
|
964
|
+
if (tag !== 253) {
|
|
965
965
|
break;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
message.positionTop = reader.float();
|
|
969
969
|
continue;
|
|
970
970
|
case 32:
|
|
971
|
-
if (tag
|
|
971
|
+
if (tag !== 256) {
|
|
972
972
|
break;
|
|
973
973
|
}
|
|
974
974
|
|
|
975
975
|
message.positionRightUnit = reader.int32() as any;
|
|
976
976
|
continue;
|
|
977
977
|
case 33:
|
|
978
|
-
if (tag
|
|
978
|
+
if (tag !== 269) {
|
|
979
979
|
break;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
982
|
message.positionRight = reader.float();
|
|
983
983
|
continue;
|
|
984
984
|
case 34:
|
|
985
|
-
if (tag
|
|
985
|
+
if (tag !== 272) {
|
|
986
986
|
break;
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
message.positionBottomUnit = reader.int32() as any;
|
|
990
990
|
continue;
|
|
991
991
|
case 35:
|
|
992
|
-
if (tag
|
|
992
|
+
if (tag !== 285) {
|
|
993
993
|
break;
|
|
994
994
|
}
|
|
995
995
|
|
|
996
996
|
message.positionBottom = reader.float();
|
|
997
997
|
continue;
|
|
998
998
|
case 36:
|
|
999
|
-
if (tag
|
|
999
|
+
if (tag !== 288) {
|
|
1000
1000
|
break;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
message.marginLeftUnit = reader.int32() as any;
|
|
1004
1004
|
continue;
|
|
1005
1005
|
case 37:
|
|
1006
|
-
if (tag
|
|
1006
|
+
if (tag !== 301) {
|
|
1007
1007
|
break;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
message.marginLeft = reader.float();
|
|
1011
1011
|
continue;
|
|
1012
1012
|
case 38:
|
|
1013
|
-
if (tag
|
|
1013
|
+
if (tag !== 304) {
|
|
1014
1014
|
break;
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
message.marginTopUnit = reader.int32() as any;
|
|
1018
1018
|
continue;
|
|
1019
1019
|
case 39:
|
|
1020
|
-
if (tag
|
|
1020
|
+
if (tag !== 317) {
|
|
1021
1021
|
break;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
message.marginTop = reader.float();
|
|
1025
1025
|
continue;
|
|
1026
1026
|
case 40:
|
|
1027
|
-
if (tag
|
|
1027
|
+
if (tag !== 320) {
|
|
1028
1028
|
break;
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
message.marginRightUnit = reader.int32() as any;
|
|
1032
1032
|
continue;
|
|
1033
1033
|
case 41:
|
|
1034
|
-
if (tag
|
|
1034
|
+
if (tag !== 333) {
|
|
1035
1035
|
break;
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
message.marginRight = reader.float();
|
|
1039
1039
|
continue;
|
|
1040
1040
|
case 42:
|
|
1041
|
-
if (tag
|
|
1041
|
+
if (tag !== 336) {
|
|
1042
1042
|
break;
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
message.marginBottomUnit = reader.int32() as any;
|
|
1046
1046
|
continue;
|
|
1047
1047
|
case 43:
|
|
1048
|
-
if (tag
|
|
1048
|
+
if (tag !== 349) {
|
|
1049
1049
|
break;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
message.marginBottom = reader.float();
|
|
1053
1053
|
continue;
|
|
1054
1054
|
case 44:
|
|
1055
|
-
if (tag
|
|
1055
|
+
if (tag !== 352) {
|
|
1056
1056
|
break;
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
1059
|
message.paddingLeftUnit = reader.int32() as any;
|
|
1060
1060
|
continue;
|
|
1061
1061
|
case 45:
|
|
1062
|
-
if (tag
|
|
1062
|
+
if (tag !== 365) {
|
|
1063
1063
|
break;
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
1066
|
message.paddingLeft = reader.float();
|
|
1067
1067
|
continue;
|
|
1068
1068
|
case 46:
|
|
1069
|
-
if (tag
|
|
1069
|
+
if (tag !== 368) {
|
|
1070
1070
|
break;
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
message.paddingTopUnit = reader.int32() as any;
|
|
1074
1074
|
continue;
|
|
1075
1075
|
case 47:
|
|
1076
|
-
if (tag
|
|
1076
|
+
if (tag !== 381) {
|
|
1077
1077
|
break;
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
1080
|
message.paddingTop = reader.float();
|
|
1081
1081
|
continue;
|
|
1082
1082
|
case 48:
|
|
1083
|
-
if (tag
|
|
1083
|
+
if (tag !== 384) {
|
|
1084
1084
|
break;
|
|
1085
1085
|
}
|
|
1086
1086
|
|
|
1087
1087
|
message.paddingRightUnit = reader.int32() as any;
|
|
1088
1088
|
continue;
|
|
1089
1089
|
case 49:
|
|
1090
|
-
if (tag
|
|
1090
|
+
if (tag !== 397) {
|
|
1091
1091
|
break;
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
1094
|
message.paddingRight = reader.float();
|
|
1095
1095
|
continue;
|
|
1096
1096
|
case 50:
|
|
1097
|
-
if (tag
|
|
1097
|
+
if (tag !== 400) {
|
|
1098
1098
|
break;
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
1101
|
message.paddingBottomUnit = reader.int32() as any;
|
|
1102
1102
|
continue;
|
|
1103
1103
|
case 51:
|
|
1104
|
-
if (tag
|
|
1104
|
+
if (tag !== 413) {
|
|
1105
1105
|
break;
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
message.paddingBottom = reader.float();
|
|
1109
1109
|
continue;
|
|
1110
1110
|
}
|
|
1111
|
-
if ((tag & 7)
|
|
1111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1112
1112
|
break;
|
|
1113
1113
|
}
|
|
1114
1114
|
reader.skipType(tag & 7);
|