EOS_PlayerDataStorage_WriteFileOptions

EOS API reference page for EOS_PlayerDataStorage_WriteFileOptions

1분 소요

This data structure is part of the PlayerDataStorage Interface.

Remarks

Input data for the EOS_PlayerDataStorage_WriteFile function

Properties

EOS_PlayerDataStorage_WriteFileOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_PLAYERDATASTORAGE_WRITEFILE_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who is writing the requested file to the cloud
const char* FilenameThe name of the file to write; if this file already exists, the contents will be replaced if the write request completes successfully
uint32_t ChunkLengthBytesRequested maximum amount of data (in bytes) that can be written to the file per tick
EOS_PlayerDataStorage_OnWriteFileDataCallback WriteFileDataCallbackCallback function that provides chunks of data to be written into the requested file
EOS_PlayerDataStorage_OnFileTransferProgressCallback FileTransferProgressCallbackOptional callback function to inform the application of upload progress; will be called at least once if set