-
Notifications
You must be signed in to change notification settings - Fork 445
types
Tjado Maecke edited this page Jul 28, 2016
·
1 revision
.proto Type | Notes | C++ Type | Java Type | Python Type |
---|---|---|---|---|
double | double | double | float | |
float | float | float | float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long |
uint32 | Uses variable-length encoding. | uint32 | int | int/long |
uint64 | Uses variable-length encoding. | uint64 | long | int/long |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long |
sfixed32 | Always four bytes. | int32 | int | int |
sfixed64 | Always eight bytes. | int64 | long | int/long |
bool | bool | boolean | boolean | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str |
- add_fort_modifier
- attack_gym
- catch_pokemon
- check_awarded_badges
- check_codename_available
- claim_codename
- collect_daily_bonus
- collect_daily_defender_bonus
- disk_encounter
- download_item_templates
- download_remote_config_version
- download_settings
- echo
- encounter
- encounter_tutorial_complete
- equip_badge
- evolve_pokemon
- fort_deploy_pokemon
- fort_details
- fort_recall_pokemon
- fort_search
- get_asset_digest
- get_download_urls
- get_gym_details
- get_hatched_eggs
- get_incense_pokemon
- get_inventory
- get_map_objects
- get_player
- get_player_profile
- get_suggested_codenames
- incense_encounter
- level_up_rewards
- mark_tutorial_complete
- nickname_pokemon
- player_update
- recycle_inventory_item
- release_pokemon
- set_avatar
- set_contact_settings
- set_favorite_pokemon
- set_player_team
- sfida_action_log
- start_gym_battle
- upgrade_pokemon
- use_incense
- use_item_capture
- use_item_egg_incubator
- use_item_gym
- use_item_potion
- use_item_revive
- use_item_xp_boost
buy_gem_packbuy_item_packdebug_delete_playerdebug_update_inventoryget_item_packitem_useload_spawn_pointssfida_actionsfida_capturesfida_certificationsfida_dowsersfida_registrationsfida_updatetrade_offertrade_responsetrade_resulttrade_searchuse_item_flee