You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.AntiCheatClient
|
|
{
|
|
public struct ReceiveMessageFromServerOptions
|
|
{
|
|
/// <summary>
|
|
/// The data received
|
|
/// </summary>
|
|
public System.ArraySegment<byte> Data { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct ReceiveMessageFromServerOptionsInternal : ISettable<ReceiveMessageFromServerOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private uint m_DataLengthBytes;
|
|
private System.IntPtr m_Data;
|
|
|
|
public System.ArraySegment<byte> Data
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_Data, out m_DataLengthBytes);
|
|
}
|
|
}
|
|
|
|
public void Set(ref ReceiveMessageFromServerOptions other)
|
|
{
|
|
m_ApiVersion = AntiCheatClientInterface.ReceivemessagefromserverApiLatest;
|
|
Data = other.Data;
|
|
}
|
|
|
|
public void Set(ref ReceiveMessageFromServerOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = AntiCheatClientInterface.ReceivemessagefromserverApiLatest;
|
|
Data = other.Value.Data;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_Data);
|
|
}
|
|
}
|
|
}
|