// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Platform { /// /// Platform RTC options. /// public class WindowsRTCOptions : ISettable { /// /// This field is for platform specific initialization if any. /// /// If provided then the structure will be located in /eos_.h. /// The structure will be named EOS__RTCOptions. /// public WindowsRTCOptionsPlatformSpecificOptions PlatformSpecificOptions { get; set; } internal void Set(WindowsRTCOptionsInternal? other) { if (other != null) { PlatformSpecificOptions = other.Value.PlatformSpecificOptions; } } public void Set(object other) { Set(other as WindowsRTCOptionsInternal?); } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct WindowsRTCOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_PlatformSpecificOptions; public WindowsRTCOptionsPlatformSpecificOptions PlatformSpecificOptions { get { WindowsRTCOptionsPlatformSpecificOptions value; Helper.TryMarshalGet(m_PlatformSpecificOptions, out value); return value; } set { Helper.TryMarshalSet(ref m_PlatformSpecificOptions, value); } } public void Set(WindowsRTCOptions other) { if (other != null) { m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; PlatformSpecificOptions = other.PlatformSpecificOptions; } } public void Set(object other) { Set(other as WindowsRTCOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_PlatformSpecificOptions); } } }