public void Set(ReadFileOptions other) { if (other != null) { m_ApiVersion = TitleStorageInterface.ReadfileoptionsApiLatest; LocalUserId = other.LocalUserId; Filename = other.Filename; ReadChunkLengthBytes = other.ReadChunkLengthBytes; m_ReadFileDataCallback = other.ReadFileDataCallback != null ? ReadFileDataCallback : null; m_FileTransferProgressCallback = other.FileTransferProgressCallback != null ? FileTransferProgressCallback : null; } }
public void Initialize() { m_ReadFileDataCallback = new OnReadFileDataCallbackInternal(PlayerDataStorageInterface.OnReadFileData); m_FileTransferProgressCallback = new OnFileTransferProgressCallbackInternal(PlayerDataStorageInterface.OnFileTransferProgress); }