Skip to content

Commit

Permalink
https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#240202
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayFab SDK Team authored and PlayFab SDK Team committed Feb 5, 2024
1 parent 4260a71 commit 784bec9
Show file tree
Hide file tree
Showing 16 changed files with 412 additions and 12 deletions.
2 changes: 2 additions & 0 deletions code/include/playfab/PlayFabClientApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ namespace PlayFab
static void GetPlayFabIDsFromNintendoServiceAccountIds(ClientModels::GetPlayFabIDsFromNintendoServiceAccountIdsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromNintendoServiceAccountIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromNintendoSwitchDeviceIds(ClientModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromPSNAccountIDs(ClientModels::GetPlayFabIDsFromPSNAccountIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromPSNAccountIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromPSNOnlineIDs(ClientModels::GetPlayFabIDsFromPSNOnlineIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromPSNOnlineIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromSteamIDs(ClientModels::GetPlayFabIDsFromSteamIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromSteamIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromTwitchIDs(ClientModels::GetPlayFabIDsFromTwitchIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromTwitchIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromXboxLiveIDs(ClientModels::GetPlayFabIDsFromXboxLiveIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromXboxLiveIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
Expand Down Expand Up @@ -255,6 +256,7 @@ namespace PlayFab
static void OnGetPlayFabIDsFromNintendoServiceAccountIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromNintendoSwitchDeviceIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromPSNAccountIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromPSNOnlineIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromSteamIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromTwitchIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromXboxLiveIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
Expand Down
97 changes: 97 additions & 0 deletions code/include/playfab/PlayFabClientDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -13146,6 +13146,103 @@ namespace PlayFab
}
};

struct GetPlayFabIDsFromPSNOnlineIDsRequest : public PlayFabRequestCommon
{
Boxed<Int32> IssuerId;
std::list<std::string> PSNOnlineIDs;

GetPlayFabIDsFromPSNOnlineIDsRequest() :
PlayFabRequestCommon(),
IssuerId(),
PSNOnlineIDs()
{}

GetPlayFabIDsFromPSNOnlineIDsRequest(const GetPlayFabIDsFromPSNOnlineIDsRequest& src) :
PlayFabRequestCommon(),
IssuerId(src.IssuerId),
PSNOnlineIDs(src.PSNOnlineIDs)
{}

~GetPlayFabIDsFromPSNOnlineIDsRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilP(input["IssuerId"], IssuerId);
FromJsonUtilS(input["PSNOnlineIDs"], PSNOnlineIDs);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_IssuerId; ToJsonUtilP(IssuerId, each_IssuerId); output["IssuerId"] = each_IssuerId;
Json::Value each_PSNOnlineIDs; ToJsonUtilS(PSNOnlineIDs, each_PSNOnlineIDs); output["PSNOnlineIDs"] = each_PSNOnlineIDs;
return output;
}
};

struct PSNOnlinePlayFabIdPair : public PlayFabBaseModel
{
std::string PlayFabId;
std::string PSNOnlineId;

PSNOnlinePlayFabIdPair() :
PlayFabBaseModel(),
PlayFabId(),
PSNOnlineId()
{}

PSNOnlinePlayFabIdPair(const PSNOnlinePlayFabIdPair& src) :
PlayFabBaseModel(),
PlayFabId(src.PlayFabId),
PSNOnlineId(src.PSNOnlineId)
{}

~PSNOnlinePlayFabIdPair() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["PlayFabId"], PlayFabId);
FromJsonUtilS(input["PSNOnlineId"], PSNOnlineId);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_PlayFabId; ToJsonUtilS(PlayFabId, each_PlayFabId); output["PlayFabId"] = each_PlayFabId;
Json::Value each_PSNOnlineId; ToJsonUtilS(PSNOnlineId, each_PSNOnlineId); output["PSNOnlineId"] = each_PSNOnlineId;
return output;
}
};

struct GetPlayFabIDsFromPSNOnlineIDsResult : public PlayFabResultCommon
{
std::list<PSNOnlinePlayFabIdPair> Data;

GetPlayFabIDsFromPSNOnlineIDsResult() :
PlayFabResultCommon(),
Data()
{}

GetPlayFabIDsFromPSNOnlineIDsResult(const GetPlayFabIDsFromPSNOnlineIDsResult& src) :
PlayFabResultCommon(),
Data(src.Data)
{}

~GetPlayFabIDsFromPSNOnlineIDsResult() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilO(input["Data"], Data);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Data; ToJsonUtilO(Data, each_Data); output["Data"] = each_Data;
return output;
}
};

struct GetPlayFabIDsFromSteamIDsRequest : public PlayFabRequestCommon
{
std::list<std::string> SteamStringIDs;
Expand Down
2 changes: 2 additions & 0 deletions code/include/playfab/PlayFabClientInstanceApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ namespace PlayFab
void GetPlayFabIDsFromNintendoServiceAccountIds(ClientModels::GetPlayFabIDsFromNintendoServiceAccountIdsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromNintendoServiceAccountIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromNintendoSwitchDeviceIds(ClientModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromPSNAccountIDs(ClientModels::GetPlayFabIDsFromPSNAccountIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromPSNAccountIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromPSNOnlineIDs(ClientModels::GetPlayFabIDsFromPSNOnlineIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromPSNOnlineIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromSteamIDs(ClientModels::GetPlayFabIDsFromSteamIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromSteamIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromTwitchIDs(ClientModels::GetPlayFabIDsFromTwitchIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromTwitchIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromXboxLiveIDs(ClientModels::GetPlayFabIDsFromXboxLiveIDsRequest& request, const ProcessApiCallback<ClientModels::GetPlayFabIDsFromXboxLiveIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
Expand Down Expand Up @@ -269,6 +270,7 @@ namespace PlayFab
void OnGetPlayFabIDsFromNintendoServiceAccountIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromNintendoSwitchDeviceIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromPSNAccountIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromPSNOnlineIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromSteamIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromTwitchIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromXboxLiveIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
Expand Down
2 changes: 2 additions & 0 deletions code/include/playfab/PlayFabServerApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ namespace PlayFab
static void GetPlayFabIDsFromNintendoServiceAccountIds(ServerModels::GetPlayFabIDsFromNintendoServiceAccountIdsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromNintendoServiceAccountIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromNintendoSwitchDeviceIds(ServerModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromPSNAccountIDs(ServerModels::GetPlayFabIDsFromPSNAccountIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromPSNAccountIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromPSNOnlineIDs(ServerModels::GetPlayFabIDsFromPSNOnlineIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromPSNOnlineIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromSteamIDs(ServerModels::GetPlayFabIDsFromSteamIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromSteamIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromTwitchIDs(ServerModels::GetPlayFabIDsFromTwitchIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromTwitchIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
static void GetPlayFabIDsFromXboxLiveIDs(ServerModels::GetPlayFabIDsFromXboxLiveIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromXboxLiveIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
Expand Down Expand Up @@ -216,6 +217,7 @@ namespace PlayFab
static void OnGetPlayFabIDsFromNintendoServiceAccountIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromNintendoSwitchDeviceIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromPSNAccountIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromPSNOnlineIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromSteamIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromTwitchIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
static void OnGetPlayFabIDsFromXboxLiveIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
Expand Down
97 changes: 97 additions & 0 deletions code/include/playfab/PlayFabServerDataModels.h
Original file line number Diff line number Diff line change
Expand Up @@ -20727,6 +20727,103 @@ namespace PlayFab
}
};

struct GetPlayFabIDsFromPSNOnlineIDsRequest : public PlayFabRequestCommon
{
Boxed<Int32> IssuerId;
std::list<std::string> PSNOnlineIDs;

GetPlayFabIDsFromPSNOnlineIDsRequest() :
PlayFabRequestCommon(),
IssuerId(),
PSNOnlineIDs()
{}

GetPlayFabIDsFromPSNOnlineIDsRequest(const GetPlayFabIDsFromPSNOnlineIDsRequest& src) :
PlayFabRequestCommon(),
IssuerId(src.IssuerId),
PSNOnlineIDs(src.PSNOnlineIDs)
{}

~GetPlayFabIDsFromPSNOnlineIDsRequest() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilP(input["IssuerId"], IssuerId);
FromJsonUtilS(input["PSNOnlineIDs"], PSNOnlineIDs);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_IssuerId; ToJsonUtilP(IssuerId, each_IssuerId); output["IssuerId"] = each_IssuerId;
Json::Value each_PSNOnlineIDs; ToJsonUtilS(PSNOnlineIDs, each_PSNOnlineIDs); output["PSNOnlineIDs"] = each_PSNOnlineIDs;
return output;
}
};

struct PSNOnlinePlayFabIdPair : public PlayFabBaseModel
{
std::string PlayFabId;
std::string PSNOnlineId;

PSNOnlinePlayFabIdPair() :
PlayFabBaseModel(),
PlayFabId(),
PSNOnlineId()
{}

PSNOnlinePlayFabIdPair(const PSNOnlinePlayFabIdPair& src) :
PlayFabBaseModel(),
PlayFabId(src.PlayFabId),
PSNOnlineId(src.PSNOnlineId)
{}

~PSNOnlinePlayFabIdPair() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilS(input["PlayFabId"], PlayFabId);
FromJsonUtilS(input["PSNOnlineId"], PSNOnlineId);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_PlayFabId; ToJsonUtilS(PlayFabId, each_PlayFabId); output["PlayFabId"] = each_PlayFabId;
Json::Value each_PSNOnlineId; ToJsonUtilS(PSNOnlineId, each_PSNOnlineId); output["PSNOnlineId"] = each_PSNOnlineId;
return output;
}
};

struct GetPlayFabIDsFromPSNOnlineIDsResult : public PlayFabResultCommon
{
std::list<PSNOnlinePlayFabIdPair> Data;

GetPlayFabIDsFromPSNOnlineIDsResult() :
PlayFabResultCommon(),
Data()
{}

GetPlayFabIDsFromPSNOnlineIDsResult(const GetPlayFabIDsFromPSNOnlineIDsResult& src) :
PlayFabResultCommon(),
Data(src.Data)
{}

~GetPlayFabIDsFromPSNOnlineIDsResult() = default;

void FromJson(const Json::Value& input) override
{
FromJsonUtilO(input["Data"], Data);
}

Json::Value ToJson() const override
{
Json::Value output;
Json::Value each_Data; ToJsonUtilO(Data, each_Data); output["Data"] = each_Data;
return output;
}
};

struct GetPlayFabIDsFromSteamIDsRequest : public PlayFabRequestCommon
{
std::list<std::string> SteamStringIDs;
Expand Down
2 changes: 2 additions & 0 deletions code/include/playfab/PlayFabServerInstanceApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ namespace PlayFab
void GetPlayFabIDsFromNintendoServiceAccountIds(ServerModels::GetPlayFabIDsFromNintendoServiceAccountIdsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromNintendoServiceAccountIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromNintendoSwitchDeviceIds(ServerModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromNintendoSwitchDeviceIdsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromPSNAccountIDs(ServerModels::GetPlayFabIDsFromPSNAccountIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromPSNAccountIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromPSNOnlineIDs(ServerModels::GetPlayFabIDsFromPSNOnlineIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromPSNOnlineIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromSteamIDs(ServerModels::GetPlayFabIDsFromSteamIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromSteamIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromTwitchIDs(ServerModels::GetPlayFabIDsFromTwitchIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromTwitchIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
void GetPlayFabIDsFromXboxLiveIDs(ServerModels::GetPlayFabIDsFromXboxLiveIDsRequest& request, const ProcessApiCallback<ServerModels::GetPlayFabIDsFromXboxLiveIDsResult> callback, const ErrorCallback errorCallback = nullptr, void* customData = nullptr);
Expand Down Expand Up @@ -230,6 +231,7 @@ namespace PlayFab
void OnGetPlayFabIDsFromNintendoServiceAccountIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromNintendoSwitchDeviceIdsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromPSNAccountIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromPSNOnlineIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromSteamIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromTwitchIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
void OnGetPlayFabIDsFromXboxLiveIDsResult(int httpCode, const std::string& result, const std::shared_ptr<CallRequestContainerBase>& reqContainer);
Expand Down
Loading

0 comments on commit 784bec9

Please sign in to comment.