// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.CustomInvites { /// /// Input parameters for the function. /// public class SendCustomInviteOptions { /// /// Local user sending a CustomInvite /// public ProductUserId LocalUserId { get; set; } /// /// Users to whom the invites should be sent /// public ProductUserId[] TargetUserIds { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SendCustomInviteOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_TargetUserIds; private uint m_TargetUserIdsCount; public ProductUserId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public ProductUserId[] TargetUserIds { set { Helper.TryMarshalSet(ref m_TargetUserIds, value, out m_TargetUserIdsCount); } } public void Set(SendCustomInviteOptions other) { if (other != null) { m_ApiVersion = CustomInvitesInterface.SendcustominviteApiLatest; LocalUserId = other.LocalUserId; TargetUserIds = other.TargetUserIds; } } public void Set(object other) { Set(other as SendCustomInviteOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_TargetUserIds); } } }