@dcl/protocol 1.0.0-18103584382.commit-cb75aeb → 1.0.0-18353496499.commit-c68da26
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 -9
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +5 -55
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +47 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +318 -6
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +32 -1307
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +148 -6731
- 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 -65
- package/out-ts/decentraland/sdk/components/tween.gen.ts +347 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +1016 -8593
- package/package.json +3 -3
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +2 -8
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- package/proto/decentraland/sdk/components/tween.proto +19 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +11 -539
- 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/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-18353496499.commit-c68da26",
|
|
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": "c68da26fe6e0ce0f36ed9013b009b4aeca60f989"
|
|
34
34
|
}
|
|
@@ -55,11 +55,10 @@ message Movement {
|
|
|
55
55
|
bool is_long_jump = 12;
|
|
56
56
|
bool is_long_fall = 13;
|
|
57
57
|
bool is_falling = 14;
|
|
58
|
+
|
|
58
59
|
bool is_stunned = 15;
|
|
60
|
+
|
|
59
61
|
float rotation_y = 16;
|
|
60
|
-
// interpolation
|
|
61
|
-
bool is_instant = 17;
|
|
62
|
-
bool is_emoting = 18;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
message MovementCompressed {
|
|
@@ -70,7 +69,6 @@ message MovementCompressed {
|
|
|
70
69
|
message PlayerEmote {
|
|
71
70
|
uint32 incremental_id = 1;
|
|
72
71
|
string urn = 2;
|
|
73
|
-
float timestamp = 3;
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
message SceneEmote {
|
|
@@ -103,10 +101,6 @@ message ProfileResponse {
|
|
|
103
101
|
message Chat {
|
|
104
102
|
string message = 1;
|
|
105
103
|
double timestamp = 2;
|
|
106
|
-
|
|
107
|
-
// Extension: optional forwarded_from to identify the original sender when
|
|
108
|
-
// messages are forwarded through an SFU
|
|
109
|
-
optional string forwarded_from = 3;
|
|
110
104
|
}
|
|
111
105
|
|
|
112
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
|
+
}
|
|
@@ -16,6 +16,9 @@ message PBTween {
|
|
|
16
16
|
Rotate rotate = 4;
|
|
17
17
|
Scale scale = 5;
|
|
18
18
|
TextureMove texture_move = 8;
|
|
19
|
+
RotateContinuous rotate_continuous = 9;
|
|
20
|
+
MoveContinuous move_continuous = 10;
|
|
21
|
+
TextureMoveContinuous texture_move_continuous = 11;
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
optional bool playing = 6; // default true (pause or running)
|
|
@@ -46,6 +49,22 @@ message TextureMove {
|
|
|
46
49
|
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
|
|
47
50
|
}
|
|
48
51
|
|
|
52
|
+
message RotateContinuous {
|
|
53
|
+
decentraland.common.Quaternion direction = 1;
|
|
54
|
+
float speed = 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message MoveContinuous {
|
|
58
|
+
decentraland.common.Vector3 direction = 1;
|
|
59
|
+
float speed = 2;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message TextureMoveContinuous {
|
|
63
|
+
decentraland.common.Vector2 direction = 1;
|
|
64
|
+
float speed = 2;
|
|
65
|
+
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
|
|
66
|
+
}
|
|
67
|
+
|
|
49
68
|
enum TextureMovementType {
|
|
50
69
|
TMT_OFFSET = 0; // default = TextureMovementType.TMT_OFFSET
|
|
51
70
|
TMT_TILING = 1;
|
|
@@ -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
|
}
|