@dcl/protocol 1.0.0-3227242807.commit-ad14cba → 1.0.0-3238274199.commit-12a8e73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out-ts/{bff/authentication-service.gen.ts → decentraland/bff/authentication_service.gen.ts} +0 -0
- package/out-ts/{bff/comms-director-service.gen.ts → decentraland/bff/comms_director_service.gen.ts} +2 -2
- package/out-ts/{bff/comms-service.gen.ts → decentraland/bff/comms_service.gen.ts} +1 -1
- package/out-ts/{bff/http-endpoints.gen.ts → decentraland/bff/http_endpoints.gen.ts} +1 -1
- package/out-ts/{bff/topics-service.gen.ts → decentraland/bff/topics_service.gen.ts} +0 -0
- package/out-ts/{common/ContentMapping.gen.ts → decentraland/common/content_mapping.gen.ts} +0 -0
- package/out-ts/{kernel/apis/common-sdk/UserData.gen.ts → decentraland/common/sdk/user_data.gen.ts} +1 -1
- package/out-ts/{common/Vectors.gen.ts → decentraland/common/vectors.gen.ts} +0 -0
- package/out-ts/{kernel/apis/CommunicationsController.gen.ts → decentraland/kernel/apis/communications_controller.gen.ts} +2 -2
- package/out-ts/{kernel/apis/DevTools.gen.ts → decentraland/kernel/apis/dev_tools.gen.ts} +2 -2
- package/out-ts/{kernel/apis/EngineAPI.gen.ts → decentraland/kernel/apis/engine_api.gen.ts} +112 -112
- package/out-ts/{kernel/apis/EnvironmentAPI.gen.ts → decentraland/kernel/apis/environment_api.gen.ts} +3 -3
- package/out-ts/{kernel/apis/EthereumController.gen.ts → decentraland/kernel/apis/ethereum_controller.gen.ts} +2 -2
- package/out-ts/{kernel/apis/ExperimentalAPI.gen.ts → decentraland/kernel/apis/experimental_api.gen.ts} +2 -2
- package/out-ts/{kernel/apis/ParcelIdentity.gen.ts → decentraland/kernel/apis/parcel_identity.gen.ts} +3 -3
- package/out-ts/{kernel/apis/Permissions.gen.ts → decentraland/kernel/apis/permissions.gen.ts} +27 -27
- package/out-ts/{kernel/apis/Players.gen.ts → decentraland/kernel/apis/players.gen.ts} +3 -3
- package/out-ts/{kernel/apis/PortableExperiences.gen.ts → decentraland/kernel/apis/portable_experiences.gen.ts} +2 -2
- package/out-ts/{kernel/apis/RestrictedActions.gen.ts → decentraland/kernel/apis/restricted_actions.gen.ts} +2 -2
- package/out-ts/{kernel/apis/SignedFetch.gen.ts → decentraland/kernel/apis/signed_fetch.gen.ts} +2 -2
- package/out-ts/{kernel/apis/SocialController.gen.ts → decentraland/kernel/apis/social_controller.gen.ts} +2 -2
- package/out-ts/{kernel/apis/UserActionModule.gen.ts → decentraland/kernel/apis/user_action_module.gen.ts} +2 -2
- package/out-ts/{kernel/apis/UserIdentity.gen.ts → decentraland/kernel/apis/user_identity.gen.ts} +3 -3
- package/out-ts/decentraland/renderer/engine_interface.gen.ts +8432 -0
- package/out-ts/decentraland/renderer/protocol.gen.ts +322 -0
- package/out-ts/renderer-interface.gen.ts +3 -0
- package/package.json +5 -9
- package/proto/buf.yaml +45 -0
- package/{bff/authentication-service.proto → proto/decentraland/bff/authentication_service.proto} +0 -1
- package/{bff/comms-director-service.proto → proto/decentraland/bff/comms_director_service.proto} +1 -1
- package/{bff/comms-service.proto → proto/decentraland/bff/comms_service.proto} +2 -2
- package/{bff/http-endpoints.proto → proto/decentraland/bff/http_endpoints.proto} +1 -2
- package/{bff/topics-service.proto → proto/decentraland/bff/topics_service.proto} +0 -1
- package/proto/decentraland/common/colors.proto +15 -0
- package/{common/ContentMapping.proto → proto/decentraland/common/content_mapping.proto} +0 -0
- package/{common/Entity.proto → proto/decentraland/common/entity.proto} +1 -1
- package/{kernel/apis/common-sdk/UserData.proto → proto/decentraland/common/sdk/user_data.proto} +1 -0
- package/{common/Vectors.proto → proto/decentraland/common/vectors.proto} +0 -0
- package/{kernel/apis/CommunicationsController.proto → proto/decentraland/kernel/apis/communications_controller.proto} +1 -0
- package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +1 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +179 -0
- package/{kernel/apis/EnvironmentAPI.proto → proto/decentraland/kernel/apis/environment_api.proto} +3 -2
- package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +2 -1
- package/{kernel/apis/ExperimentalAPI.proto → proto/decentraland/kernel/apis/experimental_api.proto} +1 -0
- package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +2 -1
- package/proto/decentraland/kernel/apis/permissions.proto +32 -0
- package/{kernel/apis/Players.proto → proto/decentraland/kernel/apis/players.proto} +3 -2
- package/{kernel/apis/PortableExperiences.proto → proto/decentraland/kernel/apis/portable_experiences.proto} +1 -0
- package/{kernel/apis/RestrictedActions.proto → proto/decentraland/kernel/apis/restricted_actions.proto} +1 -0
- package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +1 -0
- package/{kernel/apis/SocialController.proto → proto/decentraland/kernel/apis/social_controller.proto} +1 -0
- package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +1 -0
- package/{kernel/apis/UserIdentity.proto → proto/decentraland/kernel/apis/user_identity.proto} +3 -2
- package/{kernel/comms/comms-rfc-4.proto → proto/decentraland/kernel/comms/rfc4/comms.proto} +2 -2
- package/{kernel/comms/ws-comms-rfc-5.proto → proto/decentraland/kernel/comms/rfc5/ws_comms.proto} +1 -1
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/{kernel → proto/decentraland/kernel}/comms/v3/archipelago.proto +7 -7
- package/{kernel → proto/decentraland/kernel}/comms/v3/comms.proto +3 -3
- package/{renderer-protocol/EngineInterface.proto → proto/decentraland/renderer/engine_interface.proto} +2 -2
- package/{renderer-protocol/RendererProtocol.proto → proto/decentraland/renderer/protocol.proto} +2 -0
- package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
- package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
- package/{ecs/components/Animator.proto → proto/decentraland/sdk/components/animator.proto} +3 -2
- package/{ecs/components/AudioSource.proto → proto/decentraland/sdk/components/audio_source.proto} +3 -2
- package/{ecs/components/AudioStream.proto → proto/decentraland/sdk/components/audio_stream.proto} +3 -2
- package/proto/decentraland/sdk/components/avatar_attach.proto +19 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +19 -0
- package/{ecs/components/AvatarShape.proto → proto/decentraland/sdk/components/avatar_shape.proto} +7 -6
- package/{ecs/components/Billboard.proto → proto/decentraland/sdk/components/billboard.proto} +3 -2
- package/proto/decentraland/sdk/components/camera_mode.proto +10 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +12 -0
- package/proto/decentraland/sdk/components/common/action_button.proto +20 -0
- package/proto/decentraland/sdk/components/common/camera_mode_value.proto +8 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
- package/proto/decentraland/sdk/components/common/texts.proto +14 -0
- package/{ecs/components/GltfContainer.proto → proto/decentraland/sdk/components/gltf_container.proto} +3 -2
- package/proto/decentraland/sdk/components/material.proto +59 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +35 -0
- package/{ecs/components/MeshRenderer.proto → proto/decentraland/sdk/components/mesh_renderer.proto} +3 -2
- package/proto/decentraland/sdk/components/nft_shape.proto +40 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +29 -0
- package/{ecs/components/PointerEventsResult.proto → proto/decentraland/sdk/components/pointer_events_result.proto} +7 -6
- package/proto/decentraland/sdk/components/pointer_lock.proto +9 -0
- package/proto/decentraland/sdk/components/raycast.proto +21 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +25 -0
- package/{ecs/components/TextShape.proto → proto/decentraland/sdk/components/text_shape.proto} +11 -10
- package/proto/decentraland/sdk/components/ui_background.proto +11 -0
- package/proto/decentraland/sdk/components/ui_text.proto +16 -0
- package/{ecs/components/UiTransform.proto → proto/decentraland/sdk/components/ui_transform.proto} +50 -49
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/{bff-services.proto → public/bff-services.proto} +5 -5
- package/public/renderer-interface.proto +4 -0
- package/public/sdk-apis.proto +21 -0
- package/ecs/components/AvatarAttach.proto +0 -16
- package/ecs/components/AvatarModifierArea.proto +0 -16
- package/ecs/components/CameraMode.proto +0 -9
- package/ecs/components/CameraModeArea.proto +0 -11
- package/ecs/components/Material.proto +0 -59
- package/ecs/components/MeshCollider.proto +0 -35
- package/ecs/components/NFTShape.proto +0 -38
- package/ecs/components/PointerEvents.proto +0 -28
- package/ecs/components/PointerLock.proto +0 -8
- package/ecs/components/Raycast.proto +0 -19
- package/ecs/components/RaycastResult.proto +0 -24
- package/ecs/components/UiBackground.proto +0 -10
- package/ecs/components/UiText.proto +0 -25
- package/ecs/components/VisibilityComponent.proto +0 -8
- package/ecs/components/common/ActionButton.proto +0 -18
- package/ecs/components/common/CameraModeValue.proto +0 -6
- package/ecs/components/common/Color3.proto +0 -8
- package/ecs/components/common/Color4.proto +0 -8
- package/ecs/components/common/Vector3.proto +0 -7
- package/kernel/apis/EngineAPI.proto +0 -180
- package/kernel/apis/Permissions.proto +0 -30
- package/kernel/apis/SceneStateStorageController.proto +0 -114
- package/kernel/comms/v1/broker.proto +0 -114
- package/kernel/comms/v1/comms.proto +0 -68
- package/kernel/comms/v2/comms.proto +0 -61
- package/out-ts/kernel/apis/SceneStateStorageController.gen.ts +0 -1331
- package/sdk-apis.proto +0 -22
package/out-ts/{bff/authentication-service.gen.ts → decentraland/bff/authentication_service.gen.ts}
RENAMED
|
File without changes
|
package/out-ts/{bff/comms-director-service.gen.ts → decentraland/bff/comms_director_service.gen.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Empty } from "../../google/protobuf/empty.gen";
|
|
4
|
+
import { Position } from "../common/vectors.gen";
|
|
5
5
|
|
|
6
6
|
export const protobufPackage = "decentraland.bff";
|
|
7
7
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface RealSendRequest {
|
|
7
7
|
message: string;
|
|
@@ -99,7 +99,7 @@ export const RealSendResponse = {
|
|
|
99
99
|
export type CommunicationsControllerServiceDefinition = typeof CommunicationsControllerServiceDefinition;
|
|
100
100
|
export const CommunicationsControllerServiceDefinition = {
|
|
101
101
|
name: "CommunicationsControllerService",
|
|
102
|
-
fullName: "CommunicationsControllerService",
|
|
102
|
+
fullName: "decentraland.kernel.apis.CommunicationsControllerService",
|
|
103
103
|
methods: {
|
|
104
104
|
send: {
|
|
105
105
|
name: "Send",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface DevToolsBody {
|
|
7
7
|
type: string;
|
|
@@ -111,7 +111,7 @@ export const EventResponse = {
|
|
|
111
111
|
export type DevToolsServiceDefinition = typeof DevToolsServiceDefinition;
|
|
112
112
|
export const DevToolsServiceDefinition = {
|
|
113
113
|
name: "DevToolsService",
|
|
114
|
-
fullName: "DevToolsService",
|
|
114
|
+
fullName: "decentraland.kernel.apis.DevToolsService",
|
|
115
115
|
methods: {
|
|
116
116
|
event: {
|
|
117
117
|
name: "Event",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export enum QueryType {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
QT_INVALID_QUERY_TYPE = 0,
|
|
8
|
+
QT_HIT_FIRST = 1,
|
|
9
|
+
QT_HIT_ALL = 2,
|
|
10
|
+
QT_HIT_FIRST_AVATAR = 3,
|
|
11
|
+
QT_HIT_ALL_AVATARS = 4,
|
|
12
12
|
UNRECOGNIZED = -1,
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export function queryTypeFromJSON(object: any): QueryType {
|
|
16
16
|
switch (object) {
|
|
17
17
|
case 0:
|
|
18
|
-
case "
|
|
19
|
-
return QueryType.
|
|
18
|
+
case "QT_INVALID_QUERY_TYPE":
|
|
19
|
+
return QueryType.QT_INVALID_QUERY_TYPE;
|
|
20
20
|
case 1:
|
|
21
|
-
case "
|
|
22
|
-
return QueryType.
|
|
21
|
+
case "QT_HIT_FIRST":
|
|
22
|
+
return QueryType.QT_HIT_FIRST;
|
|
23
23
|
case 2:
|
|
24
|
-
case "
|
|
25
|
-
return QueryType.
|
|
24
|
+
case "QT_HIT_ALL":
|
|
25
|
+
return QueryType.QT_HIT_ALL;
|
|
26
26
|
case 3:
|
|
27
|
-
case "
|
|
28
|
-
return QueryType.
|
|
27
|
+
case "QT_HIT_FIRST_AVATAR":
|
|
28
|
+
return QueryType.QT_HIT_FIRST_AVATAR;
|
|
29
29
|
case 4:
|
|
30
|
-
case "
|
|
31
|
-
return QueryType.
|
|
30
|
+
case "QT_HIT_ALL_AVATARS":
|
|
31
|
+
return QueryType.QT_HIT_ALL_AVATARS;
|
|
32
32
|
case -1:
|
|
33
33
|
case "UNRECOGNIZED":
|
|
34
34
|
default:
|
|
@@ -38,16 +38,16 @@ export function queryTypeFromJSON(object: any): QueryType {
|
|
|
38
38
|
|
|
39
39
|
export function queryTypeToJSON(object: QueryType): string {
|
|
40
40
|
switch (object) {
|
|
41
|
-
case QueryType.
|
|
42
|
-
return "
|
|
43
|
-
case QueryType.
|
|
44
|
-
return "
|
|
45
|
-
case QueryType.
|
|
46
|
-
return "
|
|
47
|
-
case QueryType.
|
|
48
|
-
return "
|
|
49
|
-
case QueryType.
|
|
50
|
-
return "
|
|
41
|
+
case QueryType.QT_INVALID_QUERY_TYPE:
|
|
42
|
+
return "QT_INVALID_QUERY_TYPE";
|
|
43
|
+
case QueryType.QT_HIT_FIRST:
|
|
44
|
+
return "QT_HIT_FIRST";
|
|
45
|
+
case QueryType.QT_HIT_ALL:
|
|
46
|
+
return "QT_HIT_ALL";
|
|
47
|
+
case QueryType.QT_HIT_FIRST_AVATAR:
|
|
48
|
+
return "QT_HIT_FIRST_AVATAR";
|
|
49
|
+
case QueryType.QT_HIT_ALL_AVATARS:
|
|
50
|
+
return "QT_HIT_ALL_AVATARS";
|
|
51
51
|
case QueryType.UNRECOGNIZED:
|
|
52
52
|
default:
|
|
53
53
|
return "UNRECOGNIZED";
|
|
@@ -55,67 +55,67 @@ export function queryTypeToJSON(object: QueryType): string {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export enum EAType {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
58
|
+
EAT_INVALID_EA_TYPE = 0,
|
|
59
|
+
EAT_OPEN_EXTERNAL_URL = 1,
|
|
60
|
+
EAT_OPEN_NFT_DIALOG = 2,
|
|
61
|
+
EAT_CREATE_ENTITY = 3,
|
|
62
|
+
EAT_REMOVE_ENTITY = 4,
|
|
63
|
+
EAT_UPDATE_ENTITY_COMPONENT = 5,
|
|
64
|
+
EAT_ATTACH_ENTITY_COMPONENT = 6,
|
|
65
|
+
EAT_COMPONENT_REMOVED = 7,
|
|
66
|
+
EAT_SET_ENTITY_PARENT = 8,
|
|
67
|
+
EAT_QUERY = 9,
|
|
68
|
+
EAT_COMPONENT_CREATED = 10,
|
|
69
|
+
EAT_COMPONENT_DISPOSED = 11,
|
|
70
|
+
EAT_COMPONENT_UPDATED = 12,
|
|
71
|
+
EAT_INIT_MESSAGES_FINISHED = 13,
|
|
72
72
|
UNRECOGNIZED = -1,
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export function eATypeFromJSON(object: any): EAType {
|
|
76
76
|
switch (object) {
|
|
77
77
|
case 0:
|
|
78
|
-
case "
|
|
79
|
-
return EAType.
|
|
78
|
+
case "EAT_INVALID_EA_TYPE":
|
|
79
|
+
return EAType.EAT_INVALID_EA_TYPE;
|
|
80
80
|
case 1:
|
|
81
|
-
case "
|
|
82
|
-
return EAType.
|
|
81
|
+
case "EAT_OPEN_EXTERNAL_URL":
|
|
82
|
+
return EAType.EAT_OPEN_EXTERNAL_URL;
|
|
83
83
|
case 2:
|
|
84
|
-
case "
|
|
85
|
-
return EAType.
|
|
84
|
+
case "EAT_OPEN_NFT_DIALOG":
|
|
85
|
+
return EAType.EAT_OPEN_NFT_DIALOG;
|
|
86
86
|
case 3:
|
|
87
|
-
case "
|
|
88
|
-
return EAType.
|
|
87
|
+
case "EAT_CREATE_ENTITY":
|
|
88
|
+
return EAType.EAT_CREATE_ENTITY;
|
|
89
89
|
case 4:
|
|
90
|
-
case "
|
|
91
|
-
return EAType.
|
|
90
|
+
case "EAT_REMOVE_ENTITY":
|
|
91
|
+
return EAType.EAT_REMOVE_ENTITY;
|
|
92
92
|
case 5:
|
|
93
|
-
case "
|
|
94
|
-
return EAType.
|
|
93
|
+
case "EAT_UPDATE_ENTITY_COMPONENT":
|
|
94
|
+
return EAType.EAT_UPDATE_ENTITY_COMPONENT;
|
|
95
95
|
case 6:
|
|
96
|
-
case "
|
|
97
|
-
return EAType.
|
|
96
|
+
case "EAT_ATTACH_ENTITY_COMPONENT":
|
|
97
|
+
return EAType.EAT_ATTACH_ENTITY_COMPONENT;
|
|
98
98
|
case 7:
|
|
99
|
-
case "
|
|
100
|
-
return EAType.
|
|
99
|
+
case "EAT_COMPONENT_REMOVED":
|
|
100
|
+
return EAType.EAT_COMPONENT_REMOVED;
|
|
101
101
|
case 8:
|
|
102
|
-
case "
|
|
103
|
-
return EAType.
|
|
102
|
+
case "EAT_SET_ENTITY_PARENT":
|
|
103
|
+
return EAType.EAT_SET_ENTITY_PARENT;
|
|
104
104
|
case 9:
|
|
105
|
-
case "
|
|
106
|
-
return EAType.
|
|
105
|
+
case "EAT_QUERY":
|
|
106
|
+
return EAType.EAT_QUERY;
|
|
107
107
|
case 10:
|
|
108
|
-
case "
|
|
109
|
-
return EAType.
|
|
108
|
+
case "EAT_COMPONENT_CREATED":
|
|
109
|
+
return EAType.EAT_COMPONENT_CREATED;
|
|
110
110
|
case 11:
|
|
111
|
-
case "
|
|
112
|
-
return EAType.
|
|
111
|
+
case "EAT_COMPONENT_DISPOSED":
|
|
112
|
+
return EAType.EAT_COMPONENT_DISPOSED;
|
|
113
113
|
case 12:
|
|
114
|
-
case "
|
|
115
|
-
return EAType.
|
|
114
|
+
case "EAT_COMPONENT_UPDATED":
|
|
115
|
+
return EAType.EAT_COMPONENT_UPDATED;
|
|
116
116
|
case 13:
|
|
117
|
-
case "
|
|
118
|
-
return EAType.
|
|
117
|
+
case "EAT_INIT_MESSAGES_FINISHED":
|
|
118
|
+
return EAType.EAT_INIT_MESSAGES_FINISHED;
|
|
119
119
|
case -1:
|
|
120
120
|
case "UNRECOGNIZED":
|
|
121
121
|
default:
|
|
@@ -125,34 +125,34 @@ export function eATypeFromJSON(object: any): EAType {
|
|
|
125
125
|
|
|
126
126
|
export function eATypeToJSON(object: EAType): string {
|
|
127
127
|
switch (object) {
|
|
128
|
-
case EAType.
|
|
129
|
-
return "
|
|
130
|
-
case EAType.
|
|
131
|
-
return "
|
|
132
|
-
case EAType.
|
|
133
|
-
return "
|
|
134
|
-
case EAType.
|
|
135
|
-
return "
|
|
136
|
-
case EAType.
|
|
137
|
-
return "
|
|
138
|
-
case EAType.
|
|
139
|
-
return "
|
|
140
|
-
case EAType.
|
|
141
|
-
return "
|
|
142
|
-
case EAType.
|
|
143
|
-
return "
|
|
144
|
-
case EAType.
|
|
145
|
-
return "
|
|
146
|
-
case EAType.
|
|
147
|
-
return "
|
|
148
|
-
case EAType.
|
|
149
|
-
return "
|
|
150
|
-
case EAType.
|
|
151
|
-
return "
|
|
152
|
-
case EAType.
|
|
153
|
-
return "
|
|
154
|
-
case EAType.
|
|
155
|
-
return "
|
|
128
|
+
case EAType.EAT_INVALID_EA_TYPE:
|
|
129
|
+
return "EAT_INVALID_EA_TYPE";
|
|
130
|
+
case EAType.EAT_OPEN_EXTERNAL_URL:
|
|
131
|
+
return "EAT_OPEN_EXTERNAL_URL";
|
|
132
|
+
case EAType.EAT_OPEN_NFT_DIALOG:
|
|
133
|
+
return "EAT_OPEN_NFT_DIALOG";
|
|
134
|
+
case EAType.EAT_CREATE_ENTITY:
|
|
135
|
+
return "EAT_CREATE_ENTITY";
|
|
136
|
+
case EAType.EAT_REMOVE_ENTITY:
|
|
137
|
+
return "EAT_REMOVE_ENTITY";
|
|
138
|
+
case EAType.EAT_UPDATE_ENTITY_COMPONENT:
|
|
139
|
+
return "EAT_UPDATE_ENTITY_COMPONENT";
|
|
140
|
+
case EAType.EAT_ATTACH_ENTITY_COMPONENT:
|
|
141
|
+
return "EAT_ATTACH_ENTITY_COMPONENT";
|
|
142
|
+
case EAType.EAT_COMPONENT_REMOVED:
|
|
143
|
+
return "EAT_COMPONENT_REMOVED";
|
|
144
|
+
case EAType.EAT_SET_ENTITY_PARENT:
|
|
145
|
+
return "EAT_SET_ENTITY_PARENT";
|
|
146
|
+
case EAType.EAT_QUERY:
|
|
147
|
+
return "EAT_QUERY";
|
|
148
|
+
case EAType.EAT_COMPONENT_CREATED:
|
|
149
|
+
return "EAT_COMPONENT_CREATED";
|
|
150
|
+
case EAType.EAT_COMPONENT_DISPOSED:
|
|
151
|
+
return "EAT_COMPONENT_DISPOSED";
|
|
152
|
+
case EAType.EAT_COMPONENT_UPDATED:
|
|
153
|
+
return "EAT_COMPONENT_UPDATED";
|
|
154
|
+
case EAType.EAT_INIT_MESSAGES_FINISHED:
|
|
155
|
+
return "EAT_INIT_MESSAGES_FINISHED";
|
|
156
156
|
case EAType.UNRECOGNIZED:
|
|
157
157
|
default:
|
|
158
158
|
return "UNRECOGNIZED";
|
|
@@ -161,23 +161,23 @@ export function eATypeToJSON(object: EAType): string {
|
|
|
161
161
|
|
|
162
162
|
/** Events */
|
|
163
163
|
export enum EventDataType {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
EDT_GENERIC = 0,
|
|
165
|
+
EDT_POSITION_CHANGED = 1,
|
|
166
|
+
EDT_ROTATION_CHANGED = 2,
|
|
167
167
|
UNRECOGNIZED = -1,
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
export function eventDataTypeFromJSON(object: any): EventDataType {
|
|
171
171
|
switch (object) {
|
|
172
172
|
case 0:
|
|
173
|
-
case "
|
|
174
|
-
return EventDataType.
|
|
173
|
+
case "EDT_GENERIC":
|
|
174
|
+
return EventDataType.EDT_GENERIC;
|
|
175
175
|
case 1:
|
|
176
|
-
case "
|
|
177
|
-
return EventDataType.
|
|
176
|
+
case "EDT_POSITION_CHANGED":
|
|
177
|
+
return EventDataType.EDT_POSITION_CHANGED;
|
|
178
178
|
case 2:
|
|
179
|
-
case "
|
|
180
|
-
return EventDataType.
|
|
179
|
+
case "EDT_ROTATION_CHANGED":
|
|
180
|
+
return EventDataType.EDT_ROTATION_CHANGED;
|
|
181
181
|
case -1:
|
|
182
182
|
case "UNRECOGNIZED":
|
|
183
183
|
default:
|
|
@@ -187,12 +187,12 @@ export function eventDataTypeFromJSON(object: any): EventDataType {
|
|
|
187
187
|
|
|
188
188
|
export function eventDataTypeToJSON(object: EventDataType): string {
|
|
189
189
|
switch (object) {
|
|
190
|
-
case EventDataType.
|
|
191
|
-
return "
|
|
192
|
-
case EventDataType.
|
|
193
|
-
return "
|
|
194
|
-
case EventDataType.
|
|
195
|
-
return "
|
|
190
|
+
case EventDataType.EDT_GENERIC:
|
|
191
|
+
return "EDT_GENERIC";
|
|
192
|
+
case EventDataType.EDT_POSITION_CHANGED:
|
|
193
|
+
return "EDT_POSITION_CHANGED";
|
|
194
|
+
case EventDataType.EDT_ROTATION_CHANGED:
|
|
195
|
+
return "EDT_ROTATION_CHANGED";
|
|
196
196
|
case EventDataType.UNRECOGNIZED:
|
|
197
197
|
default:
|
|
198
198
|
return "UNRECOGNIZED";
|
|
@@ -2083,7 +2083,7 @@ export const EventData = {
|
|
|
2083
2083
|
export type EngineAPIServiceDefinition = typeof EngineAPIServiceDefinition;
|
|
2084
2084
|
export const EngineAPIServiceDefinition = {
|
|
2085
2085
|
name: "EngineAPIService",
|
|
2086
|
-
fullName: "EngineAPIService",
|
|
2086
|
+
fullName: "decentraland.kernel.apis.EngineAPIService",
|
|
2087
2087
|
methods: {
|
|
2088
2088
|
sendBatch: {
|
|
2089
2089
|
name: "SendBatch",
|
package/out-ts/{kernel/apis/EnvironmentAPI.gen.ts → decentraland/kernel/apis/environment_api.gen.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ContentMapping } from "../../common/
|
|
3
|
+
import { ContentMapping } from "../../common/content_mapping.gen";
|
|
4
4
|
|
|
5
|
-
export const protobufPackage = "";
|
|
5
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
6
6
|
|
|
7
7
|
export interface MinimalRunnableEntity {
|
|
8
8
|
content: ContentMapping[];
|
|
@@ -969,7 +969,7 @@ export const GetDecentralandTimeRequest = {
|
|
|
969
969
|
export type EnvironmentAPIServiceDefinition = typeof EnvironmentAPIServiceDefinition;
|
|
970
970
|
export const EnvironmentAPIServiceDefinition = {
|
|
971
971
|
name: "EnvironmentAPIService",
|
|
972
|
-
fullName: "EnvironmentAPIService",
|
|
972
|
+
fullName: "decentraland.kernel.apis.EnvironmentAPIService",
|
|
973
973
|
methods: {
|
|
974
974
|
getBootstrapData: {
|
|
975
975
|
name: "GetBootstrapData",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface RequirePaymentRequest {
|
|
7
7
|
toAddress: string;
|
|
@@ -741,7 +741,7 @@ export const GetUserAccountResponse = {
|
|
|
741
741
|
export type EthereumControllerServiceDefinition = typeof EthereumControllerServiceDefinition;
|
|
742
742
|
export const EthereumControllerServiceDefinition = {
|
|
743
743
|
name: "EthereumControllerService",
|
|
744
|
-
fullName: "EthereumControllerService",
|
|
744
|
+
fullName: "decentraland.kernel.apis.EthereumControllerService",
|
|
745
745
|
methods: {
|
|
746
746
|
requirePayment: {
|
|
747
747
|
name: "RequirePayment",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface SendToRendererRequest {
|
|
7
7
|
data: Uint8Array;
|
|
@@ -197,7 +197,7 @@ export const MessageFromRendererResponse = {
|
|
|
197
197
|
export type ExperimentalAPIServiceDefinition = typeof ExperimentalAPIServiceDefinition;
|
|
198
198
|
export const ExperimentalAPIServiceDefinition = {
|
|
199
199
|
name: "ExperimentalAPIService",
|
|
200
|
-
fullName: "ExperimentalAPIService",
|
|
200
|
+
fullName: "decentraland.kernel.apis.ExperimentalAPIService",
|
|
201
201
|
methods: {
|
|
202
202
|
sendToRenderer: {
|
|
203
203
|
name: "SendToRenderer",
|
package/out-ts/{kernel/apis/ParcelIdentity.gen.ts → decentraland/kernel/apis/parcel_identity.gen.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ContentMapping } from "../../common/
|
|
3
|
+
import { ContentMapping } from "../../common/content_mapping.gen";
|
|
4
4
|
|
|
5
|
-
export const protobufPackage = "";
|
|
5
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
6
6
|
|
|
7
7
|
export interface MappingsResponse {
|
|
8
8
|
parcelId: string;
|
|
@@ -471,7 +471,7 @@ export const GetIsEmptyResponse = {
|
|
|
471
471
|
export type ParcelIdentityServiceDefinition = typeof ParcelIdentityServiceDefinition;
|
|
472
472
|
export const ParcelIdentityServiceDefinition = {
|
|
473
473
|
name: "ParcelIdentityService",
|
|
474
|
-
fullName: "ParcelIdentityService",
|
|
474
|
+
fullName: "decentraland.kernel.apis.ParcelIdentityService",
|
|
475
475
|
methods: {
|
|
476
476
|
getParcel: {
|
|
477
477
|
name: "GetParcel",
|
package/out-ts/{kernel/apis/Permissions.gen.ts → decentraland/kernel/apis/permissions.gen.ts}
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export enum PermissionItem {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE = 0,
|
|
8
|
+
PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE = 1,
|
|
9
|
+
PI_USE_WEB3_API = 2,
|
|
10
|
+
PI_USE_WEBSOCKET = 3,
|
|
11
|
+
PI_USE_FETCH = 4,
|
|
12
12
|
UNRECOGNIZED = -1,
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export function permissionItemFromJSON(object: any): PermissionItem {
|
|
16
16
|
switch (object) {
|
|
17
17
|
case 0:
|
|
18
|
-
case "
|
|
19
|
-
return PermissionItem.
|
|
18
|
+
case "PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE":
|
|
19
|
+
return PermissionItem.PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE;
|
|
20
20
|
case 1:
|
|
21
|
-
case "
|
|
22
|
-
return PermissionItem.
|
|
21
|
+
case "PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE":
|
|
22
|
+
return PermissionItem.PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE;
|
|
23
23
|
case 2:
|
|
24
|
-
case "
|
|
25
|
-
return PermissionItem.
|
|
24
|
+
case "PI_USE_WEB3_API":
|
|
25
|
+
return PermissionItem.PI_USE_WEB3_API;
|
|
26
26
|
case 3:
|
|
27
|
-
case "
|
|
28
|
-
return PermissionItem.
|
|
27
|
+
case "PI_USE_WEBSOCKET":
|
|
28
|
+
return PermissionItem.PI_USE_WEBSOCKET;
|
|
29
29
|
case 4:
|
|
30
|
-
case "
|
|
31
|
-
return PermissionItem.
|
|
30
|
+
case "PI_USE_FETCH":
|
|
31
|
+
return PermissionItem.PI_USE_FETCH;
|
|
32
32
|
case -1:
|
|
33
33
|
case "UNRECOGNIZED":
|
|
34
34
|
default:
|
|
@@ -38,16 +38,16 @@ export function permissionItemFromJSON(object: any): PermissionItem {
|
|
|
38
38
|
|
|
39
39
|
export function permissionItemToJSON(object: PermissionItem): string {
|
|
40
40
|
switch (object) {
|
|
41
|
-
case PermissionItem.
|
|
42
|
-
return "
|
|
43
|
-
case PermissionItem.
|
|
44
|
-
return "
|
|
45
|
-
case PermissionItem.
|
|
46
|
-
return "
|
|
47
|
-
case PermissionItem.
|
|
48
|
-
return "
|
|
49
|
-
case PermissionItem.
|
|
50
|
-
return "
|
|
41
|
+
case PermissionItem.PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE:
|
|
42
|
+
return "PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE";
|
|
43
|
+
case PermissionItem.PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE:
|
|
44
|
+
return "PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE";
|
|
45
|
+
case PermissionItem.PI_USE_WEB3_API:
|
|
46
|
+
return "PI_USE_WEB3_API";
|
|
47
|
+
case PermissionItem.PI_USE_WEBSOCKET:
|
|
48
|
+
return "PI_USE_WEBSOCKET";
|
|
49
|
+
case PermissionItem.PI_USE_FETCH:
|
|
50
|
+
return "PI_USE_FETCH";
|
|
51
51
|
case PermissionItem.UNRECOGNIZED:
|
|
52
52
|
default:
|
|
53
53
|
return "UNRECOGNIZED";
|
|
@@ -295,7 +295,7 @@ export const HasManyPermissionResponse = {
|
|
|
295
295
|
export type PermissionsServiceDefinition = typeof PermissionsServiceDefinition;
|
|
296
296
|
export const PermissionsServiceDefinition = {
|
|
297
297
|
name: "PermissionsService",
|
|
298
|
-
fullName: "PermissionsService",
|
|
298
|
+
fullName: "decentraland.kernel.apis.PermissionsService",
|
|
299
299
|
methods: {
|
|
300
300
|
hasPermission: {
|
|
301
301
|
name: "HasPermission",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { UserData } from "
|
|
3
|
+
import { UserData } from "../../common/sdk/user_data.gen";
|
|
4
4
|
|
|
5
|
-
export const protobufPackage = "";
|
|
5
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
6
6
|
|
|
7
7
|
export interface Player {
|
|
8
8
|
userId: string;
|
|
@@ -299,7 +299,7 @@ export const GetConnectedPlayersRequest = {
|
|
|
299
299
|
export type PlayersServiceDefinition = typeof PlayersServiceDefinition;
|
|
300
300
|
export const PlayersServiceDefinition = {
|
|
301
301
|
name: "PlayersService",
|
|
302
|
-
fullName: "PlayersService",
|
|
302
|
+
fullName: "decentraland.kernel.apis.PlayersService",
|
|
303
303
|
methods: {
|
|
304
304
|
getPlayerData: {
|
|
305
305
|
name: "GetPlayerData",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface KillRequest {
|
|
7
7
|
pid: string;
|
|
@@ -467,7 +467,7 @@ export const ExitResponse = {
|
|
|
467
467
|
export type PortableExperiencesServiceDefinition = typeof PortableExperiencesServiceDefinition;
|
|
468
468
|
export const PortableExperiencesServiceDefinition = {
|
|
469
469
|
name: "PortableExperiencesService",
|
|
470
|
-
fullName: "PortableExperiencesService",
|
|
470
|
+
fullName: "decentraland.kernel.apis.PortableExperiencesService",
|
|
471
471
|
methods: {
|
|
472
472
|
spawn: {
|
|
473
473
|
name: "Spawn",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface Vector3 {
|
|
7
7
|
x: number;
|
|
@@ -283,7 +283,7 @@ export const TriggerEmoteRequest = {
|
|
|
283
283
|
export type RestrictedActionsServiceDefinition = typeof RestrictedActionsServiceDefinition;
|
|
284
284
|
export const RestrictedActionsServiceDefinition = {
|
|
285
285
|
name: "RestrictedActionsService",
|
|
286
|
-
fullName: "RestrictedActionsService",
|
|
286
|
+
fullName: "decentraland.kernel.apis.RestrictedActionsService",
|
|
287
287
|
methods: {
|
|
288
288
|
movePlayerTo: {
|
|
289
289
|
name: "MovePlayerTo",
|
package/out-ts/{kernel/apis/SignedFetch.gen.ts → decentraland/kernel/apis/signed_fetch.gen.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface FlatFetchInit {
|
|
7
7
|
method?: string | undefined;
|
|
@@ -395,7 +395,7 @@ export const SignedFetchRequest = {
|
|
|
395
395
|
export type SignedFetchServiceDefinition = typeof SignedFetchServiceDefinition;
|
|
396
396
|
export const SignedFetchServiceDefinition = {
|
|
397
397
|
name: "SignedFetchService",
|
|
398
|
-
fullName: "SignedFetchService",
|
|
398
|
+
fullName: "decentraland.kernel.apis.SignedFetchService",
|
|
399
399
|
methods: {
|
|
400
400
|
signedFetch: {
|
|
401
401
|
name: "SignedFetch",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
|
|
4
|
-
export const protobufPackage = "";
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
5
|
|
|
6
6
|
export interface InitRequest {
|
|
7
7
|
}
|
|
@@ -166,7 +166,7 @@ export const GetAvatarEventsResponse = {
|
|
|
166
166
|
export type SocialControllerServiceDefinition = typeof SocialControllerServiceDefinition;
|
|
167
167
|
export const SocialControllerServiceDefinition = {
|
|
168
168
|
name: "SocialControllerService",
|
|
169
|
-
fullName: "SocialControllerService",
|
|
169
|
+
fullName: "decentraland.kernel.apis.SocialControllerService",
|
|
170
170
|
methods: {
|
|
171
171
|
pullAvatarEvents: {
|
|
172
172
|
name: "PullAvatarEvents",
|