@dcl/sdk 7.0.0-3220359277.commit-7cbadc7 → 7.0.0-3244103998.commit-74d3f83

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.
Files changed (82) hide show
  1. package/dist/ecs7/index.d.ts +153 -221
  2. package/dist/ecs7/index.js +209 -620
  3. package/dist/ecs7/index.min.js +1 -1
  4. package/dist/ecs7/index.min.js.map +1 -1
  5. package/dist/ecs7/proto-definitions/README.md +3 -3
  6. package/dist/ecs7/proto-definitions/{Animator.proto → animator.proto} +3 -2
  7. package/dist/ecs7/proto-definitions/{AudioSource.proto → audio_source.proto} +3 -2
  8. package/dist/ecs7/proto-definitions/{AudioStream.proto → audio_stream.proto} +3 -2
  9. package/dist/ecs7/proto-definitions/avatar_attach.proto +19 -0
  10. package/dist/ecs7/proto-definitions/avatar_modifier_area.proto +19 -0
  11. package/dist/ecs7/proto-definitions/{AvatarShape.proto → avatar_shape.proto} +7 -6
  12. package/dist/ecs7/proto-definitions/{Billboard.proto → billboard.proto} +3 -2
  13. package/dist/ecs7/proto-definitions/camera_mode.proto +10 -0
  14. package/dist/ecs7/proto-definitions/camera_mode_area.proto +14 -0
  15. package/dist/ecs7/proto-definitions/common/camera_type.proto +8 -0
  16. package/dist/ecs7/proto-definitions/common/id.proto +1 -0
  17. package/dist/ecs7/proto-definitions/common/input_action.proto +20 -0
  18. package/dist/ecs7/proto-definitions/common/texts.proto +14 -0
  19. package/dist/ecs7/proto-definitions/{GltfContainer.proto → gltf_container.proto} +3 -2
  20. package/dist/ecs7/proto-definitions/material.proto +59 -0
  21. package/dist/ecs7/proto-definitions/mesh_collider.proto +35 -0
  22. package/dist/ecs7/proto-definitions/{MeshRenderer.proto → mesh_renderer.proto} +3 -2
  23. package/dist/ecs7/proto-definitions/nft_shape.proto +40 -0
  24. package/dist/ecs7/proto-definitions/pointer_events.proto +31 -0
  25. package/dist/ecs7/proto-definitions/{PointerEventsResult.proto → pointer_events_result.proto} +10 -7
  26. package/dist/ecs7/proto-definitions/pointer_lock.proto +9 -0
  27. package/dist/ecs7/proto-definitions/raycast.proto +21 -0
  28. package/dist/ecs7/proto-definitions/raycast_result.proto +25 -0
  29. package/dist/ecs7/proto-definitions/{TextShape.proto → text_shape.proto} +13 -11
  30. package/dist/ecs7/proto-definitions/ui_background.proto +11 -0
  31. package/dist/ecs7/proto-definitions/ui_text.proto +17 -0
  32. package/dist/ecs7/proto-definitions/{UiTransform.proto → ui_transform.proto} +50 -49
  33. package/dist/ecs7/proto-definitions/visibility_component.proto +9 -0
  34. package/dist/playground/snippets/cube-spawner.ts +3 -3
  35. package/dist/playground/snippets/material.ts +1 -1
  36. package/dist/playground/snippets/pointer-events.ts +6 -6
  37. package/dist/playground/snippets/raycast-hit-many.ts +1 -1
  38. package/dist/playground/snippets/raycast-hit-oscilator.ts +1 -1
  39. package/dist/playground/snippets/raycast-hit.ts +1 -1
  40. package/dist/playground/snippets/ui.tsx +3 -3
  41. package/package.json +4 -4
  42. package/types/ecs7/index.d.ts +153 -221
  43. package/types/rpc-modules/CommunicationsController/index.d.ts +1 -1
  44. package/types/rpc-modules/DevTools/index.d.ts +1 -1
  45. package/types/rpc-modules/{EngineAPI → EngineApi}/index.d.ts +24 -24
  46. package/types/rpc-modules/{EnvironmentAPI → EnvironmentApi}/index.d.ts +3 -3
  47. package/types/rpc-modules/EthereumController/index.d.ts +1 -1
  48. package/types/rpc-modules/{ExperimentalAPI → ExperimentalApi}/index.d.ts +2 -2
  49. package/types/rpc-modules/ParcelIdentity/index.d.ts +2 -2
  50. package/types/rpc-modules/Permissions/index.d.ts +6 -6
  51. package/types/rpc-modules/Players/index.d.ts +3 -3
  52. package/types/rpc-modules/PortableExperiences/index.d.ts +1 -1
  53. package/types/rpc-modules/RestrictedActions/index.d.ts +1 -1
  54. package/types/rpc-modules/SignedFetch/index.d.ts +1 -1
  55. package/types/rpc-modules/SocialController/index.d.ts +1 -1
  56. package/types/rpc-modules/UserActionModule/index.d.ts +1 -1
  57. package/types/rpc-modules/UserIdentity/index.d.ts +3 -3
  58. package/types/tsconfig.ecs7.json +3 -3
  59. package/dist/ecs7/proto-definitions/AvatarAttach.proto +0 -16
  60. package/dist/ecs7/proto-definitions/AvatarModifierArea.proto +0 -16
  61. package/dist/ecs7/proto-definitions/CameraMode.proto +0 -9
  62. package/dist/ecs7/proto-definitions/CameraModeArea.proto +0 -11
  63. package/dist/ecs7/proto-definitions/Material.proto +0 -59
  64. package/dist/ecs7/proto-definitions/MeshCollider.proto +0 -35
  65. package/dist/ecs7/proto-definitions/NFTShape.proto +0 -38
  66. package/dist/ecs7/proto-definitions/OnPointerDown.proto +0 -12
  67. package/dist/ecs7/proto-definitions/OnPointerDownResult.proto +0 -17
  68. package/dist/ecs7/proto-definitions/OnPointerUp.proto +0 -12
  69. package/dist/ecs7/proto-definitions/OnPointerUpResult.proto +0 -17
  70. package/dist/ecs7/proto-definitions/PointerEvents.proto +0 -28
  71. package/dist/ecs7/proto-definitions/PointerLock.proto +0 -8
  72. package/dist/ecs7/proto-definitions/Raycast.proto +0 -19
  73. package/dist/ecs7/proto-definitions/RaycastResult.proto +0 -24
  74. package/dist/ecs7/proto-definitions/UiBackground.proto +0 -10
  75. package/dist/ecs7/proto-definitions/UiText.proto +0 -25
  76. package/dist/ecs7/proto-definitions/VisibilityComponent.proto +0 -8
  77. package/dist/ecs7/proto-definitions/common/ActionButton.proto +0 -18
  78. package/dist/ecs7/proto-definitions/common/CameraModeValue.proto +0 -6
  79. package/dist/ecs7/proto-definitions/common/Color3.proto +0 -8
  80. package/dist/ecs7/proto-definitions/common/Color4.proto +0 -8
  81. package/dist/ecs7/proto-definitions/common/Vector3.proto +0 -7
  82. package/types/rpc-modules/SceneStateStorageController/index.d.ts +0 -90
