Open
Description
This is a new message allowing to bulk request raid lobby counts.
Messages
message GetRaidLobbyCounterOutProto {
enum Result {
UNSET = 0;
SUCCESS = 1;
ERROR_PLAYER_BELOW_MINIMUM_LEVEL = 2;
}
Result result = 1;
repeated RaidLobbyPlayerCountProto raid_lobbies = 2; // name TBD
}
message RaidLobbyPlayerCountProto {
string gym_id = 2;
int32 player_count = 3;
int64 lobby_join_until_ms = 4;
}
Example response
GetRaidLobbyCounterOutProto {
result Result.SUCCESS:1
raid_lobbies { // no active lobby
gym_id "45a76c2b88ba4529a2f9379de6f88d30.16"
}
raid_lobbies {
gym_id "00f9208d76a86794b2178181c304e41d.11"
player_count 1
lobby_join_until_ms 1682090628489
}
}
This will require two new DB fields: lobby_count
and lobby_join_end
(names TBD) and two new webhook fields. If there's no active lobby, the fields should be null
.
Metadata
Metadata
Assignees
Labels
No labels