// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.UI { /// /// Input parameters for the EOS_UI_ReportKeyEvent function. /// public struct ReportKeyEventOptions { /// /// The input data pushed to the SDK. /// public System.IntPtr PlatformSpecificInputData { get; set; } internal void Set(ref ReportKeyEventOptionsInternal other) { PlatformSpecificInputData = other.PlatformSpecificInputData; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct ReportKeyEventOptionsInternal : IGettable, ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_PlatformSpecificInputData; public System.IntPtr PlatformSpecificInputData { get { return m_PlatformSpecificInputData; } set { m_PlatformSpecificInputData = value; } } public void Set(ref ReportKeyEventOptions other) { m_ApiVersion = UIInterface.ReportkeyeventApiLatest; PlatformSpecificInputData = other.PlatformSpecificInputData; } public void Set(ref ReportKeyEventOptions? other) { if (other.HasValue) { m_ApiVersion = UIInterface.ReportkeyeventApiLatest; PlatformSpecificInputData = other.Value.PlatformSpecificInputData; } } public void Dispose() { Helper.Dispose(ref m_PlatformSpecificInputData); } public void Get(out ReportKeyEventOptions output) { output = new ReportKeyEventOptions(); output.Set(ref this); } } }