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.

51 lines
1.4 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.IntegratedPlatform
{
/// <summary>
/// Data for the <see cref="IntegratedPlatformOptionsContainer.Add" /> function.
/// </summary>
public struct IntegratedPlatformOptionsContainerAddOptions
{
/// <summary>
/// The integrated platform options to add.
/// </summary>
public Options? Options { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct IntegratedPlatformOptionsContainerAddOptionsInternal : ISettable<IntegratedPlatformOptionsContainerAddOptions>, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_Options;
public Options? Options
{
set
{
Helper.Set<Options, OptionsInternal>(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);
}
}
}