mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 06:22:15 -07:00
Add a wrapper.
Took 35 minutes
This commit is contained in:
parent
e5f23f1906
commit
1d1de904e0
164 changed files with 25 additions and 34 deletions
17
libs/protocol/pb/event_game_joined.proto
Normal file
17
libs/protocol/pb/event_game_joined.proto
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
syntax = "proto2";
|
||||
import "session_event.proto";
|
||||
import "serverinfo_game.proto";
|
||||
import "serverinfo_gametype.proto";
|
||||
|
||||
message Event_GameJoined {
|
||||
extend SessionEvent {
|
||||
optional Event_GameJoined ext = 1009;
|
||||
}
|
||||
optional ServerInfo_Game game_info = 1;
|
||||
repeated ServerInfo_GameType game_types = 2;
|
||||
optional sint32 host_id = 3;
|
||||
optional sint32 player_id = 4;
|
||||
optional bool spectator = 5;
|
||||
optional bool resuming = 6;
|
||||
optional bool judge = 7;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue