Messageholoholo.rpc
BattlePokemonProto
| No. | Field | Type | Tag |
|---|---|---|---|
| 1 | id | uint64 | 08 |
| 2 | pokedex_id | HoloPokemonId | 10 |
| 3 | display | PokemonDisplayProto | 1a |
| 4 | cp | int32 | 20 |
| 5 | resources | map<int32, BattleResourceProto> | 2a |
| 6 | item_resources | map<int32, BattleResourceProto> | 32 |
| 7 | moves | map<int32, BattlePokemonProto.MoveData> | 3a |
| 8 | modifiers | map<int32, BattlePokemonProto.Modifier> | 42 |
| 9 | active_abilities | repeatedAbilityProto.AbilityType | 4a |
| 10 | pokeball | Item | 50 |
| 11 | size | HoloPokemonSize | 58 |
| 12 | nickname | string | 62 |
Nested types
Used in (1)
- BattleStateProto.pokemon
.proto source
// holo_protos.proto · package holoholo.rpc message BattlePokemonProto { uint64 id = 1; HoloPokemonId pokedex_id = 2; PokemonDisplayProto display = 3; int32 cp = 4; map<int32, BattleResourceProto> resources = 5; map<int32, BattleResourceProto> item_resources = 6; map<int32, MoveData> moves = 7; map<int32, Modifier> modifiers = 8; repeated AbilityProto.AbilityType active_abilities = 9; Item pokeball = 10; HoloPokemonSize size = 11; string nickname = 12; message Modifier { ModifierType type = 1; int32 value = 2; enum ModifierType { MODIFIER_TYPE_UNSET_MODIFIER_TYPE = 0; MODIFIER_TYPE_ATTACK = 1; MODIFIER_TYPE_DEFENSE = 2; } } message MoveData { HoloPokemonMove move = 1; HoloPokemonType type = 2; int32 duration_turns = 3; int32 level = 4; int32 energy_delta = 5; } enum MoveType { MOVE_TYPE_UNSET_MOVE_TYPE = 0; MOVE_TYPE_FAST = 1; MOVE_TYPE_CHARGE = 2; MOVE_TYPE_CHARGE2 = 3; MOVE_TYPE_SHIELD = 4; MOVE_TYPE_BREAD_ATTACK = 5; MOVE_TYPE_BREAD_GUARD = 6; MOVE_TYPE_BREAD_HEAL = 7; MOVE_TYPE_SPECIAL_CHARGE = 8; MOVE_TYPE_COORDINATED_MODE = 9; MOVE_TYPE_ABILITY = 10; } }