You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperstone/dota/dota_broadcastmessages.proto

36 lines
833 B
Protocol Buffer

package dota;
option optimize_for = SPEED;
option cc_generic_services = false;
enum EDotaBroadcastMessages {
DOTA_BM_LANLobbyRequest = 1;
DOTA_BM_LANLobbyReply = 2;
}
message CDOTABroadcastMsg {
required EDotaBroadcastMessages type = 1 [default = DOTA_BM_LANLobbyRequest];
optional bytes msg = 2;
}
message CDOTABroadcastMsg_LANLobbyRequest {
}
message CDOTABroadcastMsg_LANLobbyReply {
message CLobbyMember {
optional uint32 account_id = 1;
optional string player_name = 2;
}
optional uint64 id = 1;
optional uint32 tournament_id = 2;
optional uint32 tournament_game_id = 3;
repeated CDOTABroadcastMsg_LANLobbyReply.CLobbyMember members = 4;
optional bool requires_pass_key = 5;
optional uint32 leader_account_id = 6;
optional uint32 game_mode = 7;
optional string name = 8;
optional uint32 players = 9;
}