diff options
| author | Fuwn <[email protected]> | 2024-06-12 09:09:58 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-12 09:09:58 -0700 |
| commit | dca92863146b9d65689f60db1d3c2887eeb3e7bb (patch) | |
| tree | 69be5a9645390793e6faccd70c0ba257657cc58b | |
| parent | feat(test.py): larger test suite (diff) | |
| download | worldserver-protobufs-dca92863146b9d65689f60db1d3c2887eeb3e7bb.tar.xz worldserver-protobufs-dca92863146b9d65689f60db1d3c2887eeb3e7bb.zip | |
refactor: rename property commands
| -rw-r--r-- | build/test.py | 2 | ||||
| -rw-r--r-- | commands/property_command.proto (renamed from commands/prop_command.proto) | 2 | ||||
| -rw-r--r-- | commands/property_request_command.proto (renamed from commands/prop_request_command.proto) | 2 | ||||
| -rw-r--r-- | network_packet.proto | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/build/test.py b/build/test.py index ff89058..e9fb8ad 100644 --- a/build/test.py +++ b/build/test.py @@ -46,7 +46,7 @@ def parse_network_packet(raw_bytes): case command.BUDDYLISTNOTIFYCMD: print("This is a BuddyListNotifyCommand.") case command.PROPREQCMD: - print("This is a PropRequestCommand.") + print("This is a PropertyRequestCommand.") case _: print(f"This is an unknown command type: {command_type}.") diff --git a/commands/prop_command.proto b/commands/property_command.proto index c847c92..894003b 100644 --- a/commands/prop_command.proto +++ b/commands/property_command.proto @@ -4,6 +4,6 @@ package whirl; import "old_property_list.proto"; -message PropCommand { +message PropertyCommand { OldPropertyList property_list = 1; }
\ No newline at end of file diff --git a/commands/prop_request_command.proto b/commands/property_request_command.proto index 040bf4d..e7ba772 100644 --- a/commands/prop_request_command.proto +++ b/commands/property_request_command.proto @@ -2,6 +2,6 @@ syntax = "proto3"; package whirl; -message PropRequestCommand { +message PropertyRequestCommand { repeated int32 variable_ids = 1; } diff --git a/network_packet.proto b/network_packet.proto index 29aeec1..c5bfac0 100644 --- a/network_packet.proto +++ b/network_packet.proto @@ -4,7 +4,7 @@ package whirl; import "commands/appear_actor_command.proto"; import "commands/app_init_command.proto"; -import "commands/prop_command.proto"; +import "commands/property_command.proto"; import "commands/buddy_list_notify_command.proto"; import "commands/buddy_list_update_command.proto"; import "commands/channel_command.proto"; @@ -14,7 +14,7 @@ import "commands/finger_request_command.proto"; import "commands/long_location_command.proto"; import "commands/property_set_command.proto"; import "commands/property_update_command.proto"; -import "commands/prop_request_command.proto"; +import "commands/property_request_command.proto"; import "commands/redirect_command.proto"; import "commands/redirect_id_command.proto"; import "commands/room_id_command.proto"; @@ -39,7 +39,7 @@ message NetworkPacket { oneof command { AppearActorCommand appear_actor_command = 5; AppInitCommand app_init_command = 6; - PropCommand prop_command = 7; + PropertyCommand property_command = 7; BuddyListNotifyCommand buddy_list_notify_command = 8; BuddyListUpdateCommand buddy_list_update_command = 9; ChannelCommand channel_command = 10; @@ -49,7 +49,7 @@ message NetworkPacket { LongLocationCommand long_location_command = 14; PropertySetCommand property_set_command = 15; PropertyUpdateCommand property_update_command = 16; - PropRequestCommand prop_request_command = 17; + PropertyRequestCommand property_request_command = 17; RedirectCommand redirect_command = 18; RedirectIDCommand redirect_id_command = 19; RoomIDCommand room_id_command = 20; |