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.

66 lines
1.7 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Achievements
{
/// <summary>
/// Input parameters for the <see cref="AchievementsInterface.QueryPlayerAchievements" /> function.
/// </summary>
public class QueryPlayerAchievementsOptions
{
/// <summary>
/// The Product User ID for the user whose achievements are to be retrieved.
/// </summary>
public ProductUserId TargetUserId { get; set; }
/// <summary>
/// The Product User ID for the user who is querying for player achievements. For a Dedicated Server this should be null.
/// </summary>
public ProductUserId LocalUserId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct QueryPlayerAchievementsOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_TargetUserId;
private System.IntPtr m_LocalUserId;
public ProductUserId TargetUserId
{
set
{
Helper.TryMarshalSet(ref m_TargetUserId, value);
}
}
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public void Set(QueryPlayerAchievementsOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.QueryplayerachievementsApiLatest;
TargetUserId = other.TargetUserId;
LocalUserId = other.LocalUserId;
}
}
public void Set(object other)
{
Set(other as QueryPlayerAchievementsOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_TargetUserId);
Helper.TryMarshalDispose(ref m_LocalUserId);
}
}
}