EOS_PlayerDataStorage_WriteFileOptions

EOS API reference page for EOS_PlayerDataStorage_WriteFileOptions

Choose your implementation method:

C

C#

This data structure is part of the [PlayerDataStorage Interface](Interfaces/PlayerDataStorage).

Remarks

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

Related API Members

This data structure is part of the [PlayerDataStorage Interface](Interfaces/PlayerDataStorage).

Remarks

Input data for the EOS_PlayerDataStorage_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

Related API Members