Mensagemholoholo.rpc
GetMapObjectsOutProto
Resposta do método RPC GET_MAP_OBJECTS (ID 106). O pedido é GetMapObjectsProto.
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | map_cell | repeatedClientMapCellProto | 0a |
| 2 | status | GetMapObjectsOutProto.Status | 10 |
| 3 | time_of_day | GetMapObjectsOutProto.TimeOfDay | 18 |
| 4 | client_weather | repeatedClientWeatherProto | 22 |
| 5 | moon_phase | GetMapObjectsOutProto.MoonPhase | 28 |
| 6 | twilight_period | GetMapObjectsOutProto.TwilightPeriod | 30 |
| 7 | nearby_pokemon_snapshot | NearbyPokemonSnapshot | 3a |
| 8 | pinned_nearby_pokemon_snapshot | PinnedNearbyPokemonSnapshot | 42 |
Tipos aninhados
Usado em (0)
Nenhuma mensagem tem um campo deste tipo. Costuma ser o caso dos pedidos e respostas de RPC, que circulam sozinhos.
Código .proto
// holo_protos.proto · package holoholo.rpc message GetMapObjectsOutProto { repeated ClientMapCellProto map_cell = 1; Status status = 2; TimeOfDay time_of_day = 3; repeated ClientWeatherProto client_weather = 4; MoonPhase moon_phase = 5; TwilightPeriod twilight_period = 6; NearbyPokemonSnapshot nearby_pokemon_snapshot = 7; PinnedNearbyPokemonSnapshot pinned_nearby_pokemon_snapshot = 8; enum MoonPhase { MOON_PHASE_NOT_SET = 0; MOON_PHASE_FULL = 1; } enum Status { STATUS_UNSET = 0; STATUS_SUCCESS = 1; STATUS_LOCATION_UNSET = 2; STATUS_ERROR = 3; } enum TimeOfDay { TIME_OF_DAY_NONE = 0; TIME_OF_DAY_DAY = 1; TIME_OF_DAY_NIGHT = 2; } enum TwilightPeriod { TWILIGHT_PERIOD_NONE_TWILIGHT_PERIOD = 0; TWILIGHT_PERIOD_DUSK = 1; TWILIGHT_PERIOD_DAWN = 2; } }