protos/pogo0.431.0

Messageholoholo.rpc

TradingProto

holoholo.rpc.TradingProtoFile: holo_protos.protoC# type: Holoholo.Rpc.TradingProto11 fieldsSince 0.431.0

No.FieldTypeTag
1stateTradingProto.TradingState08
2expiration_msuint6410
3playerTradingProto.TradingPlayerProto1a
4friendTradingProto.TradingPlayerProto22
5trading_s2_cell_idint6428
6transaction_logstring32
7friendship_level_dataFriendshipLevelDataProto3a
8is_special_tradingbool40
9pre_trading_friendship_levelFriendshipLevelDataProto4a
10is_lucky_friend_tradingbool50
11special_trade_limit_decreasedbool58

Nested types

Used in (5)

.proto source
// holo_protos.proto · package holoholo.rpc
message TradingProto {
  TradingState state = 1;
  uint64 expiration_ms = 2;
  TradingPlayerProto player = 3;
  TradingPlayerProto friend = 4;
  int64 trading_s2_cell_id = 5;
  string transaction_log = 6;
  FriendshipLevelDataProto friendship_level_data = 7;
  bool is_special_trading = 8;
  FriendshipLevelDataProto pre_trading_friendship_level = 9;
  bool is_lucky_friend_trading = 10;
  bool special_trade_limit_decreased = 11;

  message TradingPlayerProto {
    string player_id = 1;
    PlayerPublicProfileProto public_profile = 2;
    repeated ExcludedPokemon excluded_pokemon = 3;
    TradingPokemonProto trading_pokemon = 4;
    LootProto bonus = 5;
    LootProto price = 6;
    bool can_afford_trading = 7;
    bool has_confirmed = 8;
    string nia_account_id = 9;
    int32 special_trade_limit = 10;
    int32 display_special_trades_made = 11;

    message ExcludedPokemon {
      fixed64 pokemon_id = 1;
      TradeExclusionProto.ExclusionReason exclusion_reason = 2;
    }
  }

  enum TradingState {
    TRADING_STATE_UNSET = 0;
    TRADING_STATE_PRIMORDIAL = 1;
    TRADING_STATE_WAIT = 2;
    TRADING_STATE_ACTIVE = 3;
    TRADING_STATE_CONFIRMED = 4;
    TRADING_STATE_FINISHED = 5;
  }
}