@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
|
@@ -6,37 +6,54 @@ option (common.ecs_component_id) = 1080;
|
|
|
6
6
|
import "decentraland/common/colors.proto";
|
|
7
7
|
|
|
8
8
|
// The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
9
|
-
// a simplified GLTF container for this specific case.
|
|
9
|
+
// a simplified GLTF container for this specific case.
|
|
10
10
|
//
|
|
11
|
-
// All fields (except ID) are optional have reasonable default values. In the case of `wearables`,
|
|
11
|
+
// All fields (except ID) are optional and have reasonable default values. In the case of `wearables`,
|
|
12
12
|
// each slot on the Avatar's body that is not explicitly included in the list has its own default.
|
|
13
13
|
//
|
|
14
|
-
//
|
|
15
|
-
//
|
|
14
|
+
// On most entities, AvatarShape draws an avatar, for example an NPC. Other requirements are usually
|
|
15
|
+
// better served by GLTFs.
|
|
16
|
+
//
|
|
17
|
+
// On a player entity (`engine.PlayerEntity` or the entity of another player), AvatarShape changes the
|
|
18
|
+
// look of that player's avatar:
|
|
19
|
+
// - An unset field keeps the value from the player's profile. The defaults below apply only to other entities.
|
|
20
|
+
// - A non-empty `wearables` replaces all the wearables. A body slot that it does not fill stays empty.
|
|
21
|
+
// An empty `wearables` is the same as unset.
|
|
22
|
+
// - Fields marked "ignored on player entities" have no effect.
|
|
23
|
+
// - The change is local to this client. It is not broadcast.
|
|
24
|
+
// - The change applies only while the scene that wrote it is the current scene.
|
|
25
|
+
// - AvatarBase and AvatarEquippedData keep the values from the profile.
|
|
16
26
|
message PBAvatarShape {
|
|
17
|
-
string id = 1; // the user ID
|
|
18
|
-
optional string name = 2; // visible name (default: "NPC")
|
|
27
|
+
string id = 1; // the user ID; ignored on player entities
|
|
28
|
+
optional string name = 2; // visible name (default: "NPC"); ignored on player entities
|
|
19
29
|
optional string body_shape = 3; // shape URN (default "urn:decentraland:off-chain:base-avatars:BaseFemale")
|
|
20
30
|
|
|
21
31
|
optional decentraland.common.Color3 skin_color = 4; // RGB (default [0.6, 0.462, 0.356])
|
|
22
32
|
optional decentraland.common.Color3 hair_color = 5; // RGB (default [0.283, 0.142, 0])
|
|
23
33
|
optional decentraland.common.Color3 eye_color = 6; // RGB (default [0.6, 0.462, 0.356])
|
|
24
34
|
|
|
25
|
-
optional string expression_trigger_id = 7; // current emote animations
|
|
26
|
-
optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order)
|
|
35
|
+
optional string expression_trigger_id = 7; // current emote animations; ignored on player entities
|
|
36
|
+
optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order); ignored on player entities
|
|
27
37
|
|
|
28
|
-
optional bool talking = 9; // whether to display the floating voice chat icon
|
|
38
|
+
optional bool talking = 9; // whether to display the floating voice chat icon; ignored on player entities
|
|
29
39
|
|
|
30
|
-
//
|
|
40
|
+
// Wearables, one per body slot. Each item is one of:
|
|
41
|
+
// - a wearable URN
|
|
42
|
+
// - the path of a GLB file in the scene content, named `<name>_<category>.glb`, for example `cap_hat.glb`
|
|
43
|
+
// If two items have the same category, the later item is used.
|
|
44
|
+
// A scene GLB is always visible and hides nothing. Exception: a `skin` GLB hides the body that it replaces.
|
|
45
|
+
// If an item is not a URN or a `.glb` path, or if it cannot be loaded, the item is skipped.
|
|
31
46
|
// Default values for each unspecified slot:
|
|
32
|
-
// Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
|
47
|
+
// Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
|
33
48
|
// Eyebrows: "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
|
34
|
-
// Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
|
35
|
-
// Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
|
|
36
|
-
// Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
|
37
|
-
// Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
|
38
|
-
// Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"
|
|
49
|
+
// Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00",
|
|
50
|
+
// Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
|
|
51
|
+
// Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
|
52
|
+
// Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
|
53
|
+
// Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"
|
|
39
54
|
repeated string wearables = 10;
|
|
40
|
-
repeated string emotes = 11; // available emotes (default empty)
|
|
55
|
+
repeated string emotes = 11; // available emotes (default empty); ignored on player entities
|
|
56
|
+
|
|
57
|
+
optional bool show_only_wearables = 12; // hides the skin + hair + facial features (default: false)
|
|
41
58
|
}
|
|
42
59
|
|
|
@@ -4,19 +4,27 @@ package decentraland.sdk.components;
|
|
|
4
4
|
|
|
5
5
|
import "decentraland/sdk/components/common/id.proto";
|
|
6
6
|
|
|
7
|
+
// https://adr.decentraland.org/adr/ADR-198
|
|
7
8
|
option (common.ecs_component_id) = 1090;
|
|
8
9
|
|
|
9
|
-
// The Billboard component makes an Entity automatically reorient its rotation to face
|
|
10
|
-
//
|
|
10
|
+
// The Billboard component makes an Entity automatically reorient its rotation to face a target.
|
|
11
|
+
// By default (when target_entity is unset), the billboard faces the main camera. When target_entity
|
|
12
|
+
// is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
|
|
13
|
+
// entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
|
|
14
|
+
// or is deleted, the billboard reorientation is disabled until the target exists again.
|
|
15
|
+
//
|
|
16
|
+
// As the name indicates, it’s used to display in-game billboards and frequently combined with
|
|
11
17
|
// the TextShape component.
|
|
12
18
|
//
|
|
13
|
-
// Billboard only affects the Entity
|
|
19
|
+
// Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
|
|
14
20
|
// Transform.
|
|
15
21
|
message PBBillboard {
|
|
16
22
|
optional BillboardMode billboard_mode = 1; // the BillboardMode (default: BM_ALL)
|
|
23
|
+
optional uint32 target_entity = 2; // entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does
|
|
17
24
|
}
|
|
18
25
|
|
|
19
26
|
// BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
|
|
27
|
+
// Only the values below and the (BM_X | BM_Y) combination are valid.
|
|
20
28
|
enum BillboardMode {
|
|
21
29
|
BM_NONE = 0;
|
|
22
30
|
BM_X = 1;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components.common;
|
|
3
|
+
|
|
4
|
+
// Defines the transition used towards the camera that contains the CameraTransition.
|
|
5
|
+
// This structure may be updated in the future to specify from/to entities and to have easing functions.
|
|
6
|
+
message CameraTransition {
|
|
7
|
+
oneof transition_mode {
|
|
8
|
+
float time = 1;
|
|
9
|
+
float speed = 2; // meters per second; e.g. speed 1 -> 1 meter per second
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components.common;
|
|
3
|
+
|
|
4
|
+
// Identifies which explorer panel OpenExplorerUi targets. Panels are not all fullscreen.
|
|
5
|
+
// EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
|
|
6
|
+
enum ExplorerUi {
|
|
7
|
+
EU_SETTINGS = 0;
|
|
8
|
+
EU_MAP = 1;
|
|
9
|
+
EU_BACKPACK = 2;
|
|
10
|
+
EU_CAMERA_REEL = 3;
|
|
11
|
+
EU_COMMUNITIES = 4;
|
|
12
|
+
EU_PLACES = 5;
|
|
13
|
+
EU_EVENTS = 6;
|
|
14
|
+
EU_ITEM_PURCHASE = 7; // the item-purchase confirmation modal; see OpenExplorerUi for its parameters and result component
|
|
15
|
+
}
|
|
@@ -17,6 +17,8 @@ enum InputAction {
|
|
|
17
17
|
IA_ACTION_4 = 11;
|
|
18
18
|
IA_ACTION_5 = 12;
|
|
19
19
|
IA_ACTION_6 = 13;
|
|
20
|
+
// Modifier key (Shift on desktop)
|
|
21
|
+
IA_MODIFIER = 14;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
// PointerEventType is a kind of interaction that can be detected.
|
|
@@ -25,4 +27,11 @@ enum PointerEventType {
|
|
|
25
27
|
PET_DOWN = 1;
|
|
26
28
|
PET_HOVER_ENTER = 2;
|
|
27
29
|
PET_HOVER_LEAVE = 3;
|
|
30
|
+
PET_PROXIMITY_ENTER = 4;
|
|
31
|
+
PET_PROXIMITY_LEAVE = 5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
enum InteractionType {
|
|
35
|
+
CURSOR = 0;
|
|
36
|
+
PROXIMITY = 1;
|
|
28
37
|
}
|
|
@@ -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) = 1048;
|
|
6
|
+
|
|
7
|
+
// EngineInfo provides information about the graphics engine running the scene.
|
|
8
|
+
// The values of this component are written at the "physics" stage of the ADR-148. Meaning
|
|
9
|
+
// the tick_number and frame_number of the same frame could be used as correlation numbers
|
|
10
|
+
// for timestamps in other components.
|
|
11
|
+
message PBEngineInfo {
|
|
12
|
+
uint32 frame_number = 1; // frame counter of the engine
|
|
13
|
+
float total_runtime = 2; // total runtime of this scene in seconds
|
|
14
|
+
uint32 tick_number = 3; // tick counter of the scene as per ADR-148
|
|
15
|
+
bool scene_hidden = 4; // visibility state of the scene regarding Explorer fullscreen UI
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
import "decentraland/common/gradient.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1225;
|
|
8
|
+
|
|
9
|
+
// PBEnvironmentFog overrides the environment fog while the player is inside the scene.
|
|
10
|
+
// Valid only on the scene root entity (`engine.RootEntity`).
|
|
11
|
+
//
|
|
12
|
+
// An unset field keeps the time-of-day default.
|
|
13
|
+
// Gradient `time` is the normalized time of day: 0 = 00:00, 0.5 = 12:00, 1 = 24:00.
|
|
14
|
+
// Gradients do not wrap around midnight.
|
|
15
|
+
// A scene cannot turn fog on or off. That is a user quality setting.
|
|
16
|
+
//
|
|
17
|
+
// While active, the overrides are global: they also change how neighbouring parcels look from inside the scene.
|
|
18
|
+
message PBEnvironmentFog {
|
|
19
|
+
optional decentraland.common.ColorGradient color = 1;
|
|
20
|
+
optional float density = 2; // default = 0.0005, per meter: fog = 1 - e^(-density * distance). Negative values clamp to 0
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
|
|
6
|
+
option (common.ecs_component_id) = 1222;
|
|
7
|
+
|
|
8
|
+
// Grow-only value set appended to the scene root entity.
|
|
9
|
+
// Reports the outcome of an EU_ITEM_PURCHASE flow triggered via OpenExplorerUi.
|
|
10
|
+
message PBExplorerItemPurchaseResult {
|
|
11
|
+
message Purchased {}
|
|
12
|
+
message Dismissed {}
|
|
13
|
+
message Failed {}
|
|
14
|
+
|
|
15
|
+
string urn = 1;
|
|
16
|
+
uint32 timestamp = 2; // The scene tick when the event occurred
|
|
17
|
+
uint32 request_id = 3; // The OpenExplorerUiRequest.request_id that caused this event; 0 when the request carried none
|
|
18
|
+
|
|
19
|
+
oneof status {
|
|
20
|
+
Purchased purchased = 10;
|
|
21
|
+
Dismissed dismissed = 11;
|
|
22
|
+
Failed failed = 12;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/explorer_ui.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1220;
|
|
8
|
+
|
|
9
|
+
// PBExplorerUiEventsResult transports the lifecycle events of explorer UI panels — a panel was
|
|
10
|
+
// opened, a panel was closed. It is a grow only value set appended to the scene root entity, so every
|
|
11
|
+
// event of a tick is delivered and none overwrites another.
|
|
12
|
+
message PBExplorerUiEventsResult {
|
|
13
|
+
// Emitted when an explorer panel is opened. The OpenExplorerUi response carries the same fact,
|
|
14
|
+
// but it reaches only the caller; this channel is scene wide.
|
|
15
|
+
message UiOpened {}
|
|
16
|
+
|
|
17
|
+
// Emitted when an explorer panel is closed.
|
|
18
|
+
message UiClosed {}
|
|
19
|
+
|
|
20
|
+
decentraland.sdk.components.common.ExplorerUi ui = 1; // The panel that the event refers to
|
|
21
|
+
uint32 timestamp = 2; // The scene tick when the event occurred
|
|
22
|
+
uint32 request_id = 3; // The OpenExplorerUiRequest.request_id that caused this event; 0 when the request carried none
|
|
23
|
+
|
|
24
|
+
// Extension point, deliberately narrow: a variant belongs here only if it is meaningful for every
|
|
25
|
+
// value of `ui`, because `ui` and `event` are independent axes and every combination of the two is
|
|
26
|
+
// representable. An event that belongs to one panel alone (an item was worn in the backpack, a photo
|
|
27
|
+
// was taken in the camera reel) is not added here — it gets its own result component, where the
|
|
28
|
+
// component identity carries the panel and no contradictory pair can be expressed at all.
|
|
29
|
+
oneof event {
|
|
30
|
+
UiOpened opened = 10;
|
|
31
|
+
UiClosed closed = 11;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -10,4 +10,10 @@ option (common.ecs_component_id) = 1041;
|
|
|
10
10
|
// achieved using MeshRenderer, MeshCollider and other standard components.
|
|
11
11
|
message PBGltfContainer {
|
|
12
12
|
string src = 1; // the GLTF file path as listed in the scene's manifest.
|
|
13
|
+
|
|
14
|
+
reserved 2;
|
|
15
|
+
reserved 3;
|
|
16
|
+
|
|
17
|
+
optional uint32 visible_meshes_collision_mask = 4; // default: 0
|
|
18
|
+
optional uint32 invisible_meshes_collision_mask = 5; // default: CL_POINTER | CL_PHYSICS
|
|
13
19
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1049;
|
|
6
|
+
|
|
7
|
+
import "decentraland/sdk/components/common/loading_state.proto";
|
|
8
|
+
|
|
9
|
+
// GltfContainerLoadingState is set by the engine and provides information about
|
|
10
|
+
// the current state of the GltfContainer of an entity.
|
|
11
|
+
message PBGltfContainerLoadingState {
|
|
12
|
+
common.LoadingState current_state = 1;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/material.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1099;
|
|
9
|
+
|
|
10
|
+
// GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
|
|
11
|
+
//
|
|
12
|
+
// This allows to override either the Material or the Casting Shadows behaviour of the target GLTF Node.
|
|
13
|
+
//
|
|
14
|
+
// * If the 'path' of the first modifier in the collection is an empty string: the configuration will
|
|
15
|
+
// affect all of the GLTF Nodes (as a global modifier).
|
|
16
|
+
// * Otherwise, for the modifiers whose 'path' is found in the GLTF hierarchy, the modifier will affect only
|
|
17
|
+
// the target Nodes.
|
|
18
|
+
message PBGltfNodeModifiers {
|
|
19
|
+
message GltfNodeModifier {
|
|
20
|
+
string path = 1; // The GLTF hierarchy path of the target Node to be affected
|
|
21
|
+
optional bool cast_shadows = 2; // The casting shadows enabled override
|
|
22
|
+
optional PBMaterial material = 3; // The Material that will be overridden on the target Node
|
|
23
|
+
}
|
|
24
|
+
repeated GltfNodeModifier modifiers = 1;
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
4
|
+
option (common.ecs_component_id) = 1078;
|
|
5
|
+
|
|
6
|
+
message PBInputModifier {
|
|
7
|
+
// when a boolean = false (default) the message is ignored and doesn't consume bandwidth
|
|
8
|
+
message StandardInput {
|
|
9
|
+
optional bool disable_all = 1;
|
|
10
|
+
optional bool disable_walk = 2;
|
|
11
|
+
optional bool disable_jog = 3;
|
|
12
|
+
optional bool disable_run = 4;
|
|
13
|
+
optional bool disable_jump = 5;
|
|
14
|
+
optional bool disable_emote = 6;
|
|
15
|
+
optional bool disable_double_jump = 7;
|
|
16
|
+
optional bool disable_gliding = 8;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
oneof mode {
|
|
20
|
+
StandardInput standard = 1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
4
|
+
import "decentraland/common/colors.proto";
|
|
5
|
+
import "decentraland/common/texture.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1079;
|
|
7
|
+
|
|
8
|
+
message PBLightSource {
|
|
9
|
+
optional bool active = 1; // default = true, whether the lightSource is active or not.
|
|
10
|
+
optional decentraland.common.Color3 color = 2; // default = white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1.
|
|
11
|
+
optional float intensity = 3; // default = 16000, light intensity expressed in candels (lumens/m^2 at 1 m distance, or lumens divided by 4*pi)
|
|
12
|
+
optional float range = 4; // default = -1, how far the light travels, expressed in meters. If negative will be computed automatically as pow(intensity, 0.25)
|
|
13
|
+
optional bool shadow = 5; // default = false, whether the light casts shadows or not.
|
|
14
|
+
optional decentraland.common.TextureUnion shadow_mask_texture = 6; // Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window.
|
|
15
|
+
|
|
16
|
+
oneof type {
|
|
17
|
+
Point point = 7;
|
|
18
|
+
Spot spot = 8;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message Point {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message Spot {
|
|
25
|
+
optional float inner_angle = 9; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.
|
|
26
|
+
optional float outer_angle = 10; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1075;
|
|
6
|
+
|
|
7
|
+
// PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
8
|
+
// This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
9
|
+
message PBMainCamera {
|
|
10
|
+
optional uint32 virtual_camera_entity = 1; // current active virtual camera
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
import "decentraland/common/vectors.proto";
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
import "decentraland/common/texture.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1097;
|
|
7
|
+
|
|
8
|
+
// @deprecated
|
|
9
|
+
// Used internally for the game orchestrator PX, not exposed in the SDK
|
|
10
|
+
message PBMapPin {
|
|
11
|
+
decentraland.common.Vector2 position = 1;
|
|
12
|
+
optional decentraland.common.TextureUnion texture = 2;
|
|
13
|
+
float icon_size = 3;
|
|
14
|
+
string title = 4;
|
|
15
|
+
string description = 5;
|
|
16
|
+
}
|
|
@@ -22,6 +22,7 @@ message PBMaterial {
|
|
|
22
22
|
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
|
|
23
23
|
optional bool cast_shadows = 3; // default = true
|
|
24
24
|
optional decentraland.common.Color4 diffuse_color = 4; // default = white;
|
|
25
|
+
optional decentraland.common.TextureUnion alpha_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture.
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
message PbrMaterial {
|
|
@@ -30,9 +31,9 @@ message PBMaterial {
|
|
|
30
31
|
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
|
|
31
32
|
optional bool cast_shadows = 3; // default = true
|
|
32
33
|
|
|
33
|
-
optional decentraland.common.TextureUnion alpha_texture = 4; //
|
|
34
|
-
optional decentraland.common.TextureUnion emissive_texture = 5; // default = null
|
|
35
|
-
optional decentraland.common.TextureUnion bump_texture = 6; // default = null
|
|
34
|
+
optional decentraland.common.TextureUnion alpha_texture = 4; // @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead.
|
|
35
|
+
optional decentraland.common.TextureUnion emissive_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture.
|
|
36
|
+
optional decentraland.common.TextureUnion bump_texture = 6; // default = null. Note that tilling and offset properties are ignored for this texture.
|
|
36
37
|
|
|
37
38
|
optional decentraland.common.Color4 albedo_color = 7; // default = white;
|
|
38
39
|
optional decentraland.common.Color3 emissive_color = 8; // default = black;
|
|
@@ -42,7 +43,7 @@ message PBMaterial {
|
|
|
42
43
|
|
|
43
44
|
optional float metallic = 11; // default = 0.5
|
|
44
45
|
optional float roughness = 12; // default = 0.5
|
|
45
|
-
|
|
46
|
+
reserved 13;
|
|
46
47
|
|
|
47
48
|
optional float specular_intensity = 14; // default = 1
|
|
48
49
|
optional float emissive_intensity = 15; // default = 2
|
|
@@ -53,5 +54,4 @@ message PBMaterial {
|
|
|
53
54
|
UnlitMaterial unlit = 1;
|
|
54
55
|
PbrMaterial pbr = 2;
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
-
}
|
|
57
|
+
}
|
|
@@ -20,8 +20,8 @@ message PBMeshCollider {
|
|
|
20
20
|
|
|
21
21
|
// CylinderMesh is a truncated cone shape that contains the Entity.
|
|
22
22
|
message CylinderMesh {
|
|
23
|
-
optional float radius_top = 1; // (default
|
|
24
|
-
optional float radius_bottom = 2; // (default
|
|
23
|
+
optional float radius_top = 1; // (default 0.5)
|
|
24
|
+
optional float radius_bottom = 2; // (default 0.5)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// PlaneMesh is a 2D rectangle described by the Entity's Transform.
|
|
@@ -30,7 +30,7 @@ message PBMeshCollider {
|
|
|
30
30
|
// SphereMesh is a sphere shape that contains the Entity.
|
|
31
31
|
message SphereMesh {}
|
|
32
32
|
|
|
33
|
-
optional
|
|
33
|
+
optional uint32 collision_mask = 1; // enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)
|
|
34
34
|
|
|
35
35
|
oneof mesh {
|
|
36
36
|
BoxMesh box = 2;
|
|
@@ -45,8 +45,8 @@ enum ColliderLayer {
|
|
|
45
45
|
CL_NONE = 0; // no collisions
|
|
46
46
|
CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
|
|
47
47
|
CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
CL_PLAYER = 4; // layer corresponding to any player avatar (main + remote)
|
|
49
|
+
CL_MAIN_PLAYER = 8; // layer corresponding to the local (main) player avatar
|
|
50
50
|
CL_RESERVED3 = 16;
|
|
51
51
|
CL_RESERVED4 = 32;
|
|
52
52
|
CL_RESERVED5 = 64;
|
|
@@ -59,4 +59,4 @@ enum ColliderLayer {
|
|
|
59
59
|
CL_CUSTOM6 = 8192;
|
|
60
60
|
CL_CUSTOM7 = 16384;
|
|
61
61
|
CL_CUSTOM8 = 32768;
|
|
62
|
-
}
|
|
62
|
+
}
|
|
@@ -21,8 +21,8 @@ message PBMeshRenderer {
|
|
|
21
21
|
|
|
22
22
|
// CylinderMesh renders a truncated cone shape.
|
|
23
23
|
message CylinderMesh {
|
|
24
|
-
optional float radius_top = 1; // (default
|
|
25
|
-
optional float radius_bottom = 2; // (default
|
|
24
|
+
optional float radius_top = 1; // (default 0.5)
|
|
25
|
+
optional float radius_bottom = 2; // (default 0.5)
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// PlaneMesh renders a 2D rectangular shape.
|
|
@@ -9,13 +9,13 @@ option (common.ecs_component_id) = 1040;
|
|
|
9
9
|
|
|
10
10
|
// The NftShape component renders a framed picture from an NFT. It supports PNG, JPEG and GIF files.
|
|
11
11
|
//
|
|
12
|
-
// The `
|
|
13
|
-
//
|
|
12
|
+
// The `urn` field is the URI of the NFT, and must follow the format 'urn:decentraland:<CHAIN>:<CONTRACT_STANDARD>:<CONTRACT_ADDRESS>:<TOKEN_ID>'
|
|
13
|
+
// Example: 'urn:decentraland:ethereum:erc721:0x00000000:123'
|
|
14
14
|
//
|
|
15
15
|
// The picture frame can have several different styles, plus a background color for images that have
|
|
16
16
|
// transparent pixels.
|
|
17
17
|
message PBNftShape {
|
|
18
|
-
string
|
|
18
|
+
string urn = 1; // the URI of the NFT
|
|
19
19
|
optional NftFrameType style = 2; // the frame style (default NFT_CLASSIC)
|
|
20
20
|
optional decentraland.common.Color3 color = 3; // RGB background (default [0.6404918, 0.611472, 0.8584906])
|
|
21
21
|
}
|