EOS_PlayerDataStorage_DuplicateFile

EOS API reference page for EOS_PlayerDataStorage_DuplicateFile

3 분 소요

This function is part of the PlayerDataStorage Interface.

Remarks

Copies the data of an existing file to a new filename. This action happens entirely on the server and will not upload the contents of the source destination file from the host. This function paired with a subsequent EOS_PlayerDataStorage_DeleteFile can be used to rename a file. If successful, the destination file's metadata will be updated in our local cache.

Parameters

EOS_PlayerDataStorage_DuplicateFile

Parameter Type And NameUsage Information
EOS_HPlayerDataStorage Handle
const EOS_PlayerDataStorage_DuplicateFileOptions* DuplicateOptionsObject containing properties related to which user is duplicating the file, and what the source and destination file names are
void* ClientDataOptional pointer to help clients track this request, that is returned in the completion callback
const EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback CompletionCallbackThis function is called when the duplicate operation completes

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback to report the results of its operation.

Callback Remarks

Callback for when EOS_PlayerDataStorage_DuplicateFile completes

Callback Parameters

EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback

Parameter Type And NameUsage Information
const EOS_PlayerDataStorage_DuplicateFileCallbackInfo* Data