protos/pogo0.431.0

Mensagemholoholo.rpc

BattleResourceProto

holoholo.rpc.BattleResourceProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.BattleResourceProto9 camposDesde a 0.431.0

NºCampoTipoTag
1typeBattleResourceProto.ResourceType08
2quantityint3210
3max_quantityint3218
4disabledbool20
5cooldown_metadataBattleResourceProto.CooldownMetadata2a
8projected_quantityint3240
9enable_quantity_projectionbool48
oneof resource · 2 opções, só uma de cada vez
6itemItem30
7pokemon_idHoloPokemonId38

Tipos aninhados

Usado em (5)

Código .proto
// holo_protos.proto · package holoholo.rpc
message BattleResourceProto {
  ResourceType type = 1;
  int32 quantity = 2;
  int32 max_quantity = 3;
  bool disabled = 4;
  CooldownMetadata cooldown_metadata = 5;
  int32 projected_quantity = 8;
  bool enable_quantity_projection = 9;
  oneof resource {
    Item item = 6;
    HoloPokemonId pokemon_id = 7;
  }

  message CooldownMetadata {
    int64 last_used_turn = 1;
    int64 next_available_turn = 2;
  }

  enum ResourceType {
    RESOURCE_TYPE_UNSET_RESOURCE_TYPE = 0;
    RESOURCE_TYPE_HEALTH = 1;
    RESOURCE_TYPE_ENERGY = 2;
    RESOURCE_TYPE_SHIELD = 3;
    RESOURCE_TYPE_ITEM = 4;
    RESOURCE_TYPE_PARTY_ENERGY = 5;
    RESOURCE_TYPE_BREAD_POWER = 6;
    RESOURCE_TYPE_BREAD_MOVE = 7;
    RESOURCE_TYPE_BREAD_GUARD = 8;
    RESOURCE_TYPE_SIDELINE_POWER = 9;
    RESOURCE_TYPE_MEGA_SHIELD = 10;
    RESOURCE_TYPE_MEGA_IMPACT = 11;
  }
}