@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 1.0.0-45872166367.commit-57a13e1
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 +241 -12
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +122 -21
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +125 -40
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +25 -18
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +93 -72
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +38 -252
- package/out-js/decentraland/common/texture.gen.js +156 -105
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +172 -57
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- 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 +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +650 -1709
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +439 -320
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +212 -156
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +280 -605
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +998 -350
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +165 -208
- package/out-js/decentraland/kernel/apis/runtime.gen.js +660 -172
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +52 -38
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- 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 +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +237 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1478 -244
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +81 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +318 -242
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +194 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +884 -557
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +105 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +336 -0
- package/out-js/decentraland/pulse/pulse_clusters.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 +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -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 +55 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +182 -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 +10 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +38 -24
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +37 -140
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +49 -29
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +25 -18
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- 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.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +59 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- 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 +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -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 +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- 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 +30 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +134 -104
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +47 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +160 -123
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +43 -223
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +145 -110
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- 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 +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +10 -250
- package/out-js/decentraland/sdk/components/raycast.gen.js +45 -36
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +41 -22
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- 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/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- 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 +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +33 -26
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +46 -26
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +10 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +45 -25
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- 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 +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +20 -63
- package/out-js/decentraland/sdk/components/ui_text.gen.js +97 -24
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +51 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +489 -96
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- 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 +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +882 -707
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- 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-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-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
- package/out-ts/decentraland/common/colors.gen.ts +116 -37
- package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
- package/out-ts/decentraland/common/texture.gen.ts +114 -81
- package/out-ts/decentraland/common/vectors.gen.ts +157 -53
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
- package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +988 -355
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +705 -178
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1576 -225
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +209 -200
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +872 -596
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +422 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
- package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -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 +218 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +27 -19
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +73 -42
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +52 -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 +22 -22
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
- 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 +111 -93
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +116 -100
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +109 -91
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +36 -33
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
- 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 +22 -21
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +42 -24
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +99 -23
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +532 -66
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- 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 +529 -499
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +20 -11
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +13 -9
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +84 -16
- package/proto/decentraland/kernel/apis/runtime.proto +47 -9
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +61 -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/proto/decentraland/sdk/components/animator.proto +9 -4
- 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 +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +1 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +34 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- 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/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +9 -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/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -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 +6 -6
- package/proto/decentraland/sdk/components/mesh_collider.proto +6 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +2 -2
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- 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 +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +1 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -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 +2 -2
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_text.proto +8 -1
- package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -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 +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +3 -0
- package/public/sdk-components.proto +37 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/social/friendships/friendships.proto +0 -106
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.quests;
|
|
3
|
+
|
|
4
|
+
import "google/protobuf/empty.proto";
|
|
5
|
+
|
|
6
|
+
// Errors
|
|
7
|
+
message InvalidQuest {}
|
|
8
|
+
|
|
9
|
+
message NotUUID {}
|
|
10
|
+
|
|
11
|
+
message InternalServerError {}
|
|
12
|
+
|
|
13
|
+
message NotFoundQuestInstance {}
|
|
14
|
+
|
|
15
|
+
message QuestAlreadyStarted {}
|
|
16
|
+
|
|
17
|
+
message NotOwner {}
|
|
18
|
+
|
|
19
|
+
message IgnoredEvent {}
|
|
20
|
+
|
|
21
|
+
message StartQuestRequest {
|
|
22
|
+
string quest_id = 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message StartQuestResponse {
|
|
26
|
+
/* There are a few valid reasons to not be accepted:
|
|
27
|
+
* - Quest is not found
|
|
28
|
+
* - Quest is deactivated (the owner deleted it)
|
|
29
|
+
* - User already started the quest
|
|
30
|
+
* - Internal errors (DB connection failed or something like that) */
|
|
31
|
+
message Accepted {}
|
|
32
|
+
oneof response {
|
|
33
|
+
Accepted accepted = 1;
|
|
34
|
+
InvalidQuest invalid_quest = 2;
|
|
35
|
+
NotUUID not_uuid_error = 3;
|
|
36
|
+
InternalServerError internal_server_error = 4;
|
|
37
|
+
QuestAlreadyStarted quest_already_started = 5;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message AbortQuestRequest {
|
|
42
|
+
string quest_instance_id = 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message AbortQuestResponse {
|
|
46
|
+
/* There are a few valid reasons to not be accepted:
|
|
47
|
+
* - Quest instance is not found
|
|
48
|
+
* - Quest instance is from another user
|
|
49
|
+
* - Quest instance already aborted
|
|
50
|
+
* - Internal errors (DB connection failed or something like that) */
|
|
51
|
+
message Accepted {}
|
|
52
|
+
oneof response {
|
|
53
|
+
Accepted accepted = 1;
|
|
54
|
+
NotFoundQuestInstance not_found_quest_instance = 2;
|
|
55
|
+
NotUUID not_uuid_error = 3;
|
|
56
|
+
NotOwner not_owner = 4;
|
|
57
|
+
InternalServerError internal_server_error = 5;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message Event {
|
|
62
|
+
string id = 1;
|
|
63
|
+
string address = 2;
|
|
64
|
+
Action action = 3;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message EventRequest {
|
|
68
|
+
Action action = 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message EventResponse {
|
|
72
|
+
oneof response {
|
|
73
|
+
string accepted_event_id = 1;
|
|
74
|
+
IgnoredEvent ignored_event = 2;
|
|
75
|
+
InternalServerError internal_server_error = 3;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message QuestDefinition {
|
|
80
|
+
repeated Step steps = 1;
|
|
81
|
+
repeated Connection connections = 2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message Connection {
|
|
85
|
+
string step_from = 1;
|
|
86
|
+
string step_to = 2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message Step {
|
|
90
|
+
string id = 1;
|
|
91
|
+
string description = 2;
|
|
92
|
+
repeated Task tasks = 3;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message Action {
|
|
96
|
+
string type = 1;
|
|
97
|
+
map<string, string> parameters = 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message Task {
|
|
101
|
+
string id = 1;
|
|
102
|
+
string description = 2;
|
|
103
|
+
repeated Action action_items = 3;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message StepContent {
|
|
107
|
+
repeated Task to_dos = 1;
|
|
108
|
+
repeated Task tasks_completed = 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
message QuestState {
|
|
112
|
+
map<string, StepContent> current_steps = 2;
|
|
113
|
+
fixed32 steps_left = 3;
|
|
114
|
+
repeated string steps_completed = 4;
|
|
115
|
+
repeated string required_steps = 5;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
message Quest {
|
|
119
|
+
string id = 1;
|
|
120
|
+
string name = 2;
|
|
121
|
+
string description = 3;
|
|
122
|
+
QuestDefinition definition = 4;
|
|
123
|
+
string creator_address = 5;
|
|
124
|
+
string image_url = 6;
|
|
125
|
+
bool active = 7;
|
|
126
|
+
fixed32 created_at = 8;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message QuestInstance {
|
|
130
|
+
string id = 1;
|
|
131
|
+
Quest quest = 2;
|
|
132
|
+
QuestState state = 3;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
message QuestStateUpdate {
|
|
136
|
+
string instance_id = 1;
|
|
137
|
+
QuestState quest_state = 2;
|
|
138
|
+
string event_id = 3;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message UserUpdate {
|
|
142
|
+
oneof message {
|
|
143
|
+
bool subscribed = 1;
|
|
144
|
+
QuestStateUpdate quest_state_update = 2;
|
|
145
|
+
QuestInstance new_quest_started = 3;
|
|
146
|
+
string event_ignored = 4;
|
|
147
|
+
}
|
|
148
|
+
string user_address = 5;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message Quests {
|
|
152
|
+
repeated QuestInstance instances = 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message GetAllQuestsResponse {
|
|
156
|
+
oneof response {
|
|
157
|
+
Quests quests = 1;
|
|
158
|
+
InternalServerError internal_server_error = 2;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
message GetQuestDefinitionRequest {
|
|
163
|
+
string quest_id = 1;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
message GetQuestDefinitionResponse {
|
|
167
|
+
oneof response {
|
|
168
|
+
Quest quest = 1;
|
|
169
|
+
InternalServerError internal_server_error = 2;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
service QuestsService {
|
|
174
|
+
// User actions
|
|
175
|
+
rpc StartQuest(StartQuestRequest) returns (StartQuestResponse) {}
|
|
176
|
+
rpc AbortQuest(AbortQuestRequest) returns (AbortQuestResponse) {}
|
|
177
|
+
rpc SendEvent(EventRequest) returns (EventResponse) {}
|
|
178
|
+
|
|
179
|
+
// Listen to changes in quest states and event processing updates
|
|
180
|
+
rpc Subscribe(google.protobuf.Empty) returns (stream UserUpdate) {}
|
|
181
|
+
|
|
182
|
+
// Query quest information
|
|
183
|
+
rpc GetAllQuests(google.protobuf.Empty) returns (GetAllQuestsResponse) {}
|
|
184
|
+
rpc GetQuestDefinition(GetQuestDefinitionRequest) returns (GetQuestDefinitionResponse) {}
|
|
185
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.realm;
|
|
3
|
+
|
|
4
|
+
import "decentraland/common/border_rect.proto";
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
|
|
7
|
+
message AboutResponse {
|
|
8
|
+
bool healthy = 1;
|
|
9
|
+
AboutConfiguration configurations = 2;
|
|
10
|
+
ContentInfo content = 3;
|
|
11
|
+
CommsInfo comms = 4;
|
|
12
|
+
LambdasInfo lambdas = 5;
|
|
13
|
+
optional BffInfo bff = 6;
|
|
14
|
+
bool accepting_users = 7;
|
|
15
|
+
|
|
16
|
+
// @deprecated This message was never used but it's still here for compatibility reasons
|
|
17
|
+
// The reserved keyword is not working for all the toolset we have, so in the meanwhile it keeps commented
|
|
18
|
+
message MinimapConfiguration {
|
|
19
|
+
reserved 1;
|
|
20
|
+
// reserved "enabled";
|
|
21
|
+
reserved 2;
|
|
22
|
+
// reserved "data_image";
|
|
23
|
+
reserved 3;
|
|
24
|
+
// reserved "estate_image";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message MapConfiguration {
|
|
28
|
+
// whether the minimap should be rendered
|
|
29
|
+
bool minimap_enabled = 1;
|
|
30
|
+
|
|
31
|
+
// the union of all rects here represents the places where that MAY have scenes
|
|
32
|
+
// - all the other parcels are considered as empty, up to the explorer to decide if they're walkable or not
|
|
33
|
+
// - the contained square is determined by points:
|
|
34
|
+
// - top-left with minX, maxY
|
|
35
|
+
// - bottom-left with minX, minY
|
|
36
|
+
// - top-right with maxX, maxY
|
|
37
|
+
// - bottom-right with maxX, maxY
|
|
38
|
+
// Note: the coordinate system used is the Cartesian coordinate system, where the y-axis increases upwards,
|
|
39
|
+
// not the screen coordinate system, where the origin is at the top-left corner and the y-axis increases downwards.
|
|
40
|
+
repeated decentraland.common.BorderRect sizes = 2;
|
|
41
|
+
|
|
42
|
+
// ImageViewWithZoomLevel uses a description to render the minimap
|
|
43
|
+
// using different images with different zoom levels.
|
|
44
|
+
// When `version='v1'`:
|
|
45
|
+
// - The description allows the explorer to form the URL:
|
|
46
|
+
// url(x,y,zoom_level) = `{base_url}/{zoom_level}/{x},{y}{suffix_url}`
|
|
47
|
+
// - The given URL is for an image where the pixel `0,0` for the image `0,0` always
|
|
48
|
+
// points to the top-left contained square.
|
|
49
|
+
// - The `zoom_level=1` is to a ratio of 3.2 pixel per parcel, this means in a 32x32 pixel square
|
|
50
|
+
// you get 10x10 parcels.
|
|
51
|
+
// - Each increase of zoom level, double the ratio pixel per parcels.
|
|
52
|
+
message ImageViewWithZoomLevel {
|
|
53
|
+
// options: ['v1']
|
|
54
|
+
string version = 1;
|
|
55
|
+
optional string base_url = 2;
|
|
56
|
+
optional string suffix_url = 3;
|
|
57
|
+
optional decentraland.common.Vector2 top_left_offset = 4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// ParcelView uses a description to render the minimap
|
|
61
|
+
// using a image where each pixel is a parcel and each pixel
|
|
62
|
+
// has the metadata to make a representation (using a shader or image-generation client-side)
|
|
63
|
+
// When `version='v1'`:
|
|
64
|
+
// - The pixel `0,0` is the top-left contained square
|
|
65
|
+
// - The image has to be at least of contained square pixels size
|
|
66
|
+
// - The metadata inside each pixel follows the generated with the atlas server https://github.com/decentraland/atlas-server/blob/af371f2a59745a1f50b0b0b2382984288c4ae891/src/adapters/mini-map-renderer.ts#L27
|
|
67
|
+
message ParcelView {
|
|
68
|
+
// options: `v1`
|
|
69
|
+
string version = 1;
|
|
70
|
+
optional string image_url = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
optional ImageViewWithZoomLevel satellite_view = 5;
|
|
74
|
+
optional ParcelView parcel_view = 6;
|
|
75
|
+
optional ImageViewWithZoomLevel thumbnail_view = 7;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message SkyboxConfiguration {
|
|
79
|
+
// only one value at a time
|
|
80
|
+
optional float fixed_hour = 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message AboutConfiguration {
|
|
84
|
+
optional string realm_name = 1;
|
|
85
|
+
uint32 network_id = 2;
|
|
86
|
+
repeated string global_scenes_urn = 3;
|
|
87
|
+
repeated string scenes_urn = 4;
|
|
88
|
+
|
|
89
|
+
// The name "minimap" can't be used in this message
|
|
90
|
+
// The reserved keyword is not working for all the toolset we have, so in the meanwhile it keeps commented
|
|
91
|
+
reserved 5;
|
|
92
|
+
// reserved "minimap";
|
|
93
|
+
|
|
94
|
+
optional SkyboxConfiguration skybox = 6;
|
|
95
|
+
|
|
96
|
+
// A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
|
|
97
|
+
// to continously fetch the parcels around the users. if null, then the default content server will be used
|
|
98
|
+
// if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
|
|
99
|
+
optional string city_loader_content_server = 7;
|
|
100
|
+
optional MapConfiguration map = 8;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message ContentInfo {
|
|
104
|
+
// common properties
|
|
105
|
+
bool healthy = 1;
|
|
106
|
+
optional string version = 2;
|
|
107
|
+
optional string commit_hash = 3;
|
|
108
|
+
string public_url = 4;
|
|
109
|
+
}
|
|
110
|
+
message LambdasInfo {
|
|
111
|
+
// common properties
|
|
112
|
+
bool healthy = 1;
|
|
113
|
+
optional string version = 2;
|
|
114
|
+
optional string commit_hash = 3;
|
|
115
|
+
string public_url = 4;
|
|
116
|
+
}
|
|
117
|
+
message CommsInfo {
|
|
118
|
+
// common properties
|
|
119
|
+
bool healthy = 1;
|
|
120
|
+
optional string version = 2;
|
|
121
|
+
optional string commit_hash = 3;
|
|
122
|
+
optional string public_url = 4;
|
|
123
|
+
// specific properties
|
|
124
|
+
string protocol = 50;
|
|
125
|
+
optional int32 users_count = 51;
|
|
126
|
+
optional string fixed_adapter = 52;
|
|
127
|
+
}
|
|
128
|
+
message BffInfo {
|
|
129
|
+
// common properties
|
|
130
|
+
bool healthy = 1;
|
|
131
|
+
optional string version = 2;
|
|
132
|
+
optional string commit_hash = 3;
|
|
133
|
+
string public_url = 4;
|
|
134
|
+
// specific properties
|
|
135
|
+
optional int32 user_count = 51;
|
|
136
|
+
optional string protocol_version = 52;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -14,13 +14,18 @@ message PBAnimator {
|
|
|
14
14
|
repeated PBAnimationState states = 1; // a collection of animations and their current state
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
// (*) initial state means what frame is set when the state is reset:
|
|
18
|
+
// - if `speed` >= 0 the frame set is the first one
|
|
19
|
+
// - if `speed` < 0 the frame set is the last one
|
|
20
|
+
// (**) repeating means going back to the initial state at the moment the given animation is finished and keeps playing
|
|
21
|
+
|
|
17
22
|
// AnimationState indicates the status and configuration of one available animation.
|
|
18
23
|
message PBAnimationState {
|
|
19
|
-
|
|
24
|
+
reserved 1; // deprecated `name` prop
|
|
20
25
|
string clip = 2; // the animation path in the `files` array of the scene manifest
|
|
21
26
|
optional bool playing = 3; // whether this animation is currently playing
|
|
22
|
-
optional float weight = 4; // the "weight" of this animation (see below, default: 1.0)
|
|
27
|
+
optional float weight = 4; // @experimental the "weight" of this animation (see below, default: 1.0)
|
|
23
28
|
optional float speed = 5; // the playback speed (default: 1.0)
|
|
24
|
-
optional bool loop = 6; // whether the animation repeats until stopped (default: true)
|
|
25
|
-
optional bool should_reset = 7; // whether the
|
|
29
|
+
optional bool loop = 6; // whether the animation repeats (**) until is manually stopped (default: true)
|
|
30
|
+
optional bool should_reset = 7; // whether the animation is restored to the initial state (*) when it changes from stopped to playing (default: false)
|
|
26
31
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1213;
|
|
6
|
+
|
|
7
|
+
// AssetLoad component allows an entity to request the pre-loading of one or more assets by the renderer.
|
|
8
|
+
message PBAssetLoad {
|
|
9
|
+
repeated string assets = 1;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1214;
|
|
6
|
+
|
|
7
|
+
import "decentraland/sdk/components/common/loading_state.proto";
|
|
8
|
+
|
|
9
|
+
// AssetLoadLoadingState is set by the engine and provides information about
|
|
10
|
+
// the current state of the AssetLoad of an entity.
|
|
11
|
+
// The renderer appends a new object of this in each command, there can be many commands per frames
|
|
12
|
+
message PBAssetLoadLoadingState {
|
|
13
|
+
common.LoadingState current_state = 1; // current loading state
|
|
14
|
+
string asset = 2; // the asset being loaded (asset's scene path)
|
|
15
|
+
uint32 timestamp = 3; // monotonic counter
|
|
16
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1212;
|
|
6
|
+
|
|
7
|
+
enum PBAudioAnalysisMode {
|
|
8
|
+
MODE_RAW = 0;
|
|
9
|
+
MODE_LOGARITHMIC = 1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message PBAudioAnalysis {
|
|
13
|
+
|
|
14
|
+
// Parameters section
|
|
15
|
+
PBAudioAnalysisMode mode = 1;
|
|
16
|
+
|
|
17
|
+
// Used only when mode == MODE_LOGARITHMIC
|
|
18
|
+
optional float amplitude_gain = 100;
|
|
19
|
+
optional float bands_gain = 101;
|
|
20
|
+
// End when mode == MODE_LOGARITHMIC
|
|
21
|
+
|
|
22
|
+
// End Parameters section
|
|
23
|
+
|
|
24
|
+
// Result section
|
|
25
|
+
float amplitude = 200;
|
|
26
|
+
|
|
27
|
+
// Protobuf doesn't support fixed arrays -> 8 band fields
|
|
28
|
+
float band_0 = 201;
|
|
29
|
+
float band_1 = 202;
|
|
30
|
+
float band_2 = 203;
|
|
31
|
+
float band_3 = 204;
|
|
32
|
+
float band_4 = 205;
|
|
33
|
+
float band_5 = 206;
|
|
34
|
+
float band_6 = 207;
|
|
35
|
+
float band_7 = 208;
|
|
36
|
+
|
|
37
|
+
// End Result section
|
|
38
|
+
|
|
39
|
+
// Future fields
|
|
40
|
+
// float spectral_centroid = 13;
|
|
41
|
+
// float spectral_flux = 14;
|
|
42
|
+
// bool onset = 15;
|
|
43
|
+
// float bpm = 16;
|
|
44
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/media_state.proto";
|
|
7
|
+
option (common.ecs_component_id) = 1105;
|
|
8
|
+
|
|
9
|
+
message PBAudioEvent {
|
|
10
|
+
common.MediaState state = 1;
|
|
11
|
+
uint32 timestamp = 2; // monotonic counter
|
|
12
|
+
}
|
|
@@ -13,11 +13,19 @@ option (common.ecs_component_id) = 1020;
|
|
|
13
13
|
// Note that the `audio_clip_url` is not actually a URL, but rather the path of a file bundled with
|
|
14
14
|
// the scene and declared in its manifest. The name was chosen because the URL use-case will
|
|
15
15
|
// eventually be supported.
|
|
16
|
-
|
|
16
|
+
//
|
|
17
|
+
// `playing=true` when it's previously `playing=true`
|
|
18
|
+
// a) if clip is playing and `current_time` is NOT SET, the clip remains in the current `current_time`
|
|
19
|
+
// b) if clip is stopped or `current_time` is set, the clip is played from the `current_time` (if set) or from the beginning
|
|
20
|
+
//
|
|
21
|
+
// If other property (volume, loop, pitch) is changed while playing, the clip is keep playing with the new properties
|
|
22
|
+
// Changing `audio_clip_url` while playing stops the current clip and plays the new one (as a new instance)
|
|
23
|
+
message PBAudioSource {
|
|
17
24
|
optional bool playing = 1; // whether the clip is currently playing.
|
|
18
25
|
optional float volume = 2; // the audio volume (default: 1.0).
|
|
19
26
|
optional bool loop = 3; // whether the clip should restart when finished.
|
|
20
27
|
optional float pitch = 4; // the audio pitch (default: 1.0).
|
|
21
28
|
string audio_clip_url = 5; // the clip path as given in the `files` array of the scene's manifest.
|
|
29
|
+
optional float current_time = 6; // specifies the current playback time of the clip in seconds (default: 0).
|
|
30
|
+
optional bool global = 7; // whether the audio plays at constant volume across the scene.
|
|
22
31
|
}
|
|
23
|
-
|
|
@@ -11,4 +11,12 @@ message PBAudioStream {
|
|
|
11
11
|
optional bool playing = 1; // whether the clip is currently playing
|
|
12
12
|
optional float volume = 2; // the audio volume (default: 1.0)
|
|
13
13
|
string url = 3; // the audio stream HTTP URL
|
|
14
|
+
// either the audio will be global or spatial (default: false)
|
|
15
|
+
// global: plays the same way for every listener. It is not affected by distance, direction, or position.
|
|
16
|
+
// spatial: changes depending on where the listener is relative to the sound source
|
|
17
|
+
optional bool spatial = 4;
|
|
18
|
+
// Within the min distance the audio will cease to grow louder in volume (default: 0)
|
|
19
|
+
optional float spatial_min_distance = 5;
|
|
20
|
+
// The distance where sound either becomes inaudible or stops attenuation (default: 60)
|
|
21
|
+
optional float spatial_max_distance = 6;
|
|
14
22
|
}
|
|
@@ -6,11 +6,11 @@ import "decentraland/sdk/components/common/id.proto";
|
|
|
6
6
|
|
|
7
7
|
option (common.ecs_component_id) = 1073;
|
|
8
8
|
|
|
9
|
-
// The AvatarAttach component automatically repositions an Entity to maintain the same position and
|
|
10
|
-
// rotation relative to some part of an avatar, called the "anchor point". The Entity
|
|
9
|
+
// The AvatarAttach component automatically repositions an Entity to maintain the same position and
|
|
10
|
+
// rotation relative to some part of an avatar, called the "anchor point". The Entity
|
|
11
11
|
// will follow this anchor as it moves.
|
|
12
12
|
//
|
|
13
|
-
// The Entity's own Transform is overridden by this component. To offset position and adjust scale,
|
|
13
|
+
// The Entity's own Transform is overridden by this component. To offset position and adjust scale,
|
|
14
14
|
// add a child to the anchored Entity and set a Transform on it instead.
|
|
15
15
|
//
|
|
16
16
|
// AvatarAnchorPointType indicates which part of the avatar the Entity must follow.
|
|
@@ -21,8 +21,31 @@ message PBAvatarAttach {
|
|
|
21
21
|
|
|
22
22
|
// AvatarAnchorPointType determines the part of the avatar's body that anchors the Entity.
|
|
23
23
|
enum AvatarAnchorPointType {
|
|
24
|
+
// @deprecated consider parenting to `engine.PlayerEntity`, this will attach to player position with an arbitrary offset
|
|
24
25
|
AAPT_POSITION = 0;
|
|
25
26
|
AAPT_NAME_TAG = 1;
|
|
27
|
+
AAPT_HEAD = 4;
|
|
28
|
+
AAPT_NECK = 5;
|
|
29
|
+
AAPT_SPINE = 6;
|
|
30
|
+
AAPT_SPINE1 = 7;
|
|
31
|
+
AAPT_SPINE2 = 8;
|
|
32
|
+
AAPT_HIP = 9;
|
|
33
|
+
AAPT_LEFT_SHOULDER = 10;
|
|
34
|
+
AAPT_LEFT_ARM = 11;
|
|
35
|
+
AAPT_LEFT_FOREARM = 12;
|
|
26
36
|
AAPT_LEFT_HAND = 2;
|
|
37
|
+
AAPT_LEFT_HAND_INDEX = 13;
|
|
38
|
+
AAPT_RIGHT_SHOULDER = 14;
|
|
39
|
+
AAPT_RIGHT_ARM = 15;
|
|
40
|
+
AAPT_RIGHT_FOREARM = 16;
|
|
27
41
|
AAPT_RIGHT_HAND = 3;
|
|
42
|
+
AAPT_RIGHT_HAND_INDEX = 17;
|
|
43
|
+
AAPT_LEFT_UP_LEG = 18;
|
|
44
|
+
AAPT_LEFT_LEG = 19;
|
|
45
|
+
AAPT_LEFT_FOOT = 20;
|
|
46
|
+
AAPT_LEFT_TOE_BASE = 21;
|
|
47
|
+
AAPT_RIGHT_UP_LEG = 22;
|
|
48
|
+
AAPT_RIGHT_LEG = 23;
|
|
49
|
+
AAPT_RIGHT_FOOT = 24;
|
|
50
|
+
AAPT_RIGHT_TOE_BASE = 25;
|
|
28
51
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
import "decentraland/common/colors.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1087;
|
|
7
|
+
|
|
8
|
+
// AvatarBase sets all modifiers over the avatar's apparence.
|
|
9
|
+
message PBAvatarBase {
|
|
10
|
+
decentraland.common.Color3 skin_color = 1;
|
|
11
|
+
decentraland.common.Color3 eyes_color = 2;
|
|
12
|
+
decentraland.common.Color3 hair_color = 3;
|
|
13
|
+
string body_shape_urn = 4;
|
|
14
|
+
string name = 5;
|
|
15
|
+
optional bool talking = 6; // true while the player is speaking in voice chat; unset when the engine does not report voice activity
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/avatar_mask.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1088;
|
|
7
|
+
|
|
8
|
+
// EmoteState describes the lifecycle state of an emote playback.
|
|
9
|
+
enum EmoteState {
|
|
10
|
+
// ES_STARTED indicates the emote started playing.
|
|
11
|
+
// This is the zero value and is used for backward compatibility — entries
|
|
12
|
+
// written by older explorers (field absent) read as "started".
|
|
13
|
+
ES_STARTED = 0;
|
|
14
|
+
// ES_FINISHED indicates a non-looping emote completed naturally.
|
|
15
|
+
ES_FINISHED = 1;
|
|
16
|
+
// ES_INTERRUPTED indicates playback was cancelled (movement, teleport,
|
|
17
|
+
// another emote superseding it, explicit stop, or scene change).
|
|
18
|
+
ES_INTERRUPTED = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// AvatarEmoteCommand is a grow only value set, written by the explorer to report
|
|
22
|
+
// avatar emote playback to the scene. It is appended to every player entity in the
|
|
23
|
+
// scene (the local player and remote avatars alike).
|
|
24
|
+
message PBAvatarEmoteCommand {
|
|
25
|
+
string emote_urn = 1;
|
|
26
|
+
bool loop = 2;
|
|
27
|
+
uint32 timestamp = 3; // monotonic counter
|
|
28
|
+
optional decentraland.sdk.components.common.AvatarMask mask = 4;
|
|
29
|
+
// state describes the lifecycle event for this emote entry.
|
|
30
|
+
// When absent (older explorers), defaults to ES_STARTED.
|
|
31
|
+
optional EmoteState state = 5;
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1091;
|
|
6
|
+
|
|
7
|
+
// AvatarEquipData is used to read the information about the avatar's owneables.
|
|
8
|
+
// this component is written by the engine using the communications transports'
|
|
9
|
+
// data. It describes the outfit in the player's profile.
|
|
10
|
+
message PBAvatarEquippedData {
|
|
11
|
+
repeated string wearable_urns = 1;
|
|
12
|
+
repeated string emote_urns = 2;
|
|
13
|
+
repeated EquippedWearable wearables = 3; // one per item of wearable_urns, in the same order
|
|
14
|
+
|
|
15
|
+
message EquippedWearable {
|
|
16
|
+
string urn = 1;
|
|
17
|
+
// true if the wearable is visible in the profile outfit, after hides, replaces and force render apply.
|
|
18
|
+
// Of two wearables with the same category, the later one is used: the earlier one is false and hides nothing.
|
|
19
|
+
// Unset until all the wearables of the outfit have loaded or failed. A wearable that failed to load is false.
|
|
20
|
+
optional bool visible = 2;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1211;
|
|
8
|
+
|
|
9
|
+
// The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
|
|
10
|
+
// as the avatar movement speed, jump height etc.
|
|
11
|
+
message PBAvatarLocomotionSettings {
|
|
12
|
+
optional float walk_speed = 1; // Maximum speed when walking (in meters per second)
|
|
13
|
+
optional float jog_speed = 2; // Maximum speed when jogging (in meters per second)
|
|
14
|
+
optional float run_speed = 3; // Maximum speed when running (in meters per second)
|
|
15
|
+
optional float jump_height = 4; // Height of a regular jump (in meters)
|
|
16
|
+
optional float run_jump_height = 5; // Height of a jump while running (in meters)
|
|
17
|
+
optional float hard_landing_cooldown = 6; // Cooldown time after a hard landing before the avatar can move again (in seconds)
|
|
18
|
+
optional float double_jump_height = 7; // Height of the double jump (in meters)
|
|
19
|
+
optional float gliding_speed = 8; // Maximum speed when gliding (in meters per second)
|
|
20
|
+
optional float gliding_falling_speed = 9; // Maximum falling speed when gliding (in meters per second)
|
|
21
|
+
}
|
|
@@ -29,4 +29,5 @@ message PBAvatarModifierArea {
|
|
|
29
29
|
enum AvatarModifierType {
|
|
30
30
|
AMT_HIDE_AVATARS = 0; // avatars are invisible
|
|
31
31
|
AMT_DISABLE_PASSPORTS = 1; // selecting (e.g. clicking) an avatar will not bring up their profile.
|
|
32
|
+
AMT_HIDE_NAMETAGS = 2; // the name tag displayed above an avatar is hidden.
|
|
32
33
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/colors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1221;
|
|
9
|
+
|
|
10
|
+
// The AvatarNametag component adds a plate with scene-provided text above an avatar's nametag,
|
|
11
|
+
// for example to show a rank or a role that the scene assigns to that player.
|
|
12
|
+
//
|
|
13
|
+
// Valid only on an avatar-bearing entity:
|
|
14
|
+
// - the local player: `engine.PlayerEntity`
|
|
15
|
+
// - another player in the scene: that player's entity
|
|
16
|
+
// - an NPC: any entity with an AvatarShape
|
|
17
|
+
// Writes to any other entity are ignored.
|
|
18
|
+
//
|
|
19
|
+
// Player entity ids are not stable across disconnects: a write to a stale entity lands on
|
|
20
|
+
// whoever holds that id next. Resolve the entity from the user id on every write, and remove
|
|
21
|
+
// the component when the player leaves the scene.
|
|
22
|
+
//
|
|
23
|
+
// The plate is local to the client that renders it; it is never relayed to other players.
|
|
24
|
+
message PBAvatarNametag {
|
|
25
|
+
// The plate text: a single line, for example "Club Owner". Empty draws the plate without text,
|
|
26
|
+
// and spaces are preserved: a label of spaces widens a text-less plate. For a plate sized
|
|
27
|
+
// exactly to a word without showing it, set label_color equal to background_color instead.
|
|
28
|
+
string label = 1;
|
|
29
|
+
|
|
30
|
+
optional decentraland.common.Color3 label_color = 2; // (default: the client's native nametag text color)
|
|
31
|
+
optional decentraland.common.Color3 background_color = 3; // (default: the client's native nametag background color)
|
|
32
|
+
optional decentraland.common.Color3 border_color = 4; // (default: background_color, so the plate carries no visible border)
|
|
33
|
+
}
|