diff options
| author | Fuwn <[email protected]> | 2024-06-12 06:42:44 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-12 06:42:44 -0700 |
| commit | eaba1029447262efc7279393c4ace2a61554f41b (patch) | |
| tree | 4df1678ffcba766ce29b3d7c3c63173877057f4f | |
| parent | refactor(NetPacket): rename fields (diff) | |
| download | worldserver-protobufs-eaba1029447262efc7279393c4ace2a61554f41b.tar.xz worldserver-protobufs-eaba1029447262efc7279393c4ace2a61554f41b.zip | |
refactor: rename location commands
| -rw-r--r-- | LongLocationCmd.proto (renamed from LongLocCmd.proto) | 2 | ||||
| -rw-r--r-- | NetPacket.proto | 8 | ||||
| -rw-r--r-- | ShortLocationCmd.proto (renamed from ShortLocCmd.proto) | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/LongLocCmd.proto b/LongLocationCmd.proto index 6b27d7f..be70f7f 100644 --- a/LongLocCmd.proto +++ b/LongLocationCmd.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package whirl; -message LongLocCmd { +message LongLocationCmd { int32 x = 1; int32 y = 2; int32 z = 3; diff --git a/NetPacket.proto b/NetPacket.proto index b923ab1..3e5f7c1 100644 --- a/NetPacket.proto +++ b/NetPacket.proto @@ -11,7 +11,7 @@ import "ChannelCmd.proto"; import "DisappearActorCmd.proto"; import "FingerReplyCmd.proto"; import "FingerReqCmd.proto"; -import "LongLocCmd.proto"; +import "LongLocationCmd.proto"; import "PropertySetCmd.proto"; import "PropertyUpdateCmd.proto"; import "PropReqCmd.proto"; @@ -21,7 +21,7 @@ import "RoomIDCmd.proto"; import "RoomIDReqCmd.proto"; import "SessionExitCmd.proto"; import "SessionInitCmd.proto"; -import "ShortLocCmd.proto"; +import "ShortLocationCmd.proto"; import "SubscribeDistCmd.proto"; import "SubscribeRoomCmd.proto"; import "TeleportCmd.proto"; @@ -46,7 +46,7 @@ message NetPacket { DisappearActorCmd disappear_actor_cmd = 11; FingerReplyCmd finger_reply_cmd = 12; FingerReqCmd finger_req_cmd = 13; - LongLocCmd long_loc_cmd = 14; + LongLocationCmd long_location_cmd = 14; PropertySetCmd property_set_cmd = 15; PropertyUpdateCmd property_update_cmd = 16; PropReqCmd prop_req_cmd = 17; @@ -56,7 +56,7 @@ message NetPacket { RoomIDReqCmd room_id_req_cmd = 21; SessionExitCmd session_exit_cmd = 22; SessionInitCmd session_init_cmd = 23; - ShortLocCmd short_loc_cmd = 24; + ShortLocationCmd short_location_cmd = 24; SubscribeDistCmd subscribe_dist_cmd = 25; SubscribeRoomCmd subscribe_room_cmd = 26; TeleportCmd teleport_cmd = 27; diff --git a/ShortLocCmd.proto b/ShortLocationCmd.proto index cba1070..b26b8da 100644 --- a/ShortLocCmd.proto +++ b/ShortLocationCmd.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package whirl; -message ShortLocCmd { +message ShortLocationCmd { int32 dx = 1; int32 dy = 2; int32 ddirection = 3; |