-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimulation.proto
39 lines (33 loc) · 1.03 KB
/
simulation.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import "general.proto";
import "configure.proto";
message ObjectSpawnParent {
required int32 ospParentId = 1;
required int32 ospWeaponId = 2;
}
// 5
message ServerClientObjectSpawnMessage {
required int32 objectId = 1;
required int32 objectType = 2;
required VectorMessage position = 3;
required VectorMessage rotation = 4;
optional int32 userId = 5;
optional SlugConfigureMechRequest mechConfig = 6;
optional SlugQueryMechResponse mechQuery = 7;
optional ObjectSpawnParent spawnParent = 8;
}
// 6
message ServerClientObjectMoveMessage {
required int32 objectId = 1;
required VectorMessage position = 2;
required VectorMessage rotation = 3;
}
// 7
message ServerClientObjectDestroyMessage {
required int32 objectId = 1;
required int32 objectType = 2;
}
// 8
message ServerClientMechUpdateMessage {
required int32 mechUpdateId = 1;
required SlugQueryMechResponse mechUpdateData = 2;
}