Mensagemholoholo.rpc
NpcEventProto
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | event | NpcEventProto.Event | 08 |
| oneof state · 5 opções, só uma de cada vez | |||
| 2 | cached_gift_exchange_entry | GiftExchangeEntryProto | 12 |
| 3 | cached_pokemon_exchange_entry | PokemonExchangeEntryProto | 1a |
| 4 | yes_no_selector | YesNoSelectorProto | 22 |
| 5 | multi_selector | MultiSelectorProto | 2a |
| 6 | tutorial_flag | TutorialCompletion | 30 |
Tipos aninhados
Usado em (1)
Código .proto
// holo_protos.proto · package holoholo.rpc message NpcEventProto { Event event = 1; oneof state { GiftExchangeEntryProto cached_gift_exchange_entry = 2; PokemonExchangeEntryProto cached_pokemon_exchange_entry = 3; YesNoSelectorProto yes_no_selector = 4; MultiSelectorProto multi_selector = 5; TutorialCompletion tutorial_flag = 6; } enum Event { EVENT_UNSET = 0; EVENT_TERMINATE_ENCOUNTER = 1; EVENT_GIFT_EXCHANGE = 2; EVENT_POKEMON_TRADE = 3; EVENT_DESPAWN_NPC = 4; EVENT_YES_NO_SELECT = 5; EVENT_MULTI_SELECT = 6; EVENT_SET_TUTORIAL_FLAG = 7; } }