servatrice/common/pb/event_game_state_changed.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
That marker is only recognized by pb3-compatible compilers, meaning that
tools which are otherwise compatible with our files break on them.
Notably, this includes hprotoc (for haskell).
2016-01-14 08:09:40 -05:00

13 lines
383 B
Protocol Buffer

import "game_event.proto";
import "serverinfo_player.proto";
message Event_GameStateChanged {
extend GameEvent {
optional Event_GameStateChanged ext = 1005;
}
repeated ServerInfo_Player player_list = 1;
optional bool game_started = 2;
optional sint32 active_player_id = 3;
optional sint32 active_phase = 4;
optional uint32 seconds_elapsed = 5;
}