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.
72 lines
2.1 KiB
72 lines
2.1 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Platform
|
|
{
|
|
/// <summary>
|
|
/// Platform RTC options.
|
|
/// </summary>
|
|
public struct WindowsRTCOptions
|
|
{
|
|
/// <summary>
|
|
/// This field is for platform specific initialization if any.
|
|
///
|
|
/// If provided then the structure will be located in <System>/eos_<System>.h.
|
|
/// The structure will be named EOS_<System>_RTCOptions.
|
|
/// </summary>
|
|
public WindowsRTCOptionsPlatformSpecificOptions? PlatformSpecificOptions { get; set; }
|
|
|
|
internal void Set(ref WindowsRTCOptionsInternal other)
|
|
{
|
|
PlatformSpecificOptions = other.PlatformSpecificOptions;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct WindowsRTCOptionsInternal : IGettable<WindowsRTCOptions>, ISettable<WindowsRTCOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_PlatformSpecificOptions;
|
|
|
|
public WindowsRTCOptionsPlatformSpecificOptions? PlatformSpecificOptions
|
|
{
|
|
get
|
|
{
|
|
WindowsRTCOptionsPlatformSpecificOptions? value;
|
|
Helper.Get<WindowsRTCOptionsPlatformSpecificOptionsInternal, WindowsRTCOptionsPlatformSpecificOptions>(m_PlatformSpecificOptions, out value);
|
|
return value;
|
|
}
|
|
|
|
set
|
|
{
|
|
Helper.Set<WindowsRTCOptionsPlatformSpecificOptions, WindowsRTCOptionsPlatformSpecificOptionsInternal>(ref value, ref m_PlatformSpecificOptions);
|
|
}
|
|
}
|
|
|
|
public void Set(ref WindowsRTCOptions other)
|
|
{
|
|
m_ApiVersion = PlatformInterface.RtcoptionsApiLatest;
|
|
PlatformSpecificOptions = other.PlatformSpecificOptions;
|
|
}
|
|
|
|
public void Set(ref WindowsRTCOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = PlatformInterface.RtcoptionsApiLatest;
|
|
PlatformSpecificOptions = other.Value.PlatformSpecificOptions;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_PlatformSpecificOptions);
|
|
}
|
|
|
|
public void Get(out WindowsRTCOptions output)
|
|
{
|
|
output = new WindowsRTCOptions();
|
|
output.Set(ref this);
|
|
}
|
|
}
|
|
}
|