Choose your implementation method:
This data structure is part of the PlayerDataStorage Interface.
Input data for the EOS_PlayerDataStorage_WriteFile function
Properties
EOS_PlayerDataStorage_WriteFileOptions
Property
|
Value
|
int32_t ApiVersion
|
API Version: Set this to EOS_PLAYERDATASTORAGE_WRITEFILEOPTIONS_API_LATEST.
|
EOS_ProductUserId LocalUserId
|
The Product User ID of the local user who is writing the requested file to the cloud
|
const char* Filename
|
The name of the file to write; if this file already exists, the contents will be replaced if the write request completes successfully
|
uint32_t ChunkLengthBytes
|
Requested maximum amount of data (in bytes) that can be written to the file per tick
|
EOS_PlayerDataStorage_OnWriteFileDataCallback WriteFileDataCallback
|
Callback function that provides chunks of data to be written into the requested file
|
EOS_PlayerDataStorage_OnFileTransferProgressCallback FileTransferProgressCallback
|
Optional callback function to inform the application of upload progress; will be called at least once if set
|
This data structure is part of the PlayerDataStorage Interface.
Input data for the {PlayerDataStorageInterface.WriteFile} function
Properties
PlayerDataStorage.WriteFileOptions
Property
|
Value
|
int ApiVersion
|
API Version: Set this to EOS_PLAYERDATASTORAGE_WRITEFILEOPTIONS_API_LATEST.
|
ProductUserId LocalUserId
|
The Product User ID of the local user who is writing the requested file to the cloud
|
string Filename
|
The name of the file to write; if this file already exists, the contents will be replaced if the write request completes successfully
|
uint ChunkLengthBytes
|
Requested maximum amount of data (in bytes) that can be written to the file per tick
|
OnWriteFileDataCallback WriteFileDataCallback
|
Callback function that provides chunks of data to be written into the requested file
|
OnFileTransferProgressCallback FileTransferProgressCallback
|
Optional callback function to inform the application of upload progress; will be called at least once if set
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no