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.

52 lines
1.4 KiB

// 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.SetToggleFriendsKey" /> function.
/// </summary>
public struct SetToggleFriendsKeyOptions
{
/// <summary>
/// The new key combination which will be used to toggle the friends overlay.
/// The combination can be any set of modifiers and one key.
/// A value of <see cref="KeyCombination.None" /> will cause the key to revert to the default.
/// </summary>
public KeyCombination KeyCombination { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct SetToggleFriendsKeyOptionsInternal : ISettable<SetToggleFriendsKeyOptions>, System.IDisposable
{
private int m_ApiVersion;
private KeyCombination m_KeyCombination;
public KeyCombination KeyCombination
{
set
{
m_KeyCombination = value;
}
}
public void Set(ref SetToggleFriendsKeyOptions other)
{
m_ApiVersion = UIInterface.SettogglefriendskeyApiLatest;
KeyCombination = other.KeyCombination;
}
public void Set(ref SetToggleFriendsKeyOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = UIInterface.SettogglefriendskeyApiLatest;
KeyCombination = other.Value.KeyCombination;
}
}
public void Dispose()
{
}
}
}