mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 17:43:54 -07:00
protobuf client->server communication almost working
This commit is contained in:
parent
4eb9dfc5bf
commit
314f17091d
96 changed files with 1633 additions and 860 deletions
16
common/pb/proto/moderator_commands.proto
Normal file
16
common/pb/proto/moderator_commands.proto
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
message ModeratorCommand {
|
||||
enum ModeratorCommandType {
|
||||
BAN_FROM_SERVER = 1000;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
||||
message Command_BanFromServer {
|
||||
extend ModeratorCommand {
|
||||
optional Command_BanFromServer ext = 1000;
|
||||
}
|
||||
optional string user_name = 1;
|
||||
optional string address = 2;
|
||||
optional uint32 minutes = 3;
|
||||
optional string reason = 4;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue