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.
63 lines
1.3 KiB
63 lines
1.3 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 class UnprotectMessageOptions
|
|
{
|
|
/// <summary>
|
|
/// The data to decrypt
|
|
/// </summary>
|
|
public byte[] Data { get; set; }
|
|
|
|
/// <summary>
|
|
/// The size in bytes of OutBuffer
|
|
/// </summary>
|
|
public uint OutBufferSizeBytes { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct UnprotectMessageOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private uint m_DataLengthBytes;
|
|
private System.IntPtr m_Data;
|
|
private uint m_OutBufferSizeBytes;
|
|
|
|
public byte[] Data
|
|
{
|
|
set
|
|
{
|
|
Helper.TryMarshalSet(ref m_Data, value, out m_DataLengthBytes);
|
|
}
|
|
}
|
|
|
|
public uint OutBufferSizeBytes
|
|
{
|
|
set
|
|
{
|
|
m_OutBufferSizeBytes = value;
|
|
}
|
|
}
|
|
|
|
public void Set(UnprotectMessageOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = AntiCheatClientInterface.UnprotectmessageApiLatest;
|
|
Data = other.Data;
|
|
OutBufferSizeBytes = other.OutBufferSizeBytes;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as UnprotectMessageOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_Data);
|
|
}
|
|
}
|
|
}
|