// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Sessions
{
///
/// Input parameters for the function.
///
public struct SessionModificationSetInvitesAllowedOptions
{
///
/// If true then invites can currently be sent for the associated session
///
public bool InvitesAllowed { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct SessionModificationSetInvitesAllowedOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private int m_InvitesAllowed;
public bool InvitesAllowed
{
set
{
Helper.Set(value, ref m_InvitesAllowed);
}
}
public void Set(ref SessionModificationSetInvitesAllowedOptions other)
{
m_ApiVersion = SessionModification.SessionmodificationSetinvitesallowedApiLatest;
InvitesAllowed = other.InvitesAllowed;
}
public void Set(ref SessionModificationSetInvitesAllowedOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = SessionModification.SessionmodificationSetinvitesallowedApiLatest;
InvitesAllowed = other.Value.InvitesAllowed;
}
}
public void Dispose()
{
}
}
}