@dcl/protocol 1.0.0-3160772301.commit-334e7a1 → 1.0.0-31617402096.commit-86c4613
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/README.md +285 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +105 -0
- package/out-js/decentraland/common/texture.gen.js +475 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +353 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1241 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +313 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1973 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -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 +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -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 +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +160 -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 +74 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +264 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -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 +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +17 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +73 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.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 +41 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.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/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +68 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +219 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +108 -0
- package/out-js/decentraland/sdk/components/material.gen.js +536 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +130 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -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 +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -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 +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -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 +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -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 +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -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 +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -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 +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -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 +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -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 +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -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 +238 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -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 +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -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 +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.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-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +539 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1348 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2225 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1540 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +195 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +349 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +70 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +263 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +28 -10
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/{kernel/apis/common/ContentMapping.proto → proto/decentraland/common/content_mapping.proto} +1 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/{kernel/apis/common/UserData.proto → proto/decentraland/common/sdk/user_data.proto} +1 -0
- package/proto/decentraland/common/texture.proto +45 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
- package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +3 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +12 -1
- package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +6 -2
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +129 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +9 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +2 -0
- package/{kernel/apis/UserIdentity.proto → proto/decentraland/kernel/apis/user_identity.proto} +4 -2
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +165 -0
- package/{kernel/comms/ws-comms-rfc-5.proto → proto/decentraland/kernel/comms/rfc5/ws_comms.proto} +7 -4
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +97 -0
- package/{kernel → proto/decentraland/kernel}/comms/v3/comms.proto +3 -3
- package/proto/decentraland/pulse/pulse_client.proto +79 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +44 -0
- package/proto/decentraland/sdk/components/billboard.proto +35 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +14 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +37 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +31 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +64 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +178 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +46 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/bff/authentication-service.proto +0 -25
- package/bff/comms-service.proto +0 -49
- package/bff/http-endpoints.proto +0 -66
- package/ecs/components/Animator.proto +0 -18
- package/ecs/components/AudioSource.proto +0 -12
- package/ecs/components/AudioStream.proto +0 -10
- package/ecs/components/AvatarAttach.proto +0 -16
- package/ecs/components/AvatarModifierArea.proto +0 -16
- package/ecs/components/AvatarShape.proto +0 -31
- package/ecs/components/Billboard.proto +0 -10
- package/ecs/components/BoxShape.proto +0 -14
- package/ecs/components/CameraMode.proto +0 -9
- package/ecs/components/CameraModeArea.proto +0 -11
- package/ecs/components/CylinderShape.proto +0 -15
- package/ecs/components/GltfContainer.proto +0 -12
- package/ecs/components/Material.proto +0 -59
- package/ecs/components/MeshCollider.proto +0 -35
- package/ecs/components/MeshRenderer.proto +0 -29
- package/ecs/components/NFTShape.proto +0 -38
- package/ecs/components/OnPointerDown.proto +0 -12
- package/ecs/components/OnPointerDownResult.proto +0 -17
- package/ecs/components/OnPointerUp.proto +0 -12
- package/ecs/components/OnPointerUpResult.proto +0 -17
- package/ecs/components/PlaneShape.proto +0 -14
- package/ecs/components/PointerEvents.proto +0 -28
- package/ecs/components/PointerEventsResult.proto +0 -22
- package/ecs/components/PointerLock.proto +0 -8
- package/ecs/components/Raycast.proto +0 -19
- package/ecs/components/RaycastResult.proto +0 -24
- package/ecs/components/SphereShape.proto +0 -13
- package/ecs/components/TextShape.proto +0 -34
- package/ecs/components/UiStyles.proto +0 -10
- package/ecs/components/UiText.proto +0 -25
- package/ecs/components/UiTransform.proto +0 -162
- package/ecs/components/VisibilityComponent.proto +0 -8
- package/ecs/components/common/ActionButton.proto +0 -18
- package/ecs/components/common/CameraModeValue.proto +0 -6
- package/ecs/components/common/Color3.proto +0 -8
- package/ecs/components/common/Color4.proto +0 -8
- package/ecs/components/common/Vector3.proto +0 -7
- package/kernel/apis/CommunicationsController.proto +0 -11
- package/kernel/apis/EngineAPI.proto +0 -180
- package/kernel/apis/EnvironmentAPI.proto +0 -67
- package/kernel/apis/ExperimentalAPI.proto +0 -16
- package/kernel/apis/Permissions.proto +0 -30
- package/kernel/apis/Players.proto +0 -28
- package/kernel/apis/PortableExperiences.proto +0 -40
- package/kernel/apis/RestrictedActions.proto +0 -25
- package/kernel/apis/SceneStateStorageController.proto +0 -114
- package/kernel/apis/SocialController.proto +0 -15
- package/kernel/comms/comms-rfc-4.proto +0 -71
- package/kernel/comms/v1/broker.proto +0 -114
- package/kernel/comms/v1/comms.proto +0 -68
- package/kernel/comms/v2/comms.proto +0 -61
- package/kernel/comms/v3/archipelago.proto +0 -77
- package/renderer-protocol/EngineInterface.proto +0 -716
- package/renderer-protocol/RendererProtocol.proto +0 -26
- /package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
- /package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Self-contained protobuf wire-format codec for protoc-gen-bitwise.
|
|
5
|
+
*
|
|
6
|
+
* The plugin only needs a tiny slice of the descriptor/plugin schemas, so
|
|
7
|
+
* rather than pull in a protobuf runtime (which would force every consumer —
|
|
8
|
+
* including the sibling Pulse checkout that runs this file directly off disk —
|
|
9
|
+
* to `npm install` the protocol repo) we decode the handful of fields we care
|
|
10
|
+
* about by walking the wire format directly. This mirrors the original Python
|
|
11
|
+
* plugin, which already hand-parsed FieldOptions for the same reason.
|
|
12
|
+
*
|
|
13
|
+
* Decoded subset:
|
|
14
|
+
* CodeGeneratorRequest { file_to_generate = 1; proto_file = 15; }
|
|
15
|
+
* FileDescriptorProto { name = 1; package = 2; message_type = 4; }
|
|
16
|
+
* DescriptorProto { name = 1; field = 2; }
|
|
17
|
+
* FieldDescriptorProto { name = 1; label = 4; type = 5; options = 8 (raw bytes); }
|
|
18
|
+
*
|
|
19
|
+
* Encoded subset:
|
|
20
|
+
* CodeGeneratorResponse { error = 1; supported_features = 2; file = 15; }
|
|
21
|
+
* CodeGeneratorResponse.File { name = 1; content = 15; }
|
|
22
|
+
*
|
|
23
|
+
* Wire types: 0 = varint, 1 = 64-bit, 2 = length-delimited, 5 = 32-bit.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
// ---------------------------------------------------------------------------
|
|
27
|
+
// Low-level readers
|
|
28
|
+
// ---------------------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
/** Decode a protobuf varint at `pos`. Returns [value, newPos]. */
|
|
31
|
+
function readVarint(buf, pos) {
|
|
32
|
+
let result = 0
|
|
33
|
+
let shift = 0
|
|
34
|
+
let byte
|
|
35
|
+
do {
|
|
36
|
+
byte = buf[pos++]
|
|
37
|
+
// Multiplication (not <<) keeps values correct past 32 bits.
|
|
38
|
+
result += (byte & 0x7f) * Math.pow(2, shift)
|
|
39
|
+
shift += 7
|
|
40
|
+
} while (byte & 0x80)
|
|
41
|
+
return [result, pos]
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Advance `pos` past a field of the given wire type. Returns newPos. */
|
|
45
|
+
function skipField(buf, pos, wireType) {
|
|
46
|
+
switch (wireType) {
|
|
47
|
+
case 0: // varint
|
|
48
|
+
return readVarint(buf, pos)[1]
|
|
49
|
+
case 1: // 64-bit
|
|
50
|
+
return pos + 8
|
|
51
|
+
case 2: {
|
|
52
|
+
// length-delimited
|
|
53
|
+
const [length, next] = readVarint(buf, pos)
|
|
54
|
+
return next + length
|
|
55
|
+
}
|
|
56
|
+
case 5: // 32-bit
|
|
57
|
+
return pos + 4
|
|
58
|
+
default:
|
|
59
|
+
// Groups (3/4) are deprecated and never appear in descriptors.
|
|
60
|
+
return pos
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// ---------------------------------------------------------------------------
|
|
65
|
+
// Request decoding
|
|
66
|
+
// ---------------------------------------------------------------------------
|
|
67
|
+
|
|
68
|
+
function decodeFieldDescriptor(buf) {
|
|
69
|
+
const field = { name: '', label: 0, type: 0, optionsRaw: null }
|
|
70
|
+
let pos = 0
|
|
71
|
+
while (pos < buf.length) {
|
|
72
|
+
let tag
|
|
73
|
+
;[tag, pos] = readVarint(buf, pos)
|
|
74
|
+
const fieldNum = tag >>> 3
|
|
75
|
+
const wireType = tag & 0x7
|
|
76
|
+
if (fieldNum === 1 && wireType === 2) {
|
|
77
|
+
let len
|
|
78
|
+
;[len, pos] = readVarint(buf, pos)
|
|
79
|
+
field.name = buf.toString('utf8', pos, pos + len)
|
|
80
|
+
pos += len
|
|
81
|
+
} else if (fieldNum === 4 && wireType === 0) {
|
|
82
|
+
;[field.label, pos] = readVarint(buf, pos)
|
|
83
|
+
} else if (fieldNum === 5 && wireType === 0) {
|
|
84
|
+
;[field.type, pos] = readVarint(buf, pos)
|
|
85
|
+
} else if (fieldNum === 8 && wireType === 2) {
|
|
86
|
+
let len
|
|
87
|
+
;[len, pos] = readVarint(buf, pos)
|
|
88
|
+
// Keep the raw FieldOptions bytes so custom extensions survive (the
|
|
89
|
+
// descriptor schema doesn't know about ext 50001/50002).
|
|
90
|
+
field.optionsRaw = buf.subarray(pos, pos + len)
|
|
91
|
+
pos += len
|
|
92
|
+
} else {
|
|
93
|
+
pos = skipField(buf, pos, wireType)
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return field
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function decodeDescriptor(buf) {
|
|
100
|
+
const message = { name: '', field: [] }
|
|
101
|
+
let pos = 0
|
|
102
|
+
while (pos < buf.length) {
|
|
103
|
+
let tag
|
|
104
|
+
;[tag, pos] = readVarint(buf, pos)
|
|
105
|
+
const fieldNum = tag >>> 3
|
|
106
|
+
const wireType = tag & 0x7
|
|
107
|
+
if (fieldNum === 1 && wireType === 2) {
|
|
108
|
+
let len
|
|
109
|
+
;[len, pos] = readVarint(buf, pos)
|
|
110
|
+
message.name = buf.toString('utf8', pos, pos + len)
|
|
111
|
+
pos += len
|
|
112
|
+
} else if (fieldNum === 2 && wireType === 2) {
|
|
113
|
+
let len
|
|
114
|
+
;[len, pos] = readVarint(buf, pos)
|
|
115
|
+
message.field.push(decodeFieldDescriptor(buf.subarray(pos, pos + len)))
|
|
116
|
+
pos += len
|
|
117
|
+
} else {
|
|
118
|
+
// nested_type / enum_type / etc. are intentionally ignored — the
|
|
119
|
+
// generator only walks top-level messages, matching the Python plugin.
|
|
120
|
+
pos = skipField(buf, pos, wireType)
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return message
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function decodeFileDescriptor(buf) {
|
|
127
|
+
const file = { name: '', package: '', messageType: [] }
|
|
128
|
+
let pos = 0
|
|
129
|
+
while (pos < buf.length) {
|
|
130
|
+
let tag
|
|
131
|
+
;[tag, pos] = readVarint(buf, pos)
|
|
132
|
+
const fieldNum = tag >>> 3
|
|
133
|
+
const wireType = tag & 0x7
|
|
134
|
+
if (fieldNum === 1 && wireType === 2) {
|
|
135
|
+
let len
|
|
136
|
+
;[len, pos] = readVarint(buf, pos)
|
|
137
|
+
file.name = buf.toString('utf8', pos, pos + len)
|
|
138
|
+
pos += len
|
|
139
|
+
} else if (fieldNum === 2 && wireType === 2) {
|
|
140
|
+
let len
|
|
141
|
+
;[len, pos] = readVarint(buf, pos)
|
|
142
|
+
file.package = buf.toString('utf8', pos, pos + len)
|
|
143
|
+
pos += len
|
|
144
|
+
} else if (fieldNum === 4 && wireType === 2) {
|
|
145
|
+
let len
|
|
146
|
+
;[len, pos] = readVarint(buf, pos)
|
|
147
|
+
file.messageType.push(decodeDescriptor(buf.subarray(pos, pos + len)))
|
|
148
|
+
pos += len
|
|
149
|
+
} else {
|
|
150
|
+
pos = skipField(buf, pos, wireType)
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return file
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** Decode a serialized CodeGeneratorRequest. */
|
|
157
|
+
function decodeRequest(buf) {
|
|
158
|
+
const request = { fileToGenerate: [], protoFile: [] }
|
|
159
|
+
let pos = 0
|
|
160
|
+
while (pos < buf.length) {
|
|
161
|
+
let tag
|
|
162
|
+
;[tag, pos] = readVarint(buf, pos)
|
|
163
|
+
const fieldNum = tag >>> 3
|
|
164
|
+
const wireType = tag & 0x7
|
|
165
|
+
if (fieldNum === 1 && wireType === 2) {
|
|
166
|
+
let len
|
|
167
|
+
;[len, pos] = readVarint(buf, pos)
|
|
168
|
+
request.fileToGenerate.push(buf.toString('utf8', pos, pos + len))
|
|
169
|
+
pos += len
|
|
170
|
+
} else if (fieldNum === 15 && wireType === 2) {
|
|
171
|
+
let len
|
|
172
|
+
;[len, pos] = readVarint(buf, pos)
|
|
173
|
+
request.protoFile.push(decodeFileDescriptor(buf.subarray(pos, pos + len)))
|
|
174
|
+
pos += len
|
|
175
|
+
} else {
|
|
176
|
+
pos = skipField(buf, pos, wireType)
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return request
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// ---------------------------------------------------------------------------
|
|
183
|
+
// Response encoding
|
|
184
|
+
// ---------------------------------------------------------------------------
|
|
185
|
+
|
|
186
|
+
/** Encode an unsigned integer as a protobuf varint Buffer. */
|
|
187
|
+
function encodeVarint(value) {
|
|
188
|
+
const bytes = []
|
|
189
|
+
let v = value
|
|
190
|
+
while (v > 0x7f) {
|
|
191
|
+
bytes.push((v & 0x7f) | 0x80)
|
|
192
|
+
v = Math.floor(v / 128)
|
|
193
|
+
}
|
|
194
|
+
bytes.push(v & 0x7f)
|
|
195
|
+
return Buffer.from(bytes)
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function encodeTag(fieldNum, wireType) {
|
|
199
|
+
return encodeVarint((fieldNum << 3) | wireType)
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/** Encode a length-delimited (string/bytes) field: tag + length + payload. */
|
|
203
|
+
function encodeLengthDelimited(fieldNum, payload) {
|
|
204
|
+
const buf = Buffer.isBuffer(payload) ? payload : Buffer.from(payload, 'utf8')
|
|
205
|
+
return Buffer.concat([encodeTag(fieldNum, 2), encodeVarint(buf.length), buf])
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function encodeFile(file) {
|
|
209
|
+
return Buffer.concat([
|
|
210
|
+
encodeLengthDelimited(1, file.name), // name = 1
|
|
211
|
+
encodeLengthDelimited(15, file.content), // content = 15
|
|
212
|
+
])
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Encode a CodeGeneratorResponse.
|
|
217
|
+
* @param {{error?: string|null, supportedFeatures?: number, files?: Array<{name:string,content:string}>}} response
|
|
218
|
+
*/
|
|
219
|
+
function encodeResponse(response) {
|
|
220
|
+
const parts = []
|
|
221
|
+
if (response.error != null) {
|
|
222
|
+
parts.push(encodeLengthDelimited(1, response.error)) // error = 1
|
|
223
|
+
}
|
|
224
|
+
if (response.supportedFeatures != null) {
|
|
225
|
+
parts.push(encodeTag(2, 0)) // supported_features = 2 (varint)
|
|
226
|
+
parts.push(encodeVarint(response.supportedFeatures))
|
|
227
|
+
}
|
|
228
|
+
for (const file of response.files || []) {
|
|
229
|
+
parts.push(encodeLengthDelimited(15, encodeFile(file))) // file = 15
|
|
230
|
+
}
|
|
231
|
+
return Buffer.concat(parts)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
module.exports = {
|
|
235
|
+
readVarint,
|
|
236
|
+
skipField,
|
|
237
|
+
decodeRequest,
|
|
238
|
+
encodeResponse,
|
|
239
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk;
|
|
4
|
+
// This file only imports all the modules exposed to the scenes to help the compiler
|
|
5
|
+
// resolve all files without conflicts
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
import public "decentraland/kernel/apis/communications_controller.proto";
|
|
9
|
+
import public "decentraland/kernel/apis/dev_tools.proto";
|
|
10
|
+
import public "decentraland/kernel/apis/engine_api.proto";
|
|
11
|
+
import public "decentraland/kernel/apis/environment_api.proto";
|
|
12
|
+
import public "decentraland/kernel/apis/ethereum_controller.proto";
|
|
13
|
+
import public "decentraland/kernel/apis/parcel_identity.proto";
|
|
14
|
+
import public "decentraland/kernel/apis/permissions.proto";
|
|
15
|
+
import public "decentraland/kernel/apis/players.proto";
|
|
16
|
+
import public "decentraland/kernel/apis/portable_experiences.proto";
|
|
17
|
+
import public "decentraland/kernel/apis/restricted_actions.proto";
|
|
18
|
+
import public "decentraland/kernel/apis/runtime.proto";
|
|
19
|
+
import public "decentraland/kernel/apis/testing.proto";
|
|
20
|
+
import public "decentraland/kernel/apis/signed_fetch.proto";
|
|
21
|
+
import public "decentraland/kernel/apis/social_controller.proto";
|
|
22
|
+
import public "decentraland/kernel/apis/user_action_module.proto";
|
|
23
|
+
import public "decentraland/kernel/apis/user_identity.proto";
|
|
24
|
+
import public "decentraland/kernel/apis/scene.proto";
|
|
25
|
+
import public "decentraland/kernel/apis/comms_api.proto";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
import public "decentraland/sdk/components/animator.proto";
|
|
5
|
+
import public "decentraland/sdk/components/audio_source.proto";
|
|
6
|
+
import public "decentraland/sdk/components/audio_stream.proto";
|
|
7
|
+
import public "decentraland/sdk/components/avatar_attach.proto";
|
|
8
|
+
import public "decentraland/sdk/components/avatar_base.proto";
|
|
9
|
+
import public "decentraland/sdk/components/avatar_emote_command.proto";
|
|
10
|
+
import public "decentraland/sdk/components/avatar_equipped_data.proto";
|
|
11
|
+
import public "decentraland/sdk/components/avatar_modifier_area.proto";
|
|
12
|
+
import public "decentraland/sdk/components/avatar_shape.proto";
|
|
13
|
+
import public "decentraland/sdk/components/billboard.proto";
|
|
14
|
+
import public "decentraland/sdk/components/camera_mode_area.proto";
|
|
15
|
+
import public "decentraland/sdk/components/camera_mode.proto";
|
|
16
|
+
import public "decentraland/sdk/components/engine_info.proto";
|
|
17
|
+
import public "decentraland/sdk/components/explorer_ui_events_result.proto";
|
|
18
|
+
import public "decentraland/sdk/components/gltf_container.proto";
|
|
19
|
+
import public "decentraland/sdk/components/gltf_node_modifiers.proto";
|
|
20
|
+
import public "decentraland/sdk/components/gltf_container_loading_state.proto";
|
|
21
|
+
import public "decentraland/sdk/components/material.proto";
|
|
22
|
+
import public "decentraland/sdk/components/mesh_collider.proto";
|
|
23
|
+
import public "decentraland/sdk/components/mesh_renderer.proto";
|
|
24
|
+
import public "decentraland/sdk/components/nft_shape.proto";
|
|
25
|
+
import public "decentraland/sdk/components/player_identity_data.proto";
|
|
26
|
+
import public "decentraland/sdk/components/pointer_events_result.proto";
|
|
27
|
+
import public "decentraland/sdk/components/pointer_events.proto";
|
|
28
|
+
import public "decentraland/sdk/components/pointer_lock.proto";
|
|
29
|
+
import public "decentraland/sdk/components/raycast_result.proto";
|
|
30
|
+
import public "decentraland/sdk/components/raycast.proto";
|
|
31
|
+
import public "decentraland/sdk/components/realm_info.proto";
|
|
32
|
+
import public "decentraland/sdk/components/text_shape.proto";
|
|
33
|
+
import public "decentraland/sdk/components/touch_screen_controls.proto";
|
|
34
|
+
import public "decentraland/sdk/components/tween.proto";
|
|
35
|
+
import public "decentraland/sdk/components/tween_state.proto";
|
|
36
|
+
import public "decentraland/sdk/components/tween_sequence.proto";
|
|
37
|
+
import public "decentraland/sdk/components/ui_background.proto";
|
|
38
|
+
import public "decentraland/sdk/components/ui_dropdown_result.proto";
|
|
39
|
+
import public "decentraland/sdk/components/ui_dropdown.proto";
|
|
40
|
+
import public "decentraland/sdk/components/ui_input_result.proto";
|
|
41
|
+
import public "decentraland/sdk/components/ui_input.proto";
|
|
42
|
+
import public "decentraland/sdk/components/ui_input_binding.proto";
|
|
43
|
+
import public "decentraland/sdk/components/ui_text.proto";
|
|
44
|
+
import public "decentraland/sdk/components/ui_transform.proto";
|
|
45
|
+
import public "decentraland/sdk/components/video_player.proto";
|
|
46
|
+
import public "decentraland/sdk/components/visibility_component.proto";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package decentraland.bff;
|
|
4
|
-
|
|
5
|
-
message GetChallengeRequest {
|
|
6
|
-
string address = 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
message GetChallengeResponse {
|
|
10
|
-
string challenge_to_sign = 1;
|
|
11
|
-
bool already_connected = 2;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
message SignedChallenge {
|
|
15
|
-
string auth_chain_json = 1;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message WelcomePeerInformation {
|
|
19
|
-
string peer_id = 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
service BffAuthenticationService {
|
|
23
|
-
rpc GetChallenge(GetChallengeRequest) returns (GetChallengeResponse) {}
|
|
24
|
-
rpc Authenticate(SignedChallenge) returns (WelcomePeerInformation) {}
|
|
25
|
-
}
|
package/bff/comms-service.proto
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package decentraland.bff;
|
|
4
|
-
|
|
5
|
-
message Subscription {
|
|
6
|
-
uint32 subscription_id = 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
message SubscriptionRequest {
|
|
10
|
-
string topic = 1;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message PeerTopicSubscriptionResultElem {
|
|
14
|
-
bytes payload = 1;
|
|
15
|
-
string topic = 2;
|
|
16
|
-
string sender = 3;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
message SystemTopicSubscriptionResultElem {
|
|
20
|
-
bytes payload = 1;
|
|
21
|
-
string topic = 2;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
message PublishToTopicRequest {
|
|
25
|
-
string topic = 1;
|
|
26
|
-
bytes payload = 2;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message PublishToTopicResult {
|
|
30
|
-
bool ok = 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
message UnsubscriptionResult {
|
|
34
|
-
bool ok = 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
service CommsService {
|
|
38
|
-
rpc SubscribeToPeerMessages(SubscriptionRequest) returns (Subscription) {}
|
|
39
|
-
rpc GetPeerMessages(Subscription) returns (stream PeerTopicSubscriptionResultElem) {}
|
|
40
|
-
rpc UnsubscribeToPeerMessages(Subscription) returns (UnsubscriptionResult) {}
|
|
41
|
-
|
|
42
|
-
rpc SubscribeToSystemMessages(SubscriptionRequest) returns (Subscription) {}
|
|
43
|
-
rpc GetSystemMessages(Subscription) returns (stream SystemTopicSubscriptionResultElem) {}
|
|
44
|
-
rpc UnsubscribeToSystemMessages(Subscription) returns (UnsubscriptionResult) {}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// send a peer message to a topic
|
|
48
|
-
rpc PublishToTopic(PublishToTopicRequest) returns (PublishToTopicResult) {}
|
|
49
|
-
}
|
package/bff/http-endpoints.proto
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "google/protobuf/empty.proto";
|
|
4
|
-
import "google/api/annotations.proto";
|
|
5
|
-
|
|
6
|
-
package decentraland.bff;
|
|
7
|
-
|
|
8
|
-
message AboutResponse {
|
|
9
|
-
bool healthy = 1;
|
|
10
|
-
AboutConfiguration configurations = 2;
|
|
11
|
-
ContentInfo content = 3;
|
|
12
|
-
CommsInfo comms = 4;
|
|
13
|
-
LambdasInfo lambdas = 5;
|
|
14
|
-
BffInfo bff = 6;
|
|
15
|
-
|
|
16
|
-
message BaseService {
|
|
17
|
-
bool healthy = 1;
|
|
18
|
-
optional string version = 2;
|
|
19
|
-
optional string commit_hash = 3;
|
|
20
|
-
optional string public_url = 4;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
message AboutConfiguration {
|
|
24
|
-
optional string realm_name = 1;
|
|
25
|
-
}
|
|
26
|
-
message ContentInfo {
|
|
27
|
-
// common properties
|
|
28
|
-
bool healthy = 1;
|
|
29
|
-
optional string version = 2;
|
|
30
|
-
optional string commit_hash = 3;
|
|
31
|
-
optional string public_url = 4;
|
|
32
|
-
}
|
|
33
|
-
message LambdasInfo {
|
|
34
|
-
// common properties
|
|
35
|
-
bool healthy = 1;
|
|
36
|
-
optional string version = 2;
|
|
37
|
-
optional string commit_hash = 3;
|
|
38
|
-
optional string public_url = 4;
|
|
39
|
-
}
|
|
40
|
-
message CommsInfo {
|
|
41
|
-
// common properties
|
|
42
|
-
bool healthy = 1;
|
|
43
|
-
optional string version = 2;
|
|
44
|
-
optional string commit_hash = 3;
|
|
45
|
-
optional string public_url = 4;
|
|
46
|
-
// specific properties
|
|
47
|
-
string protocol = 50;
|
|
48
|
-
optional int32 users_count = 51;
|
|
49
|
-
}
|
|
50
|
-
message BffInfo {
|
|
51
|
-
// common properties
|
|
52
|
-
bool healthy = 1;
|
|
53
|
-
optional string version = 2;
|
|
54
|
-
optional string commit_hash = 3;
|
|
55
|
-
optional string public_url = 4;
|
|
56
|
-
// specific properties
|
|
57
|
-
optional int32 user_count = 51;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
service HttpEndpoints {
|
|
62
|
-
// Returns the status and configuration of the bff microservice
|
|
63
|
-
rpc About(google.protobuf.Empty) returns (AboutResponse) {
|
|
64
|
-
option (google.api.http) = { get: "/about" };
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1042;
|
|
5
|
-
|
|
6
|
-
message PBAnimator {
|
|
7
|
-
repeated PBAnimationState states = 1;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
message PBAnimationState {
|
|
11
|
-
string name = 1;
|
|
12
|
-
string clip = 2;
|
|
13
|
-
optional bool playing = 3;
|
|
14
|
-
optional float weight = 4; // default=1.0s
|
|
15
|
-
optional float speed = 5; // default=1.0
|
|
16
|
-
optional bool loop = 6; // default=true
|
|
17
|
-
optional bool should_reset = 7;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1020;
|
|
5
|
-
|
|
6
|
-
message PBAudioSource {
|
|
7
|
-
optional bool playing = 1;
|
|
8
|
-
optional float volume = 2; // default=1.0f
|
|
9
|
-
optional bool loop = 3;
|
|
10
|
-
optional float pitch = 4; // default=1.0f
|
|
11
|
-
string audio_clip_url = 5;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1073;
|
|
5
|
-
|
|
6
|
-
enum AvatarAnchorPoint {
|
|
7
|
-
POSITION = 0;
|
|
8
|
-
NAME_TAG = 1;
|
|
9
|
-
LEFT_HAND = 2;
|
|
10
|
-
RIGHT_HAND = 3;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message PBAvatarAttach {
|
|
14
|
-
string avatar_id = 1;
|
|
15
|
-
AvatarAnchorPoint anchor_point_id = 2;
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1070;
|
|
5
|
-
import "common/Vector3.proto";
|
|
6
|
-
|
|
7
|
-
enum AvatarModifier {
|
|
8
|
-
HIDE_AVATARS = 0;
|
|
9
|
-
DISABLE_PASSPORTS = 1;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
message PBAvatarModifierArea {
|
|
13
|
-
Vector3 area = 1;
|
|
14
|
-
repeated string exclude_ids = 2;
|
|
15
|
-
repeated AvatarModifier modifiers = 3;
|
|
16
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1080;
|
|
5
|
-
import "common/Color3.proto";
|
|
6
|
-
|
|
7
|
-
message PBAvatarShape {
|
|
8
|
-
string id = 1;
|
|
9
|
-
optional string name = 2; // default = NPC
|
|
10
|
-
optional string body_shape = 3; // default = urn:decentraland:off-chain:base-avatars:BaseFemale
|
|
11
|
-
optional Color3 skin_color = 4; // default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
|
|
12
|
-
optional Color3 hair_color = 5; // default = Color3(R = 0.283f, G = 0.142f, B = 0f)
|
|
13
|
-
optional Color3 eye_color = 6; // default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
|
|
14
|
-
optional string expression_trigger_id = 7;
|
|
15
|
-
optional int64 expression_trigger_timestamp = 8; // default = timestamp
|
|
16
|
-
optional bool talking = 9;
|
|
17
|
-
/**
|
|
18
|
-
* default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
|
19
|
-
* "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
|
20
|
-
* "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
|
21
|
-
* "urn:decentraland:off-chain:base-avatars:standard_hair",
|
|
22
|
-
* "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
|
23
|
-
* "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
|
24
|
-
* "urn:decentraland:off-chain:base-avatars:bun_shoes"]
|
|
25
|
-
*/
|
|
26
|
-
repeated string wearables = 10;
|
|
27
|
-
/**
|
|
28
|
-
* default = []
|
|
29
|
-
*/
|
|
30
|
-
repeated string emotes = 11;
|
|
31
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1013;
|
|
5
|
-
|
|
6
|
-
message PBBoxShape {
|
|
7
|
-
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
|
8
|
-
optional bool with_collisions = 1; // default=true
|
|
9
|
-
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
|
10
|
-
optional bool is_pointer_blocker = 2; // default=true
|
|
11
|
-
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
|
12
|
-
optional bool visible = 3; // default=true
|
|
13
|
-
repeated float uvs = 4;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
import "common/id.proto";
|
|
4
|
-
option (ecs_component_id) = 1016;
|
|
5
|
-
|
|
6
|
-
message PBCylinderShape {
|
|
7
|
-
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
|
8
|
-
optional bool with_collisions = 1; // default=true
|
|
9
|
-
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
|
10
|
-
optional bool is_pointer_blocker = 2; // default=true
|
|
11
|
-
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
|
12
|
-
optional bool visible = 3; // default=true
|
|
13
|
-
optional float radius_top = 4; // default=1.0
|
|
14
|
-
optional float radius_bottom = 5; // default=1.0
|
|
15
|
-
}
|