// 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 struct RTCOptions { /// /// 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 System.IntPtr PlatformSpecificOptions { get; set; } internal void Set(ref RTCOptionsInternal other) { PlatformSpecificOptions = other.PlatformSpecificOptions; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct RTCOptionsInternal : IGettable, ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_PlatformSpecificOptions; public System.IntPtr PlatformSpecificOptions { get { return m_PlatformSpecificOptions; } set { m_PlatformSpecificOptions = value; } } public void Set(ref RTCOptions other) { m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; PlatformSpecificOptions = other.PlatformSpecificOptions; } public void Set(ref RTCOptions? other) { if (other.HasValue) { m_ApiVersion = PlatformInterface.RtcoptionsApiLatest; PlatformSpecificOptions = other.Value.PlatformSpecificOptions; } } public void Dispose() { Helper.Dispose(ref m_PlatformSpecificOptions); } public void Get(out RTCOptions output) { output = new RTCOptions(); output.Set(ref this); } } }