@dcl/protocol 1.0.0-19994059551.commit-1d2c132 → 1.0.0-20440300149.commit-417c1dc
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-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +0 -43
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +10 -287
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -6
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +17 -3
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +32 -1368
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +148 -7057
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2 -343
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -6
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +28 -3
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +984 -8945
- package/package.json +3 -3
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +2 -27
- package/proto/decentraland/sdk/components/common/input_action.proto +0 -1
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +11 -563
- package/out-js/decentraland/social_service/errors.gen.d.ts +0 -96
- package/out-js/decentraland/social_service/errors.gen.js +0 -405
- package/out-js/decentraland/social_service/errors.gen.js.map +0 -1
- package/out-ts/decentraland/social_service/errors.gen.ts +0 -442
- package/proto/decentraland/sdk/components/audio_analysis.proto +0 -44
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
- package/proto/decentraland/social_service/errors.proto +0 -30
- package/proto/decentraland/social_service/v3/social_service_v3.proto +0 -51
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-20440300149.commit-417c1dc",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "./scripts/check-proto-compabitility.sh"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@protobuf-ts/protoc": "^2.
|
|
16
|
+
"@protobuf-ts/protoc": "^2.8.1",
|
|
17
17
|
"proto-compatibility-tool": "^1.1.2-20220925163655.commit-25bd040",
|
|
18
18
|
"typescript": "^5.0.4"
|
|
19
19
|
},
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"out-js",
|
|
31
31
|
"public"
|
|
32
32
|
],
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "417c1dc6bd2fe270ddf4ae49c1986c305a1d306a"
|
|
34
34
|
}
|
|
@@ -18,7 +18,6 @@ message Packet {
|
|
|
18
18
|
PlayerEmote player_emote = 9;
|
|
19
19
|
SceneEmote scene_emote = 10;
|
|
20
20
|
MovementCompressed movement_compressed = 12;
|
|
21
|
-
LookAtPosition look_at_position = 13;
|
|
22
21
|
}
|
|
23
22
|
uint32 protocol_version = 11;
|
|
24
23
|
}
|
|
@@ -56,11 +55,10 @@ message Movement {
|
|
|
56
55
|
bool is_long_jump = 12;
|
|
57
56
|
bool is_long_fall = 13;
|
|
58
57
|
bool is_falling = 14;
|
|
58
|
+
|
|
59
59
|
bool is_stunned = 15;
|
|
60
|
+
|
|
60
61
|
float rotation_y = 16;
|
|
61
|
-
// interpolation
|
|
62
|
-
bool is_instant = 17;
|
|
63
|
-
bool is_emoting = 18;
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
message MovementCompressed {
|
|
@@ -71,25 +69,6 @@ message MovementCompressed {
|
|
|
71
69
|
message PlayerEmote {
|
|
72
70
|
uint32 incremental_id = 1;
|
|
73
71
|
string urn = 2;
|
|
74
|
-
float timestamp = 3;
|
|
75
|
-
optional bool is_stopping = 4; // true means the emote has been stopped in the sender's client
|
|
76
|
-
optional bool is_repeating = 5; // true when it is not the first time the looping animation plays
|
|
77
|
-
optional int32 interaction_id = 6; // identifies an interaction univocaly, established when the start animation is triggered
|
|
78
|
-
optional int32 social_emote_outcome = 7; // -1 means it does not use an outcome animation
|
|
79
|
-
optional bool is_reacting = 8; // to a social emote started by other user
|
|
80
|
-
optional string social_emote_initiator = 9; // wallet address of the user that initiated social emote
|
|
81
|
-
optional string target_avatar = 10; // wallet address of the user whose avatar is the target of a directed emote
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// Message sent to force an avatar to look at a position
|
|
85
|
-
message LookAtPosition
|
|
86
|
-
{
|
|
87
|
-
float timestamp = 1;
|
|
88
|
-
// world position
|
|
89
|
-
float position_x = 2;
|
|
90
|
-
float position_y = 3;
|
|
91
|
-
float position_z = 4;
|
|
92
|
-
string target_avatar_wallet_address = 5;
|
|
93
72
|
}
|
|
94
73
|
|
|
95
74
|
message SceneEmote {
|
|
@@ -122,10 +101,6 @@ message ProfileResponse {
|
|
|
122
101
|
message Chat {
|
|
123
102
|
string message = 1;
|
|
124
103
|
double timestamp = 2;
|
|
125
|
-
|
|
126
|
-
// Extension: optional forwarded_from to identify the original sender when
|
|
127
|
-
// messages are forwarded through an SFU
|
|
128
|
-
optional string forwarded_from = 3;
|
|
129
104
|
}
|
|
130
105
|
|
|
131
106
|
message Scene {
|
|
@@ -25,4 +25,4 @@ message PBLightSource {
|
|
|
25
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
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
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|
|
@@ -10,9 +10,7 @@ option (common.ecs_component_id) = 1076;
|
|
|
10
10
|
// an 'instant' transition (like using speed/time = 0)
|
|
11
11
|
// * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
12
12
|
// the holding entity transform).
|
|
13
|
-
// * The fov defines the Field of View of the virtual camera
|
|
14
13
|
message PBVirtualCamera {
|
|
15
14
|
optional common.CameraTransition default_transition = 1;
|
|
16
15
|
optional uint32 look_at_entity = 2;
|
|
17
|
-
optional float fov = 3; // default: 60
|
|
18
16
|
}
|
|
@@ -6,4 +6,11 @@ option (common.ecs_component_id) = 1081;
|
|
|
6
6
|
|
|
7
7
|
message PBVisibilityComponent {
|
|
8
8
|
optional bool visible = 1; // default=true
|
|
9
|
+
|
|
10
|
+
// Propagation follows certain rules:
|
|
11
|
+
// - Any own visibility component takes priority
|
|
12
|
+
// - If no own visibility component, visibility is determined by visibility of the nearest parent with propagate = true
|
|
13
|
+
// - If no own component and no parent with propagate = true, visibility is "visible"
|
|
14
|
+
// - Visibility is always updated, whenever hierarchy, parent component or own component changes
|
|
15
|
+
optional bool propagate_to_children = 2; // default=false
|
|
9
16
|
}
|