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.
126 lines
2.7 KiB
126 lines
2.7 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.CustomInvites
|
|
{
|
|
/// <summary>
|
|
/// Output parameters for the <see cref="OnCustomInviteAcceptedCallback" /> Function.
|
|
/// </summary>
|
|
public class OnCustomInviteAcceptedCallbackInfo : ICallbackInfo, ISettable
|
|
{
|
|
/// <summary>
|
|
/// Context that was passed into <see cref="CustomInvitesInterface.AddNotifyCustomInviteAccepted" />
|
|
/// </summary>
|
|
public object ClientData { get; private set; }
|
|
|
|
/// <summary>
|
|
/// User that sent the custom invite
|
|
/// </summary>
|
|
public ProductUserId TargetUserId { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Recipient Local user id
|
|
/// </summary>
|
|
public ProductUserId LocalUserId { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Id of the accepted Custom Invite
|
|
/// </summary>
|
|
public string CustomInviteId { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Payload of the accepted Custom Invite
|
|
/// </summary>
|
|
public string Payload { get; private set; }
|
|
|
|
public Result? GetResultCode()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
internal void Set(OnCustomInviteAcceptedCallbackInfoInternal? other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
ClientData = other.Value.ClientData;
|
|
TargetUserId = other.Value.TargetUserId;
|
|
LocalUserId = other.Value.LocalUserId;
|
|
CustomInviteId = other.Value.CustomInviteId;
|
|
Payload = other.Value.Payload;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as OnCustomInviteAcceptedCallbackInfoInternal?);
|
|
}
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct OnCustomInviteAcceptedCallbackInfoInternal : ICallbackInfoInternal
|
|
{
|
|
private System.IntPtr m_ClientData;
|
|
private System.IntPtr m_TargetUserId;
|
|
private System.IntPtr m_LocalUserId;
|
|
private System.IntPtr m_CustomInviteId;
|
|
private System.IntPtr m_Payload;
|
|
|
|
public object ClientData
|
|
{
|
|
get
|
|
{
|
|
object value;
|
|
Helper.TryMarshalGet(m_ClientData, out value);
|
|
return value;
|
|
}
|
|
}
|
|
|
|
public System.IntPtr ClientDataAddress
|
|
{
|
|
get
|
|
{
|
|
return m_ClientData;
|
|
}
|
|
}
|
|
|
|
public ProductUserId TargetUserId
|
|
{
|
|
get
|
|
{
|
|
ProductUserId value;
|
|
Helper.TryMarshalGet(m_TargetUserId, out value);
|
|
return value;
|
|
}
|
|
}
|
|
|
|
public ProductUserId LocalUserId
|
|
{
|
|
get
|
|
{
|
|
ProductUserId value;
|
|
Helper.TryMarshalGet(m_LocalUserId, out value);
|
|
return value;
|
|
}
|
|
}
|
|
|
|
public string CustomInviteId
|
|
{
|
|
get
|
|
{
|
|
string value;
|
|
Helper.TryMarshalGet(m_CustomInviteId, out value);
|
|
return value;
|
|
}
|
|
}
|
|
|
|
public string Payload
|
|
{
|
|
get
|
|
{
|
|
string value;
|
|
Helper.TryMarshalGet(m_Payload, out value);
|
|
return value;
|
|
}
|
|
}
|
|
}
|
|
}
|