EOS_PlayerDataStorageFileTransferRequest_GetFilename

EOS API reference page for EOS_PlayerDataStorageFileTransferRequest_GetFilename

Choose your implementation method:

C

C#

This function is part of the PlayerDataStorage Interface.

Remarks

Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not NULL.

Return Value

EOS_Success if the file name was successfully written to OutFilenameBuffer, a failure result otherwise

See Also

EOS_PLAYERDATASTORAGE_FILENAME_MAX_LENGTH_BYTES

Parameters

EOS_PlayerDataStorageFileTransferRequest_GetFilename

Parameter Type And Name

Usage Information

EOS_HPlayerDataStorageFileTransferRequest Handle

uint32_t FilenameStringBufferSizeBytes

The maximum number of bytes that can be written to OutStringBuffer

char* OutStringBuffer

The buffer to write the NULL-terminated utf8 file name into, if successful

int32_t* OutStringLength

How long the file name is (not including null terminator)

This function is part of the PlayerDataStorage Interface.

Remarks

Get the file name of the file this request is for. OutStringLength will always be set to the string length of the file name if it is not NULL.

Return Value

{Result.Success} if the file name was successfully written to OutFilenameBuffer, a failure result otherwise

See Also

{PlayerDataStorageInterface.FilenameMaxLengthBytes}

Parameters

PlayerDataStorage.PlayerDataStorageFileTransferRequest.GetFilename

Parameter Type And Name

Usage Information

string outStringBuffer

The buffer to write the NULL-terminated utf8 file name into, if successful