// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.CustomInvites { public class SetCustomInviteOptions { /// /// Local user creating / sending a Custom Invite /// public ProductUserId LocalUserId { get; set; } /// /// String payload for the Custom Invite (must be less than ) /// public string Payload { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SetCustomInviteOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_Payload; public ProductUserId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public string Payload { set { Helper.TryMarshalSet(ref m_Payload, value); } } public void Set(SetCustomInviteOptions other) { if (other != null) { m_ApiVersion = CustomInvitesInterface.SetcustominviteApiLatest; LocalUserId = other.LocalUserId; Payload = other.Payload; } } public void Set(object other) { Set(other as SetCustomInviteOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_Payload); } } }