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.

90 lines
2.0 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.UI
{
public class OnDisplaySettingsUpdatedCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// Context that was passed into <see cref="UIInterface.AddNotifyDisplaySettingsUpdated" />
/// </summary>
public object ClientData { get; private set; }
/// <summary>
/// True when any portion of the overlay is visible.
/// </summary>
public bool IsVisible { get; private set; }
/// <summary>
/// True when the overlay has switched to exclusive input mode.
/// While in exclusive input mode, no keyboard or mouse input will be sent to the game.
/// </summary>
public bool IsExclusiveInput { get; private set; }
public Result? GetResultCode()
{
return null;
}
internal void Set(OnDisplaySettingsUpdatedCallbackInfoInternal? other)
{
if (other != null)
{
ClientData = other.Value.ClientData;
IsVisible = other.Value.IsVisible;
IsExclusiveInput = other.Value.IsExclusiveInput;
}
}
public void Set(object other)
{
Set(other as OnDisplaySettingsUpdatedCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct OnDisplaySettingsUpdatedCallbackInfoInternal : ICallbackInfoInternal
{
private System.IntPtr m_ClientData;
private int m_IsVisible;
private int m_IsExclusiveInput;
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public bool IsVisible
{
get
{
bool value;
Helper.TryMarshalGet(m_IsVisible, out value);
return value;
}
}
public bool IsExclusiveInput
{
get
{
bool value;
Helper.TryMarshalGet(m_IsExclusiveInput, out value);
return value;
}
}
}
}