Skip to content

Data Store Protocol (SSB4)

Yannik Marchand edited this page Nov 13, 2021 · 5 revisions

NEX Protocols > Data Store > SSB4 (115)

This page describes the methods that are only seen in Super Smash Bros. 4. The protocol has been renamed from DataStoreProtocol to CrossProtocol.

Method ID Method Name
45 PostProfile
46 GetProfiles
47 SendPlayReport
48 GetWorldPlayReport
49 GetReplayMeta
50 PrepareGetReplay
51 PreparePostReplay
52 CompletePostReplay
53 CheckPostReplay
54 GetNextReplay
55 PreparePostSharedData
56 CompletePostSharedData
57 SearchSharedData
58 GetApplicationConfig
59 SearchReplay
60 PostFightingPowerScore
61 GetFightingPowerChart
62 GetFightingPowerChartAll
63 ReportSharedData
64 GetSharedDataMeta

(45) PostProfile

Request

Type Name
DataStorePostProfileParam param

Response

This method does not return anything.

(46) GetProfiles

Request

Type Name
List<Uint32> pidList

Response

Type Name
List<DataStoreProfileInfo> pProfileList

(47) SendPlayReport

Request

Type Name
List<Sint32> playReport

Response

This method does not return anything.

(48) GetWorldPlayReport

Request

This method does not take any parameters.

Response

Type Name
List<Sint64> pPlayReport

(49) GetReplayMeta

Request

Type Name
DataStoreGetReplayMetaParam param

Response

Type Name
DataStoreReplayMetaInfo pMetaInfo

(50) PrepareGetReplay

Request

Type Name
DataStorePrepareGetReplayParam param

Response

Type Name
DataStoreReqGetInfo pReqGetInfo

(51) PreparePostReplay

Request

Type Name
DataStorePreparePostReplayParam param

Response

Type Name
DataStorePreparePostParam pPostParam
DataStoreReqPostInfo pReqPostInfo

(52) CompletePostReplay

Request

Type Name
DataStoreCompletePostReplayParam param

Response

This method does not return anything.

(53) CheckPostReplay

Request

Type Name
DataStorePreparePostReplayParam param

Response

Type Name
Bool pIsRequired
Bool pIsRare

(54) GetNextReplay

Request

This method does not take any parameters.

Response

Type Name
DataStoreReplayMetaInfo pMetaInfo

(55) PreparePostSharedData

Request

Type Name
DataStorePreparePostSharedDataParam param

Response

Type Name
DataStorePreparePostParam pPostParam
DataStoreReqPostInfo pReqPostInfo

(56) CompletePostSharedData

Request

Type Name
DataStoreCompletePostSharedDataParam param

Response

This method does not return anything.

(57) SearchSharedData

Request

Type Name
DataStoreSearchSharedDataParam param

Response

Type Name
List<DataStoreSharedDataInfo> pSharedDataInfoList

(58) GetApplicationConfig

Request

Type Name
Uint32 applicationId

Response

Type Name
List<String> config

(59) SearchReplay

Request

Type Name
DataStoreSearchReplayParam param

Response

Type Name
List<DataStorePrepareGetReplayParam> pGetReplayParam

(60) PostFightingPowerScore

Request

Type Name
List<DataStorePostFightingPowerScoreParam> params

Response

This method does not return anything.

(61) GetFightingPowerChart

Request

Type Name
Uint8 mode

Response

Type Name
Uint32 pUserNum
List<DataStoreFightingPowerScore> pChart

(62) GetFightingPowerChartAll

Request

This method does not take any parameters.

Response

Type Name
List<DataStoreFightingPowerChart> pChart

(63) ReportSharedData

Request

Type Name
Uint64 dataId

Response

This method does not return anything.

Types

DataStorePostProfileParam (Structure)

Type Name
qBuffer profile

DataStoreProfileInfo (Structure)

Type Name
Uint32 pid
qBuffer profile

DataStoreReplayMetaInfo (Structure)

Type Name
Uint64 replayId
Uint32 size
Uint8 mode
Uint8 style
Uint8 rule
Uint8 stage
Uint8 replayType
List<DataStoreReplayPlayer> players
List<Uint32> winners

DataStoreGetReplayMetaParam (Structure)

Type Name
Uint64 replayId
Uint8 metaType

DataStorePrepareGetReplayParam (Structure)

Type Name
Uint64 replayId
List<String> extraData

DataStorePreparePostReplayParam (Structure)

Type Name
Uint32 size
Uint8 mode
Uint8 style
Uint8 rule
Uint8 stage
Uint8 replayType
Uint64 competitionId
Sint32 score
List<DataStoreReplayPlayer> players
List<Uint32> winners
Uint16 keyVersion
List<String> extraData

DataStoreCompletePostReplayParam (Structure)

Type Name
Uint64 replayId
DataStoreCompletePostParam completeParam
DataStorePreparePostReplayParam prepareParam

DataStorePreparePostSharedDataParam (Structure)

Type Name
Uint8 dataType
Uint8 region
Uint8 attribute1
Uint8 attribute2
Buffer fighter
Uint32 size
String comment
qBuffer metaBinary
List<String> extraData

DataStoreCompletePostSharedDataParam (Structure)

Type Name
Uint64 dataId
DataStoreCompletePostParam completeParam
DataStorePreparePostSharedDataParam prepareParam

DataStoreSearchSharedDataParam (Structure)

Type Name
Uint8 dataType
Uint32 owner
Uint8 region
Uint8 attribute1
Uint8 attribute2
Uint8 fighter
ResultRange resultRange

DataStoreSharedDataInfo (Structure)

Type Name
Uint64 dataId
Uint32 ownerId
Uint8 dataType
String comment
qBuffer metaBinary
qBuffer profile
Sint64 rating
DateTime createdTime
DataStoreFileServerObjectInfo info

DataStoreSearchReplayParam (Structure)

Type Name
Uint8 mode
Uint8 style
Uint8 fighter
ResultRange resultRange

DataStorePostFightingPowerScoreParam (Structure)

Type Name
Uint8 mode
Uint32 score
Bool isWorldHighScore

DataStoreFightingPowerScore (Structure)

Type Name
Uint32 score
Uint32 rank

DataStoreFightingPowerChart (Structure)

Type Name
Uint32 userNum
List<DataStoreFightingPowerScore> chart

DataStoreReplayPlayer (Structure)

Type Name
Uint8 fighter
Uint8 health
Uint16 winningRate
Uint8 color
Uint8 color2
Uint32 principalId
Uint32 country
Uint8 region
Uint8 number

DataStoreFileServerObjectInfo (Structure)

Type Name
Uint64 dataId
DataStoreReqGetInfo getInfo
Clone this wiki locally