// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.IntegratedPlatform
{
///
/// Data for the function.
///
public struct IntegratedPlatformOptionsContainerAddOptions
{
///
/// The integrated platform options to add.
///
public Options? Options { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct IntegratedPlatformOptionsContainerAddOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Options;
public Options? Options
{
set
{
Helper.Set(ref value, ref m_Options);
}
}
public void Set(ref IntegratedPlatformOptionsContainerAddOptions other)
{
m_ApiVersion = IntegratedPlatformOptionsContainer.IntegratedplatformoptionscontainerAddApiLatest;
Options = other.Options;
}
public void Set(ref IntegratedPlatformOptionsContainerAddOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = IntegratedPlatformOptionsContainer.IntegratedplatformoptionscontainerAddApiLatest;
Options = other.Value.Options;
}
}
public void Dispose()
{
Helper.Dispose(ref m_Options);
}
}
}