mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-11 15:40:46 +00:00
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.UI
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="UIInterface.ReportKeyEvent" /> function.
|
|
/// </summary>
|
|
public class ReportKeyEventOptions
|
|
{
|
|
/// <summary>
|
|
/// The input data pushed to the SDK.
|
|
/// </summary>
|
|
public System.IntPtr PlatformSpecificInputData { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct ReportKeyEventOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_PlatformSpecificInputData;
|
|
|
|
public System.IntPtr PlatformSpecificInputData
|
|
{
|
|
set
|
|
{
|
|
m_PlatformSpecificInputData = value;
|
|
}
|
|
}
|
|
|
|
public void Set(ReportKeyEventOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = UIInterface.ReportkeyeventApiLatest;
|
|
PlatformSpecificInputData = other.PlatformSpecificInputData;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as ReportKeyEventOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_PlatformSpecificInputData);
|
|
}
|
|
}
|
|
} |