@@ -1,35 +1,35 @@
1
- declare module "~system/EngineAPI" {
1
+ declare module "~system/EngineApi" {
2
2
 
3
3
  export enum QueryType {
4
- InvalidQueryType = 0,
5
- HitFirst = 1,
6
- HitAll = 2,
7
- HitFirstAvatar = 3,
8
- HitAllAvatars = 4,
4
+ QT_INVALID_QUERY_TYPE = 0,
5
+ QT_HIT_FIRST = 1,
6
+ QT_HIT_ALL = 2,
7
+ QT_HIT_FIRST_AVATAR = 3,
8
+ QT_HIT_ALL_AVATARS = 4,
9
9
  UNRECOGNIZED = -1
10
10
  }
11
11
  export enum EAType {
12
- InvalidEAType = 0,
13
- OpenExternalUrl = 1,
14
- OpenNFTDialog = 2,
15
- CreateEntity = 3,
16
- RemoveEntity = 4,
17
- UpdateEntityComponent = 5,
18
- AttachEntityComponent = 6,
19
- ComponentRemoved = 7,
20
- SetEntityParent = 8,
21
- Query = 9,
22
- ComponentCreated = 10,
23
- ComponentDisposed = 11,
24
- ComponentUpdated = 12,
25
- InitMessagesFinished = 13,
12
+ EAT_INVALID_EA_TYPE = 0,
13
+ EAT_OPEN_EXTERNAL_URL = 1,
14
+ EAT_OPEN_NFT_DIALOG = 2,
15
+ EAT_CREATE_ENTITY = 3,
16
+ EAT_REMOVE_ENTITY = 4,
17
+ EAT_UPDATE_ENTITY_COMPONENT = 5,
18
+ EAT_ATTACH_ENTITY_COMPONENT = 6,
19
+ EAT_COMPONENT_REMOVED = 7,
20
+ EAT_SET_ENTITY_PARENT = 8,
21
+ EAT_QUERY = 9,
22
+ EAT_COMPONENT_CREATED = 10,
23
+ EAT_COMPONENT_DISPOSED = 11,
24
+ EAT_COMPONENT_UPDATED = 12,
25
+ EAT_INIT_MESSAGES_FINISHED = 13,
26
26
  UNRECOGNIZED = -1
27
27
  }
28
28
  /** Events */
29
29
  export enum EventDataType {
30
- Generic = 0,
31
- PositionChanged = 1,
32
- RotationChanged = 2,
30
+ EDT_GENERIC = 0,
31
+ EDT_POSITION_CHANGED = 1,
32
+ EDT_ROTATION_CHANGED = 2,
33
33
  UNRECOGNIZED = -1
34
34
  }
35
35
  export interface OpenExternalUrlBody {
@@ -152,7 +152,7 @@ declare module "~system/EngineAPI" {
152
152
 
153
153
  // ########### BLOCK
154
154
 
155
- // importtype { ManyEntityAction, SendBatchResponse, SubscribeRequest, SubscribeResponse, UnsubscribeRequest, UnsubscribeResponse } from "proto/kernel/apis/EngineAPI.gen";
155
+ // importtype { ManyEntityAction, SendBatchResponse, SubscribeRequest, SubscribeResponse, UnsubscribeRequest, UnsubscribeResponse } from "proto/decentraland/kernel/apis/engine_api.gen";
156
156
  export function sendBatch(body: ManyEntityAction): Promise<SendBatchResponse>;
157
157
  export function subscribe(body: SubscribeRequest): Promise<SubscribeResponse>;
158
158
  export function unsubscribe(body: UnsubscribeRequest): Promise<UnsubscribeResponse>;
@@ -1,4 +1,4 @@
1
- declare module "~system/EnvironmentAPI" {
1
+ declare module "~system/EnvironmentApi" {
2
2
 
3
3
  export const protobufPackage = "decentraland.common";
4
4
  export interface ContentMapping {
@@ -8,7 +8,7 @@ declare module "~system/EnvironmentAPI" {
8
8
 
9
9
  // ########### BLOCK
10
10
 
11
- // importtype { ContentMapping } from "proto/common/ContentMapping.gen";
11
+ // importtype { ContentMapping } from "proto/decentraland/common/content_mapping.gen";
12
12
  export interface MinimalRunnableEntity {
13
13
  content: ContentMapping[];
14
14
  metadataJson: string;
@@ -69,7 +69,7 @@ declare module "~system/EnvironmentAPI" {
69
69
 
70
70
  // ########### BLOCK
71
71
 
72
- // importtype { GetBootstrapDataRequest, BootstrapDataResponse, IsPreviewModeRequest, PreviewModeResponse, GetPlatformRequest, GetPlatformResponse, AreUnsafeRequestAllowedRequest, AreUnsafeRequestAllowedResponse, GetCurrentRealmRequest, GetCurrentRealmResponse, GetExplorerConfigurationRequest, GetExplorerConfigurationResponse, GetDecentralandTimeRequest, GetDecentralandTimeResponse } from "proto/kernel/apis/EnvironmentAPI.gen";
72
+ // importtype { GetBootstrapDataRequest, BootstrapDataResponse, IsPreviewModeRequest, PreviewModeResponse, GetPlatformRequest, GetPlatformResponse, AreUnsafeRequestAllowedRequest, AreUnsafeRequestAllowedResponse, GetCurrentRealmRequest, GetCurrentRealmResponse, GetExplorerConfigurationRequest, GetExplorerConfigurationResponse, GetDecentralandTimeRequest, GetDecentralandTimeResponse } from "proto/decentraland/kernel/apis/environment_api.gen";
73
73
  export function getBootstrapData(body: GetBootstrapDataRequest): Promise<BootstrapDataResponse>;
74
74
  export function isPreviewMode(body: IsPreviewModeRequest): Promise<PreviewModeResponse>;
75
75
  export function getPlatform(body: GetPlatformRequest): Promise<GetPlatformResponse>;
@@ -50,7 +50,7 @@ declare module "~system/EthereumController" {
50
50
 
51
51
  // ########### BLOCK
52
52
 
53
- // importtype { RequirePaymentRequest, RequirePaymentResponse, SignMessageRequest, SignMessageResponse, ConvertMessageToObjectRequest, ConvertMessageToObjectResponse, SendAsyncRequest, SendAsyncResponse, GetUserAccountRequest, GetUserAccountResponse } from "proto/kernel/apis/EthereumController.gen";
53
+ // importtype { RequirePaymentRequest, RequirePaymentResponse, SignMessageRequest, SignMessageResponse, ConvertMessageToObjectRequest, ConvertMessageToObjectResponse, SendAsyncRequest, SendAsyncResponse, GetUserAccountRequest, GetUserAccountResponse } from "proto/decentraland/kernel/apis/ethereum_controller.gen";
54
54
  export function requirePayment(body: RequirePaymentRequest): Promise<RequirePaymentResponse>;
55
55
  export function signMessage(body: SignMessageRequest): Promise<SignMessageResponse>;
56
56
  export function convertMessageToObject(body: ConvertMessageToObjectRequest): Promise<ConvertMessageToObjectResponse>;
@@ -1,4 +1,4 @@
1
- declare module "~system/ExperimentalAPI" {
1
+ declare module "~system/ExperimentalApi" {
2
2
 
3
3
  export interface SendToRendererRequest {
4
4
  data: Uint8Array;
@@ -13,7 +13,7 @@ declare module "~system/ExperimentalAPI" {
13
13
 
14
14
  // ########### BLOCK
15
15
 
16
- // importtype { SendToRendererRequest, SendToResponse, MessageFromRendererRequest, MessageFromRendererResponse } from "proto/kernel/apis/ExperimentalAPI.gen";
16
+ // importtype { SendToRendererRequest, SendToResponse, MessageFromRendererRequest, MessageFromRendererResponse } from "proto/decentraland/kernel/apis/experimental_api.gen";
17
17
  export function sendToRenderer(body: SendToRendererRequest): Promise<SendToResponse>;
18
18
  export function messageFromRenderer(body: MessageFromRendererRequest): Promise<MessageFromRendererResponse>;
19
19
 
@@ -8,7 +8,7 @@ declare module "~system/ParcelIdentity" {
8
8
 
9
9
  // ########### BLOCK
10
10
 
11
- // importtype { ContentMapping } from "proto/common/ContentMapping.gen";
11
+ // importtype { ContentMapping } from "proto/decentraland/common/content_mapping.gen";
12
12
  export interface MappingsResponse {
13
13
  parcelId: string;
14
14
  rootCid: string;
@@ -40,7 +40,7 @@ declare module "~system/ParcelIdentity" {
40
40
 
41
41
  // ########### BLOCK
42
42
 
43
- // importtype { GetParcelRequest, GetParcelResponse, GetSceneIdRequest, GetSceneIdResponse, GetIsEmptyRequest, GetIsEmptyResponse } from "proto/kernel/apis/ParcelIdentity.gen";
43
+ // importtype { GetParcelRequest, GetParcelResponse, GetSceneIdRequest, GetSceneIdResponse, GetIsEmptyRequest, GetIsEmptyResponse } from "proto/decentraland/kernel/apis/parcel_identity.gen";
44
44
  export function getParcel(body: GetParcelRequest): Promise<GetParcelResponse>;
45
45
  export function getSceneId(body: GetSceneIdRequest): Promise<GetSceneIdResponse>;
46
46
  export function getIsEmpty(body: GetIsEmptyRequest): Promise<GetIsEmptyResponse>;
@@ -1,11 +1,11 @@
1
1
  declare module "~system/Permissions" {
2
2
 
3
3
  export enum PermissionItem {
4
- ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE = 0,
5
- ALLOW_TO_TRIGGER_AVATAR_EMOTE = 1,
6
- USE_WEB3_API = 2,
7
- USE_WEBSOCKET = 3,
8
- USE_FETCH = 4,
4
+ PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE = 0,
5
+ PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE = 1,
6
+ PI_USE_WEB3_API = 2,
7
+ PI_USE_WEBSOCKET = 3,
8
+ PI_USE_FETCH = 4,
9
9
  UNRECOGNIZED = -1
10
10
  }
11
11
  export interface PermissionResponse {
@@ -23,7 +23,7 @@ declare module "~system/Permissions" {
23
23
 
24
24
  // ########### BLOCK
25
25
 
26
- // importtype { HasPermissionRequest, PermissionResponse, HasManyPermissionRequest, HasManyPermissionResponse } from "proto/kernel/apis/Permissions.gen";
26
+ // importtype { HasPermissionRequest, PermissionResponse, HasManyPermissionRequest, HasManyPermissionResponse } from "proto/decentraland/kernel/apis/permissions.gen";
27
27
  export function hasPermission(body: HasPermissionRequest): Promise<PermissionResponse>;
28
28
  export function hasManyPermissions(body: HasManyPermissionRequest): Promise<HasManyPermissionResponse>;
29
29
 
@@ -1,6 +1,6 @@
1
1
  declare module "~system/Players" {
2
2
 
3
-
3
+ export const protobufPackage = "decentraland.common.sdk";
4
4
  export interface Snapshots {
5
5
  face256: string;
6
6
  body: string;
@@ -24,7 +24,7 @@ declare module "~system/Players" {
24
24
 
25
25
  // ########### BLOCK
26
26
 
27
- // importtype { UserData } from "proto/kernel/apis/common-sdk/UserData.gen";
27
+ // importtype { UserData } from "proto/decentraland/common/sdk/user_data.gen";
28
28
  export interface Player {
29
29
  userId: string;
30
30
  }
@@ -44,7 +44,7 @@ declare module "~system/Players" {
44
44
 
45
45
  // ########### BLOCK
46
46
 
47
- // importtype { GetPlayerDataRequest, PlayersGetUserDataResponse, GetPlayersInSceneRequest, PlayerListResponse, GetConnectedPlayersRequest } from "proto/kernel/apis/Players.gen";
47
+ // importtype { GetPlayerDataRequest, PlayersGetUserDataResponse, GetPlayersInSceneRequest, PlayerListResponse, GetConnectedPlayersRequest } from "proto/decentraland/kernel/apis/players.gen";
48
48
  export function getPlayerData(body: GetPlayerDataRequest): Promise<PlayersGetUserDataResponse>;
49
49
  export function getPlayersInScene(body: GetPlayersInSceneRequest): Promise<PlayerListResponse>;
50
50
  export function getConnectedPlayers(body: GetConnectedPlayersRequest): Promise<PlayerListResponse>;
@@ -29,7 +29,7 @@ declare module "~system/PortableExperiences" {
29
29
 
30
30
  // ########### BLOCK
31
31
 
32
- // importtype { SpawnRequest, SpawnResponse, KillRequest, KillResponse, ExitRequest, ExitResponse, GetPortableExperiencesLoadedRequest, GetPortableExperiencesLoadedResponse } from "proto/kernel/apis/PortableExperiences.gen";
32
+ // importtype { SpawnRequest, SpawnResponse, KillRequest, KillResponse, ExitRequest, ExitResponse, GetPortableExperiencesLoadedRequest, GetPortableExperiencesLoadedResponse } from "proto/decentraland/kernel/apis/portable_experiences.gen";
33
33
  export function spawn(body: SpawnRequest): Promise<SpawnResponse>;
34
34
  export function kill(body: KillRequest): Promise<KillResponse>;
35
35
  export function exit(body: ExitRequest): Promise<ExitResponse>;
@@ -19,7 +19,7 @@ declare module "~system/RestrictedActions" {
19
19
 
20
20
  // ########### BLOCK
21
21
 
22
- // importtype { MovePlayerToRequest, MovePlayerToResponse, TriggerEmoteRequest, TriggerEmoteResponse } from "proto/kernel/apis/RestrictedActions.gen";
22
+ // importtype { MovePlayerToRequest, MovePlayerToResponse, TriggerEmoteRequest, TriggerEmoteResponse } from "proto/decentraland/kernel/apis/restricted_actions.gen";
23
23
  export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
24
24
  export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
25
25
 
@@ -31,7 +31,7 @@ declare module "~system/SignedFetch" {
31
31
 
32
32
  // ########### BLOCK
33
33
 
34
- // importtype { SignedFetchRequest, FlatFetchResponse } from "proto/kernel/apis/SignedFetch.gen";
34
+ // importtype { SignedFetchRequest, FlatFetchResponse } from "proto/decentraland/kernel/apis/signed_fetch.gen";
35
35
  export function signedFetch(body: SignedFetchRequest): Promise<FlatFetchResponse>;
36
36
 
37
37
  }
@@ -12,7 +12,7 @@ declare module "~system/SocialController" {
12
12
 
13
13
  // ########### BLOCK
14
14
 
15
- // importtype { InitRequest, GetAvatarEventsResponse } from "proto/kernel/apis/SocialController.gen";
15
+ // importtype { InitRequest, GetAvatarEventsResponse } from "proto/decentraland/kernel/apis/social_controller.gen";
16
16
  export function pullAvatarEvents(body: InitRequest): Promise<GetAvatarEventsResponse>;
17
17
 
18
18
  }
@@ -8,7 +8,7 @@ declare module "~system/UserActionModule" {
8
8
 
9
9
  // ########### BLOCK
10
10
 
11
- // importtype { RequestTeleportRequest, RequestTeleportResponse } from "proto/kernel/apis/UserActionModule.gen";
11
+ // importtype { RequestTeleportRequest, RequestTeleportResponse } from "proto/decentraland/kernel/apis/user_action_module.gen";
12
12
  export function requestTeleport(body: RequestTeleportRequest): Promise<RequestTeleportResponse>;
13
13
 
14
14
  }
@@ -1,6 +1,6 @@
1
1
  declare module "~system/UserIdentity" {
2
2
 
3
-
3
+ export const protobufPackage = "decentraland.common.sdk";
4
4
  export interface Snapshots {
5
5
  face256: string;
6
6
  body: string;
@@ -24,7 +24,7 @@ declare module "~system/UserIdentity" {
24
24
 
25
25
  // ########### BLOCK
26
26
 
27
- // importtype { UserData } from "proto/kernel/apis/common-sdk/UserData.gen";
27
+ // importtype { UserData } from "proto/decentraland/common/sdk/user_data.gen";
28
28
  export interface GetUserDataRequest {
29
29
  }
30
30
  export interface GetUserDataResponse {
@@ -38,7 +38,7 @@ declare module "~system/UserIdentity" {
38
38
 
39
39
  // ########### BLOCK
40
40
 
41
- // importtype { GetUserPublicKeyRequest, GetUserPublicKeyResponse, GetUserDataRequest, GetUserDataResponse } from "proto/kernel/apis/UserIdentity.gen";
41
+ // importtype { GetUserPublicKeyRequest, GetUserPublicKeyResponse, GetUserDataRequest, GetUserDataResponse } from "proto/decentraland/kernel/apis/user_identity.gen";
42
42
  export function getUserPublicKey(body: GetUserPublicKeyRequest): Promise<GetUserPublicKeyResponse>;
43
43
  export function getUserData(body: GetUserDataRequest): Promise<GetUserDataResponse>;
44
44
 
@@ -26,10 +26,10 @@
26
26
  "ecs7",
27
27
  "rpc-modules/CommunicationsController",
28
28
  "rpc-modules/DevTools",
29
- "rpc-modules/EngineAPI",
30
- "rpc-modules/EnvironmentAPI",
29
+ "rpc-modules/EngineApi",
30
+ "rpc-modules/EnvironmentApi",
31
31
  "rpc-modules/EthereumController",
32
- "rpc-modules/ExperimentalAPI",
32
+ "rpc-modules/ExperimentalApi",
33
33
  "rpc-modules/ParcelIdentity",
34
34
  "rpc-modules/Permissions",
35
35
  "rpc-modules/Players",
@@ -1,16 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1073;
5
-
6
- enum AvatarAnchorPoint {
7
- POSITION = 0;
8
- NAME_TAG = 1;
9
- LEFT_HAND = 2;
10
- RIGHT_HAND = 3;
11
- }
12
-
13
- message PBAvatarAttach {
14
- string avatar_id = 1;
15
- AvatarAnchorPoint anchor_point_id = 2;
16
- }
@@ -1,16 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1070;
5
- import "ecs/components/common/Vector3.proto";
6
-
7
- enum AvatarModifier {
8
- HIDE_AVATARS = 0;
9
- DISABLE_PASSPORTS = 1;
10
- }
11
-
12
- message PBAvatarModifierArea {
13
- Vector3 area = 1;
14
- repeated string exclude_ids = 2;
15
- repeated AvatarModifier modifiers = 3;
16
- }
@@ -1,9 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1072;
5
- import "ecs/components/common/CameraModeValue.proto";
6
-
7
- message PBCameraMode {
8
- CameraModeValue mode = 1;
9
- }
@@ -1,11 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1071;
5
- import "ecs/components/common/Vector3.proto";
6
- import "ecs/components/common/CameraModeValue.proto";
7
-
8
- message PBCameraModeArea {
9
- Vector3 area = 1;
10
- CameraModeValue mode = 2;
11
- }
@@ -1,59 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1017;
5
-
6
- import "ecs/components/common/Color3.proto";
7
-
8
- enum TextureWrapMode {
9
- Repeat = 0;
10
- Clamp = 1;
11
- Mirror = 2;
12
- MirrorOnce = 3;
13
- }
14
-
15
- enum FilterMode
16
- {
17
- Point = 0;
18
- Bilinear = 1;
19
- Trilinear = 2;
20
- }
21
-
22
- enum TransparencyMode
23
- {
24
- Opaque = 0;
25
- AlphaTest = 1;
26
- AlphaBlend = 2;
27
- AlphaTestAndAlphaBlend = 3;
28
- Auto = 4;
29
- }
30
-
31
- message PBMaterial {
32
- message Texture {
33
- string src = 1;
34
- optional TextureWrapMode wrapMode = 2; // default = TextureWrapMode.Clamp
35
- optional FilterMode filterMode = 3; // default = FilterMode.Bilinear
36
- }
37
-
38
- optional Texture texture = 1; // default = null
39
- optional float alphaTest = 2; // default = 0.5. range value: from 0 to 1
40
- optional bool castShadows = 3; // default = true
41
-
42
- optional Texture alphaTexture = 4; // default = null
43
- optional Texture emissiveTexture = 5; // default = null
44
- optional Texture bumpTexture = 6; // default = null
45
-
46
- optional Color3 albedoColor = 7; // default = white;
47
- optional Color3 emissiveColor = 8; // default = black;
48
- optional Color3 reflectivityColor = 9; // default = white;
49
-
50
- optional TransparencyMode transparencyMode = 10; // default = TransparencyMode.Auto
51
-
52
- optional float metallic = 11; // default = 0.5
53
- optional float roughness = 12; // default = 0.5
54
- optional float glossiness = 13; // default = 1
55
-
56
- optional float specularIntensity = 14; // default = 1
57
- optional float emissiveIntensity = 15; // default = 2
58
- optional float directIntensity = 16; // default = 1
59
- }
@@ -1,35 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1019;
5
-
6
- enum ColliderLayer {
7
- None = 0;
8
- Pointer = 1;
9
- Physics = 2;
10
- }
11
-
12
- message PBMeshCollider {
13
- message BoxMesh {
14
- }
15
-
16
- message CylinderMesh {
17
- optional float radius_top = 1; // default=1.0
18
- optional float radius_bottom = 2; // default=1.0
19
- }
20
-
21
- message PlaneMesh {
22
- }
23
-
24
- message SphereMesh {
25
- }
26
-
27
- optional int32 collision_mask = 1; // default = ColliderLayer.Physics | ColliderLayer.Pointer
28
-
29
- oneof mesh {
30
- BoxMesh box = 2;
31
- SphereMesh sphere = 3;
32
- CylinderMesh cylinder = 4;
33
- PlaneMesh plane = 5;
34
- }
35
- }
@@ -1,38 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1040;
5
-
6
- import "ecs/components/common/Color3.proto";
7
-
8
- message PBNFTShape {
9
- enum PictureFrameStyle {
10
- Classic = 0;
11
- Baroque_Ornament = 1;
12
- Diamond_Ornament = 2;
13
- Minimal_Wide = 3;
14
- Minimal_Grey = 4;
15
- Blocky = 5;
16
- Gold_Edges = 6;
17
- Gold_Carved = 7;
18
- Gold_Wide = 8;
19
- Gold_Rounded = 9;
20
- Metal_Medium = 10;
21
- Metal_Wide = 11;
22
- Metal_Slim = 12;
23
- Metal_Rounded = 13;
24
- Pins = 14;
25
- Minimal_Black = 15;
26
- Minimal_White = 16;
27
- Tape = 17;
28
- Wood_Slim = 18;
29
- Wood_Wide = 19;
30
- Wood_Twigs = 20;
31
- Canvas = 21;
32
- None = 22;
33
- }
34
-
35
- string src = 1;
36
- optional PictureFrameStyle style = 2; // default = PictureFrameStyle.Classic
37
- optional Color3 color = 3; // default = Color3(0.6404918, 0.611472, 0.8584906)
38
- }
@@ -1,12 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1060;
5
- import "ecs/components/common/ActionButton.proto";
6
-
7
- message PBOnPointerDown {
8
- optional ActionButton button = 1; // default=ActionButton.ANY
9
- optional string hover_text = 2; // default='Interact'
10
- optional float max_distance = 3; // default=10
11
- optional bool show_feedback = 4; // default=true
12
- }
@@ -1,17 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1066;
5
- import "ecs/components/common/Vector3.proto";
6
- import "ecs/components/common/ActionButton.proto";
7
-
8
- message PBOnPointerDownResult {
9
- ActionButton button = 2;
10
- string meshName = 3;
11
- Vector3 origin = 4;
12
- Vector3 direction = 5;
13
- Vector3 point = 6;
14
- Vector3 normal = 7;
15
- float distance = 8;
16
- int32 timestamp = 9;
17
- }
@@ -1,12 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1061;
5
- import "ecs/components/common/ActionButton.proto";
6
-
7
- message PBOnPointerUp {
8
- optional ActionButton button = 1; // default=ActionButton.ANY
9
- optional string hover_text = 2; // default='Interact'
10
- optional float max_distance = 3; // default=10
11
- optional bool show_feedback = 4; // default=true
12
- }
@@ -1,17 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1065;
5
- import "ecs/components/common/Vector3.proto";
6
- import "ecs/components/common/ActionButton.proto";
7
-
8
- message PBOnPointerUpResult {
9
- ActionButton button = 2;
10
- string meshName = 3;
11
- Vector3 origin = 4;
12
- Vector3 direction = 5;
13
- Vector3 point = 6;
14
- Vector3 normal = 7;
15
- float distance = 8;
16
- int32 timestamp = 9;
17
- }
@@ -1,28 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1062;
5
- import "ecs/components/common/ActionButton.proto";
6
-
7
- enum PointerEventType {
8
- UP = 0;
9
- DOWN = 1;
10
- HOVER_ENTER = 2;
11
- HOVER_LEAVE = 3;
12
- }
13
-
14
- message PBPointerEvents {
15
- message Info {
16
- optional ActionButton button = 1; // default=ActionButton.ANY
17
- optional string hover_text = 2; // default='Interact'
18
- optional float max_distance = 3; // default=10
19
- optional bool show_feedback = 4; // default=true
20
- }
21
-
22
- message Entry {
23
- PointerEventType eventType = 1;
24
- Info eventInfo = 2;
25
- }
26
-
27
- repeated Entry pointerEvents = 1;
28
- }
@@ -1,8 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1074;
5
-
6
- message PBPointerLock {
7
- bool isPointerLocked = 1;
8
- }
@@ -1,19 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1067;
5
-
6
- import "ecs/components/common/Vector3.proto";
7
-
8
- enum RaycastQueryType {
9
- HIT_FIRST = 0;
10
- QUERY_ALL = 1;
11
- }
12
-
13
- message PBRaycast {
14
- int32 timestamp = 1;
15
- Vector3 origin = 2;
16
- Vector3 direction = 3;
17
- float max_distance = 4;
18
- RaycastQueryType query_type = 5;
19
- }
@@ -1,24 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- import "ecs/components/common/Vector3.proto";
5
-
6
- option (ecs_component_id) = 1068;
7
-
8
- message PBRaycastResult {
9
- int32 timestamp = 1;
10
- Vector3 origin = 2;
11
- Vector3 direction = 3;
12
- repeated RaycastHit hits = 4;
13
- }
14
-
15
- // Position will be relative to the scene
16
- message RaycastHit {
17
- Vector3 position = 1;
18
- Vector3 origin = 2;
19
- Vector3 direction = 3;
20
- Vector3 normal_hit = 4;
21
- float length = 5;
22
- optional string mesh_name = 6;
23
- optional int64 entity_id = 7;
24
- }
@@ -1,10 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "ecs/components/common/id.proto";
4
- option (ecs_component_id) = 1053;
5
-
6
- import "ecs/components/common/Color4.proto";
7
-
8
- message PBUiBackground {
9
- optional Color4 background_color = 1; // default=(0.0, 0.0, 0.0, 0.0)
10
- }