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.

63 lines
1.5 KiB

// 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
{
/// <summary>
/// Local user creating / sending a Custom Invite
/// </summary>
public ProductUserId LocalUserId { get; set; }
/// <summary>
/// String payload for the Custom Invite (must be less than <see cref="CustomInvitesInterface.MaxPayloadLength" />)
/// </summary>
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);
}
}
}