aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NetPacket.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/NetPacket.proto b/NetPacket.proto
index 24f2c85..b923ab1 100644
--- a/NetPacket.proto
+++ b/NetPacket.proto
@@ -35,8 +35,8 @@ message NetPacket {
uint32 short_object_id = 2;
string long_object_id = 3;
}
- uint32 command_type = 4;
- oneof packet {
+ uint32 type = 4;
+ oneof command {
AppearActorCmd appear_actor_cmd = 5;
AppInitCmd app_init_cmd = 6;
PropCmd prop_cmd = 7;