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.

67 lines
1.7 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Lobby
{
/// <summary>
/// Input parameters for the <see cref="LobbyDetails.CopyMemberAttributeByIndex" /> function.
/// </summary>
public struct LobbyDetailsCopyMemberAttributeByIndexOptions
{
/// <summary>
/// The Product User ID of the lobby member
/// </summary>
public ProductUserId TargetUserId { get; set; }
/// <summary>
/// The index of the attribute to copy
/// </summary>
public uint AttrIndex { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct LobbyDetailsCopyMemberAttributeByIndexOptionsInternal : ISettable<LobbyDetailsCopyMemberAttributeByIndexOptions>, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private uint m_AttrIndex;
public ProductUserId TargetUserId
{
set
{
Helper.Set(value, ref m_TargetUserId);
}
}
public uint AttrIndex
{
set
{
m_AttrIndex = value;
}
}
public void Set(ref LobbyDetailsCopyMemberAttributeByIndexOptions other)
{
m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest;
TargetUserId = other.TargetUserId;
AttrIndex = other.AttrIndex;
}
public void Set(ref LobbyDetailsCopyMemberAttributeByIndexOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = LobbyDetails.LobbydetailsCopymemberattributebyindexApiLatest;
TargetUserId = other.Value.TargetUserId;
AttrIndex = other.Value.AttrIndex;
}
}
public void Dispose()
{
Helper.Dispose(ref m_TargetUserId);
}
}
}