// 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 class SendInviteOptions { /// /// Name of the session associated with the invite /// public string SessionName { get; set; } /// /// The Product User ID of the local user sending the invitation /// public ProductUserId LocalUserId { get; set; } /// /// The Product User of the remote user receiving the invitation /// public ProductUserId TargetUserId { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SendInviteOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_SessionName; private System.IntPtr m_LocalUserId; private System.IntPtr m_TargetUserId; public string SessionName { set { Helper.TryMarshalSet(ref m_SessionName, value); } } public ProductUserId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public ProductUserId TargetUserId { set { Helper.TryMarshalSet(ref m_TargetUserId, value); } } public void Set(SendInviteOptions other) { if (other != null) { m_ApiVersion = SessionsInterface.SendinviteApiLatest; SessionName = other.SessionName; LocalUserId = other.LocalUserId; TargetUserId = other.TargetUserId; } } public void Set(object other) { Set(other as SendInviteOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_SessionName); Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_TargetUserId); } } }