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.5 KiB
52 lines
1.5 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Sessions
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="SessionDetails.CopySessionAttributeByKey" /> function.
|
|
/// </summary>
|
|
public struct SessionDetailsCopySessionAttributeByKeyOptions
|
|
{
|
|
/// <summary>
|
|
/// The name of the key to get the session attribution for
|
|
/// <seealso cref="SessionModification.AddAttribute" />
|
|
/// </summary>
|
|
public Utf8String AttrKey { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct SessionDetailsCopySessionAttributeByKeyOptionsInternal : ISettable<SessionDetailsCopySessionAttributeByKeyOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_AttrKey;
|
|
|
|
public Utf8String AttrKey
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_AttrKey);
|
|
}
|
|
}
|
|
|
|
public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions other)
|
|
{
|
|
m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest;
|
|
AttrKey = other.AttrKey;
|
|
}
|
|
|
|
public void Set(ref SessionDetailsCopySessionAttributeByKeyOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = SessionDetails.SessiondetailsCopysessionattributebykeyApiLatest;
|
|
AttrKey = other.Value.AttrKey;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_AttrKey);
|
|
}
|
|
}
|
|
}
|