File tree 1 file changed +37
-0
lines changed
proto/decentraland/kernel/comms/rfc4
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ message Packet {
14
14
Chat chat = 5 ;
15
15
Scene scene = 6 ;
16
16
Voice voice = 7 ;
17
+ Movement movement = 8 ;
18
+ PlayerEmote player_emote = 9 ;
19
+ SceneEmote scene_emote = 10 ;
17
20
}
21
+ uint32 protocol_version = 11 ;
18
22
}
19
23
20
24
message Position {
@@ -31,6 +35,39 @@ message Position {
31
35
float rotation_w = 9 ;
32
36
}
33
37
38
+ message Movement {
39
+ // command number
40
+ float timestamp = 1 ;
41
+ // world position
42
+ float position_x = 2 ;
43
+ float position_y = 3 ;
44
+ float position_z = 4 ;
45
+ // velocity
46
+ float velocity_x = 5 ;
47
+ float velocity_y = 6 ;
48
+ float velocity_z = 7 ;
49
+ // animations
50
+ float movement_blend_value = 8 ;
51
+ float slide_blend_value = 9 ;
52
+ bool is_grounded = 10 ;
53
+ bool is_jumping = 11 ;
54
+ bool is_long_jump = 12 ;
55
+ bool is_long_fall = 13 ;
56
+ bool is_falling = 14 ;
57
+
58
+ bool is_stunned = 15 ;
59
+ }
60
+
61
+ message PlayerEmote {
62
+ uint32 incremental_id = 1 ;
63
+ string urn = 2 ;
64
+ }
65
+
66
+ message SceneEmote {
67
+ string scene_entity_id = 1 ;
68
+ string source = 2 ;
69
+ }
70
+
34
71
message AnnounceProfileVersion {
35
72
uint32 profile_version = 1 ;
36
73
You can’t perform that action at this time.
0 commit comments