// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Friends
{
///
/// Input parameters for the function.
///
public class GetStatusOptions
{
///
/// The Epic Online Services Account ID of the local, logged in user
///
public EpicAccountId LocalUserId { get; set; }
///
/// The Epic Online Services Account ID of the user whose friendship status with the local user is being queried
///
public EpicAccountId TargetUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct GetStatusOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LocalUserId;
private System.IntPtr m_TargetUserId;
public EpicAccountId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public EpicAccountId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public void Set(GetStatusOptions other)
{
if (other != null)
{
m_ApiVersion = FriendsInterface.GetstatusApiLatest;
LocalUserId = other.LocalUserId;
TargetUserId = other.TargetUserId;
}
}
public void Set(object other)
{
Set(other as GetStatusOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_LocalUserId);
Helper.TryMarshalDispose(ref m_TargetUserId);
}
}
}