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.

68 lines
1.9 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.CopyUnlockedAchievementByAchievementId" /> function.
/// </summary>
public struct CopyUnlockedAchievementByAchievementIdOptions
{
/// <summary>
/// The Product User ID for the user who is copying the unlocked achievement
/// </summary>
public ProductUserId UserId { get; set; }
/// <summary>
/// AchievementId of the unlocked achievement to retrieve from the cache
/// </summary>
public Utf8String AchievementId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyUnlockedAchievementByAchievementIdOptionsInternal : ISettable<CopyUnlockedAchievementByAchievementIdOptions>, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_UserId;
private System.IntPtr m_AchievementId;
public ProductUserId UserId
{
set
{
Helper.Set(value, ref m_UserId);
}
}
public Utf8String AchievementId
{
set
{
Helper.Set(value, ref m_AchievementId);
}
}
public void Set(ref CopyUnlockedAchievementByAchievementIdOptions other)
{
m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest;
UserId = other.UserId;
AchievementId = other.AchievementId;
}
public void Set(ref CopyUnlockedAchievementByAchievementIdOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyachievementidApiLatest;
UserId = other.Value.UserId;
AchievementId = other.Value.AchievementId;
}
}
public void Dispose()
{
Helper.Dispose(ref m_UserId);
Helper.Dispose(ref m_AchievementId);
}
}
}