Skip to content

Data Store Protocol (Pokemon Bank)

Yannik Marchand edited this page Feb 21, 2022 · 3 revisions

NEX Protocols > Data Store > Pokemon Bank (115)

This page describes the methods that are only seen in Pokemon Bank.

Method ID Method Name
40 PrepareUploadPokemon
41 UploadPokemon
42 SearchPokemon
43 PrepareTradePokemon
44 TradePokemon
45 DownloadOtherPokemon
46 DownloadMyPokemon
47 DeletePokemon
48 GetTransactionParam
49 PreparePostBankObject
50 CompletePostBankObject
51 PrepareGetBankObject
52 PrepareUpdateBankObject
53 CompleteUpdateBankObject
54 RollbackBankObject
55 GetUnlockKey
56 RequestMigration
57 GetMigrationStatus

(40) PrepareUploadPokemon

Request

This method does not take any parameters.

Response

Type Name
GlobalTradeStationRecordKey pRecordKey

(41) UploadPokemon

Request

Type Name
GlobalTradeStationUploadPokemonParam param

Response

This method does not return anything.

(42) SearchPokemon

Request

Type Name
GlobalTradeStationSearchPokemonParam param

Response

Type Name
GlobalTradeStationSearchPokemonResult pResult

(43) PrepareTradePokemon

Request

Type Name
GlobalTradeStationPrepareTradePokemonParam param

Response

Type Name
GlobalTradeStationPrepareTradePokemonResult pResult

(44) TradePokemon

Request

Type Name
GlobalTradeStationTradePokemonParam param

Response

Type Name
GlobalTradeStationTradePokemonResult pResult

(45) DownloadOtherPokemon

Request

Type Name
GlobalTradeStationDownloadOtherPokemonParam param

Response

Type Name
GlobalTradeStationTradePokemonResult pResult

(46) DownloadMyPokemon

Request

Type Name
GlobalTradeStationDownloadMyPokemonParam param

Response

Type Name
GlobalTradeStationDownloadMyPokemonResult pResult

(47) DeletePokemon

Request

Type Name
GlobalTradeStationDeletePokemonParam param

Response

This method does not return anything.

(48) GetTransactionParam

Request

Type Name
Uint16 slotId

Response

Type Name
BankTransactionParam pTransactionParam
Uint32 pStatus
Uint16 pApplicationId

(49) PreparePostBankObject

Request

Type Name
Uint16 slotId
Uint32 size

Response

Type Name
DataStoreReqPostInfo pReqPostInfo

(50) CompletePostBankObject

Request

Type Name
DataStoreCompletePostParam param

Response

This method does not return anything.

(51) PrepareGetBankObject

Request

Type Name
Uint16 slotId
Uint16 applicationId

Response

Type Name
BankTransactionParam pTransactionParam
DataStoreReqGetInfo pReqGetInfo

(52) PrepareUpdateBankObject

Request

Type Name
BankTransactionParam transactionParam

Response

Type Name
BankTransactionParam pTransactionParam
DataStoreReqUpdateInfo pReqUpdateInfo

(53) CompleteUpdateBankObject

Request

Type Name
Uint16 slotId
BankTransactionParam transactionParam
Bool isForce

Response

This method does not return anything.

(54) RollbackBankObject

Request

Type Name
Uint16 slotId
BankTransactionParam transactionParam
Bool isForce

Response

This method does not return anything.

(55) GetUnlockKey

Request

Type Name
Uint32 challengeValue

Response

Type Name
List<Uint32> pUnlockKeyList

(56) RequestMigration

Request

Type Name
String oneTimePassword
List<Uint32> boxes

Response

Type Name
Uint32 detailCode

(57) GetMigrationStatus

Request

This method does not take any parameters.

Response

Type Name
BankMigrationInfo pInfo
Uint32 detailCode

Types

GlobalTradeStationRecordKey (Structure)

Type Name
Uint64 dataId
Uint64 password

GlobalTradeStationUploadPokemonParam (Structure)

Type Name
GlobalTradeStationRecordKey prepareUploadKey
Uint16 period
qBuffer indexData
qBuffer pokemonData
qBuffer signature

GlobalTradeStationSearchPokemonParam (Structure)

Type Name
GlobalTradeStationRecordKey prepareUploadKey
List<Uint32> conditions
Uint8 resultOrderColumn
Uint8 resultOrder
DateTime uploadedAfter
DateTime uploadedBefore
ResultRange resultRange

GlobalTradeStationSearchPokemonResult (Structure)

Type Name
Uint32 totalCount
List<GlobalTradeStationData> result
Uint8 totalCountType

GlobalTradeStationTradePokemonParam (Structure)

Type Name
GlobalTradeStationTradeKey tradeKey
GlobalTradeStationRecordKey prepareTradeKey
GlobalTradeStationRecordKey prepareUploadKey
Uint16 period
qBuffer indexData
qBuffer pokemonData
qBuffer signature
Bool needData

GlobalTradeStationDownloadOtherPokemonParam (Structure)

Type Name
GlobalTradeStationRecordKey prepareUploadKey

GlobalTradeStationDownloadMyPokemonParam (Structure)

Type Name
GlobalTradeStationRecordKey prepareUploadKey

GlobalTradeStationTradePokemonResult (Structure)

Type Name
GlobalTradeStationDownloadPokemonResult result
Uint64 myDataId

GlobalTradeStationDownloadMyPokemonResult (Structure)

Type Name
GlobalTradeStationDownloadPokemonResult result
Bool isTraded

GlobalTradeStationPrepareTradePokemonParam (Structure)

Type Name
GlobalTradeStationTradeKey tradeKey
GlobalTradeStationRecordKey prepareUploadKey

GlobalTradeStationPrepareTradePokemonResult (Structure)

Type Name
GlobalTradeStationDownloadPokemonResult result
GlobalTradeStationRecordKey prepareTradeKey

GlobalTradeStationDeletePokemonParam (Structure)

Type Name
GlobalTradeStationRecordKey prepareUploadKey
Uint8 deleteFlag

BankTransactionParam (Structure)

Type Name
Uint64 dataId
Uint32 curVersion
Uint32 updateVersion
Uint32 size
Uint64 transactionPassword

BankMigrationInfo (Structure)

Type Name
Uint32 migrationStatus
DateTime updatedTime

GlobalTradeStationTradeKey (Structure)

Type Name
Uint64 dataId
Uint32 version

GlobalTradeStationData (Structure)

Type Name
Uint64 dataId
Uint32 ownerId
DateTime updatedTime
qBuffer indexData
Uint32 version

GlobalTradeStationDownloadPokemonResult (Structure)

Type Name
Uint64 dataId
qBuffer indexData
qBuffer pokemonData
Clone this wiki locally