// 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 { /// /// Context that was passed into /// public object ClientData { get; private set; } /// /// True when any portion of the overlay is visible. /// public bool IsVisible { get; private set; } /// /// 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. /// 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; } } } }