Mensagemholoholo.rpc
TradingProto
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | state | TradingProto.TradingState | 08 |
| 2 | expiration_ms | uint64 | 10 |
| 3 | player | TradingProto.TradingPlayerProto | 1a |
| 4 | friend | TradingProto.TradingPlayerProto | 22 |
| 5 | trading_s2_cell_id | int64 | 28 |
| 6 | transaction_log | string | 32 |
| 7 | friendship_level_data | FriendshipLevelDataProto | 3a |
| 8 | is_special_trading | bool | 40 |
| 9 | pre_trading_friendship_level | FriendshipLevelDataProto | 4a |
| 10 | is_lucky_friend_trading | bool | 50 |
| 11 | special_trade_limit_decreased | bool | 58 |
Tipos aninhados
Usado em (5)
- CancelTradingOutProto.trading
- ConfirmTradingOutProto.trading
- GetTradingOutProto.trading
- OpenTradingOutProto.trading
- UpdateTradingOutProto.trading
Código .proto
// 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; } }