diff options
| author | Fuwn <[email protected]> | 2024-06-12 07:04:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-12 07:04:13 -0700 |
| commit | 5881e785ace908f669f0d3136bdbbdfe5b500bdc (patch) | |
| tree | 996d8e74567e7f6fa2fe6624b68ea177b5cccc90 | |
| parent | refactor: use snake case (style guide) (diff) | |
| download | worldserver-protobufs-5881e785ace908f669f0d3136bdbbdfe5b500bdc.tar.xz worldserver-protobufs-5881e785ace908f669f0d3136bdbbdfe5b500bdc.zip | |
refactor: rename ObjID
| -rw-r--r-- | object_id.proto (renamed from obj_id.proto) | 2 | ||||
| -rw-r--r-- | text_command.proto | 4 | ||||
| -rw-r--r-- | whisper_command.proto | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/obj_id.proto b/object_id.proto index bc8aa7e..0709e7b 100644 --- a/obj_id.proto +++ b/object_id.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package whirl; -message ObjID { +message ObjectID { int32 short_object_id = 1; string long_object_id = 2; }
\ No newline at end of file diff --git a/text_command.proto b/text_command.proto index bb58baf..31c93d0 100644 --- a/text_command.proto +++ b/text_command.proto @@ -2,9 +2,9 @@ syntax = "proto3"; package whirl; -import "obj_id.proto"; +import "object_id.proto"; message TextCommand { - ObjID sender_id = 1; + ObjectID sender_id = 1; string text = 2; } diff --git a/whisper_command.proto b/whisper_command.proto index 4be883f..24ad47c 100644 --- a/whisper_command.proto +++ b/whisper_command.proto @@ -2,10 +2,10 @@ syntax = "proto3"; package whirl; -import "obj_id.proto"; +import "object_id.proto"; message WhisperCommand { - ObjID sender_id = 1; + ObjectID sender_id = 1; string text = 2; - ObjID receiver_id = 3; + ObjectID receiver_id = 3; } |