// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.PlayerDataStorage { /// /// Callback for when we are ready to get more data to be written into the requested file. It is undefined how often this will be called during a single tick. /// /// Struct containing metadata for the file being written to, as well as the max length in bytes that can be safely written to DataBuffer /// A buffer to write data into, to be appended to the end of the file that is being written to. The maximum length of this value is provided in the Info parameter. The number of bytes written to this buffer should be set in OutDataWritten. /// The length of the data written to OutDataBuffer. This must be less than or equal than the DataBufferLengthBytes provided in the Info parameter /// /// The result of the write operation. If this value is not , this callback will not be called again for the same request. If this is set to or , all data written during the request will not be saved /// public delegate WriteResult OnWriteFileDataCallback(WriteFileDataCallbackInfo data, out byte[] outDataBuffer); [System.Runtime.InteropServices.UnmanagedFunctionPointer(Config.LibraryCallingConvention)] internal delegate WriteResult OnWriteFileDataCallbackInternal(System.IntPtr data, System.IntPtr outDataBuffer, ref uint outDataWritten); }