Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Update SDK to v1.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lucoiso committed Feb 6, 2023
1 parent a9b51e7 commit 6c81fbc
Show file tree
Hide file tree
Showing 16 changed files with 147 additions and 53 deletions.
Binary file modified Source/EOSSDKHandler/EOS/SDK/Bin/EOSSDK-Win32-Shipping.dll
Binary file not shown.
Binary file modified Source/EOSSDKHandler/EOS/SDK/Bin/EOSSDK-Win64-Shipping.dll
Binary file not shown.
Binary file modified Source/EOSSDKHandler/EOS/SDK/Bin/libEOSSDK-Linux-Shipping.so
Binary file not shown.
Binary file modified Source/EOSSDKHandler/EOS/SDK/Bin/libEOSSDK-Mac-Shipping.dylib
Binary file not shown.
1 change: 1 addition & 0 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_anticheatclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ EOS_DECLARE_FUNC(EOS_EResult) EOS_AntiCheatClient_AddExternalIntegrityCatalog(EO
*
* @return EOS_Success - If the message was processed successfully
* EOS_InvalidParameters - If input data was invalid
* EOS_InvalidRequest - If message contents were corrupt and could not be processed
* EOS_AntiCheat_InvalidMode - If the current mode does not support this function
*/
EOS_DECLARE_FUNC(EOS_EResult) EOS_AntiCheatClient_ReceiveMessageFromServer(EOS_HAntiCheatClient Handle, const EOS_AntiCheatClient_ReceiveMessageFromServerOptions* Options);
Expand Down
1 change: 1 addition & 0 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_anticheatserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ EOS_DECLARE_FUNC(EOS_EResult) EOS_AntiCheatServer_UnregisterClient(EOS_HAntiChea
*
* @return EOS_Success - If the message was processed successfully
* EOS_InvalidParameters - If input data was invalid
* EOS_InvalidRequest - If message contents were corrupt and could not be processed
*/
EOS_DECLARE_FUNC(EOS_EResult) EOS_AntiCheatServer_ReceiveMessageFromClient(EOS_HAntiCheatServer Handle, const EOS_AntiCheatServer_ReceiveMessageFromClientOptions* Options);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ EOS_STRUCT(EOS_AntiCheatServer_EndSessionOptions, (
int32_t ApiVersion;
));

#define EOS_ANTICHEATSERVER_REGISTERCLIENT_API_LATEST 1
#define EOS_ANTICHEATSERVER_REGISTERCLIENT_API_LATEST 2
EOS_STRUCT(EOS_AntiCheatServer_RegisterClientOptions, (
/** API Version: Set this to EOS_ANTICHEATSERVER_REGISTERCLIENT_API_LATEST. */
int32_t ApiVersion;
Expand All @@ -90,18 +90,22 @@ EOS_STRUCT(EOS_AntiCheatServer_RegisterClientOptions, (
/** Remote user's platform, if known */
EOS_EAntiCheatCommonClientPlatform ClientPlatform;
/**
* DEPRECATED - New code should set this to null and specify UserId instead.
*
* Identifier for the remote user. This is typically a string representation of an
* account ID, but it can be any string which is both unique (two different users will never
* have the same string) and consistent (if the same user connects to this game session
* twice, the same string will be used) in the scope of a single protected game session.
*/
const char* AccountId;
const char* AccountId_DEPRECATED;
/**
* Optional IP address for the remote user. May be null if not available.
* IPv4 format: "0.0.0.0"
* IPv6 format: "0:0:0:0:0:0:0:0"
*/
const char* IpAddress;
/** The Product User ID for the remote user who is being registered. */
EOS_ProductUserId UserId;
));

#define EOS_ANTICHEATSERVER_UNREGISTERCLIENT_API_LATEST 1
Expand Down
11 changes: 11 additions & 0 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_ecom.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ EOS_DECLARE_FUNC(void) EOS_Ecom_QueryOwnershipToken(EOS_HEcom Handle, const EOS_
*/
EOS_DECLARE_FUNC(void) EOS_Ecom_QueryEntitlements(EOS_HEcom Handle, const EOS_Ecom_QueryEntitlementsOptions* Options, void* ClientData, const EOS_Ecom_OnQueryEntitlementsCallback CompletionDelegate);

/**
* Query the entitlement verification status defined with Epic Online Services.
* An optional set of entitlement names can be provided to filter the set of entitlements associated with the account.
* The data is return via the callback in the form of a signed JWT that should be verified by an external backend server using a public key for authenticity.
*
* @param Options structure containing the account and catalog item IDs to retrieve in token form
* @param ClientData arbitrary data that is passed back to you in the CompletionDelegate
* @param CompletionDelegate a callback that is fired when the async operation completes, either successfully or in error
*/
EOS_DECLARE_FUNC(void) EOS_Ecom_QueryEntitlementToken(EOS_HEcom Handle, const EOS_Ecom_QueryEntitlementTokenOptions* Options, void* ClientData, const EOS_Ecom_OnQueryEntitlementTokenCallback CompletionDelegate);

/**
* Query for a list of catalog offers defined with Epic Online Services.
* This data will be cached for a limited time and retrieved again from the backend when necessary.
Expand Down
39 changes: 39 additions & 0 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_ecom_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,45 @@ EOS_STRUCT(EOS_Ecom_QueryEntitlementsCallbackInfo, (
*/
EOS_DECLARE_CALLBACK(EOS_Ecom_OnQueryEntitlementsCallback, const EOS_Ecom_QueryEntitlementsCallbackInfo* Data);

/** The most recent version of the EOS_Ecom_QueryEntitlementToken API. */
#define EOS_ECOM_QUERYENTITLEMENTTOKEN_API_LATEST 1

/** The maximum number of entitlements that may be queried in a single pass. */
#define EOS_ECOM_QUERYENTITLEMENTTOKEN_MAX_ENTITLEMENT_IDS 32

/**
* Input parameters for the EOS_Ecom_QueryEntitlementToken function.
*/
EOS_STRUCT(EOS_Ecom_QueryEntitlementTokenOptions, (
/** API Version: Set this to EOS_ECOM_QUERYENTITLEMENTTOKEN_API_LATEST. */
int32_t ApiVersion;
/** The Epic Account ID of the local user whose Entitlements you want to retrieve */
EOS_EpicAccountId LocalUserId;
/** An array of Entitlement Names that you want to check */
EOS_Ecom_EntitlementName* EntitlementNames;
/** The number of Entitlement Names included in the array, up to EOS_ECOM_QUERYENTITLEMENTTOKEN_MAX_ENTITLEMENT_IDS; use zero to request all Entitlements associated with the user's Epic Online Services account. */
uint32_t EntitlementNameCount;
));

/**
* Output parameters for the EOS_Ecom_QueryEntitlementToken Function.
*/
EOS_STRUCT(EOS_Ecom_QueryEntitlementTokenCallbackInfo, (
/** The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors. */
EOS_EResult ResultCode;
/** Context that was passed into EOS_Ecom_QueryEntitlementToken */
void* ClientData;
/** The Epic Account ID of the local user whose entitlement was queried */
EOS_EpicAccountId LocalUserId;
/** Entitlements token containing details about the catalog items queried */
const char* EntitlementToken;
));

/**
* Function prototype definition for callbacks passed to EOS_Ecom_QueryEntitlementToken.
* @param Data A EOS_Ecom_QueryEntitlementTokenCallbackInfo containing the output information and result.
*/
EOS_DECLARE_CALLBACK(EOS_Ecom_OnQueryEntitlementTokenCallback, const EOS_Ecom_QueryEntitlementTokenCallbackInfo* Data);

/** The most recent version of the EOS_Ecom_QueryOffers API. */
#define EOS_ECOM_QUERYOFFERS_API_LATEST 1
Expand Down
78 changes: 50 additions & 28 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_playerdatastorage_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_FileMetadata, (
*/
EOS_DECLARE_FUNC(void) EOS_PlayerDataStorage_FileMetadata_Release(EOS_PlayerDataStorage_FileMetadata* FileMetadata);


#define EOS_PLAYERDATASTORAGE_QUERYFILEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_QueryFile API. */
#define EOS_PLAYERDATASTORAGE_QUERYFILE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_QUERYFILEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_QUERYFILE_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_QueryFile function
*/
EOS_STRUCT(EOS_PlayerDataStorage_QueryFileOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_QUERYFILEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_QUERYFILE_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user requesting file metadata */
EOS_ProductUserId LocalUserId;
Expand All @@ -70,14 +72,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_QueryFileCallbackInfo, (
*/
EOS_DECLARE_CALLBACK(EOS_PlayerDataStorage_OnQueryFileCompleteCallback, const EOS_PlayerDataStorage_QueryFileCallbackInfo* Data);


#define EOS_PLAYERDATASTORAGE_QUERYFILELISTOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_QueryFileList API. */
#define EOS_PLAYERDATASTORAGE_QUERYFILELIST_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_QUERYFILELISTOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_QUERYFILELIST_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_QueryFileList function
*/
EOS_STRUCT(EOS_PlayerDataStorage_QueryFileListOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_QUERYFILELISTOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_QUERYFILELIST_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who requested file metadata */
EOS_ProductUserId LocalUserId;
Expand All @@ -101,57 +105,65 @@ EOS_STRUCT(EOS_PlayerDataStorage_QueryFileListCallbackInfo, (
*/
EOS_DECLARE_CALLBACK(EOS_PlayerDataStorage_OnQueryFileListCompleteCallback, const EOS_PlayerDataStorage_QueryFileListCallbackInfo* Data);


#define EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNTOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_GetFileMetadataCount API. */
#define EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNT_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNTOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNT_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_GetFileMetadataCount function
*/
EOS_STRUCT(EOS_PlayerDataStorage_GetFileMetadataCountOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNTOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_GETFILEMETADATACOUNT_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is requesting file metadata */
EOS_ProductUserId LocalUserId;
));


#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEXOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_CopyFileMetadataAtIndex API. */
#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEX_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEXOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEX_API_LATEST

/**
* Input data for the CopyFileMetadataAtIndex function
*/
EOS_STRUCT(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEXOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_COPYFILEMETADATAATINDEX_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is requesting file metadata */
EOS_ProductUserId LocalUserId;
/** The index to get data for */
uint32_t Index;
));


#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAMEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_CopyFileMetadataByFilename API. */
#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAME_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAMEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAME_API_LATEST

/**
* Input data for the CopyFileMetadataByFilename function
*/
EOS_STRUCT(EOS_PlayerDataStorage_CopyFileMetadataByFilenameOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAMEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_COPYFILEMETADATABYFILENAME_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is requesting file metadata */
EOS_ProductUserId LocalUserId;
/** The file's name to get data for */
const char* Filename;
));


#define EOS_PLAYERDATASTORAGE_DUPLICATEFILEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_DuplicateFile API. */
#define EOS_PLAYERDATASTORAGE_DUPLICATEFILE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_DUPLICATEFILEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_DUPLICATEFILE_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_DuplicateFile function
*/
EOS_STRUCT(EOS_PlayerDataStorage_DuplicateFileOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DUPLICATEFILEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DUPLICATEFILE_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who authorized the duplication of the requested file; must be the original file's owner */
EOS_ProductUserId LocalUserId;
Expand All @@ -178,14 +190,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_DuplicateFileCallbackInfo, (
*/
EOS_DECLARE_CALLBACK(EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback, const EOS_PlayerDataStorage_DuplicateFileCallbackInfo* Data);


#define EOS_PLAYERDATASTORAGE_DELETEFILEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_DeleteFile API. */
#define EOS_PLAYERDATASTORAGE_DELETEFILE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_DELETEFILEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_DELETEFILE_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_DeleteFile function
*/
EOS_STRUCT(EOS_PlayerDataStorage_DeleteFileOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DELETEFILEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DELETEFILE_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who authorizes deletion of the file; must be the file's owner */
EOS_ProductUserId LocalUserId;
Expand Down Expand Up @@ -283,13 +297,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_ReadFileDataCallbackInfo, (
*/
EOS_DECLARE_CALLBACK_RETVALUE(EOS_PlayerDataStorage_EReadResult, EOS_PlayerDataStorage_OnReadFileDataCallback, const EOS_PlayerDataStorage_ReadFileDataCallbackInfo* Data);

#define EOS_PLAYERDATASTORAGE_READFILEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_ReadFile API. */
#define EOS_PLAYERDATASTORAGE_READFILE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_READFILEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_READFILE_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_ReadFile function
*/
EOS_STRUCT(EOS_PlayerDataStorage_ReadFileOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_READFILEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_READFILE_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is reading the requested file */
EOS_ProductUserId LocalUserId;
Expand Down Expand Up @@ -374,13 +391,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_WriteFileDataCallbackInfo, (
*/
EOS_DECLARE_CALLBACK_RETVALUE(EOS_PlayerDataStorage_EWriteResult, EOS_PlayerDataStorage_OnWriteFileDataCallback, const EOS_PlayerDataStorage_WriteFileDataCallbackInfo* Data, void* OutDataBuffer, uint32_t* OutDataWritten);

#define EOS_PLAYERDATASTORAGE_WRITEFILEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_WriteFile API. */
#define EOS_PLAYERDATASTORAGE_WRITEFILE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_WRITEFILEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_WRITEFILE_API_LATEST

/**
* Input data for the EOS_PlayerDataStorage_WriteFile function
*/
EOS_STRUCT(EOS_PlayerDataStorage_WriteFileOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_WRITEFILEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_WRITEFILE_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is writing the requested file to the cloud */
EOS_ProductUserId LocalUserId;
Expand Down Expand Up @@ -424,14 +444,16 @@ EOS_STRUCT(EOS_PlayerDataStorage_WriteFileCallbackInfo, (
*/
EOS_DECLARE_CALLBACK(EOS_PlayerDataStorage_OnWriteFileCompleteCallback, const EOS_PlayerDataStorage_WriteFileCallbackInfo* Data);

/** The most recent version of the EOS_PlayerDataStorage_DeleteCacheOptions API. */
#define EOS_PLAYERDATASTORAGE_DELETECACHEOPTIONS_API_LATEST 1
/** The most recent version of the EOS_PlayerDataStorage_DeleteCache API. */
#define EOS_PLAYERDATASTORAGE_DELETECACHE_API_LATEST 1
// For backward compatibility. Please use the value above as this will be removed in a later version
#define EOS_PLAYERDATASTORAGE_DELETECACHEOPTIONS_API_LATEST EOS_PLAYERDATASTORAGE_DELETECACHE_API_LATEST

/**
* Input data for the EOS_TitleStorage_DeleteCache function
*/
EOS_STRUCT(EOS_PlayerDataStorage_DeleteCacheOptions, (
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DELETECACHEOPTIONS_API_LATEST. */
/** API Version: Set this to EOS_PLAYERDATASTORAGE_DELETECACHE_API_LATEST. */
int32_t ApiVersion;
/** Product User ID of the local user who is deleting his cache */
EOS_ProductUserId LocalUserId;
Expand Down
1 change: 1 addition & 0 deletions Source/EOSSDKHandler/EOS/SDK/Include/eos_sessions.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ EOS_DECLARE_FUNC(EOS_EResult) EOS_Sessions_UpdateSessionModification(EOS_HSessio
* EOS_InvalidParameters if any of the options are incorrect
* EOS_Sessions_OutOfSync if the session is out of sync and will be updated on the next connection with the backend
* EOS_NotFound if a session to be updated does not exist
* EOS_LimitExceeded if a new session cannot be created because doing so would exceed the maximum allowed concurrent session count
*/
EOS_DECLARE_FUNC(void) EOS_Sessions_UpdateSession(EOS_HSessions Handle, const EOS_Sessions_UpdateSessionOptions* Options, void* ClientData, const EOS_Sessions_OnUpdateSessionCallback CompletionDelegate);

Expand Down
2 changes: 1 addition & 1 deletion Source/EOSSDKHandler/EOS/SDK/Include/eos_sessions_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ EOS_STRUCT(EOS_SessionSearch_SetMaxResultsOptions, (
* Input parameters for the EOS_SessionSearch_Find function.
*/
EOS_STRUCT(EOS_SessionSearch_FindOptions, (
/** API Version: Set this to EOS_SESSIONDETAILS_SETTINGS_API_LATEST. */
/** API Version: Set this to EOS_SESSIONSEARCH_FIND_API_LATEST. */
int32_t ApiVersion;
/** The Product User ID of the local user who is searching */
EOS_ProductUserId LocalUserId;
Expand Down
Loading

0 comments on commit 6c81fbc

Please sign in to comment.