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.

50 lines
1.4 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.CopyAchievementDefinitionV2ByAchievementId" /> function.
/// </summary>
public class CopyAchievementDefinitionV2ByAchievementIdOptions
{
/// <summary>
/// Achievement ID to look for when copying the definition from the cache.
/// </summary>
public string AchievementId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CopyAchievementDefinitionV2ByAchievementIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_AchievementId;
public string AchievementId
{
set
{
Helper.TryMarshalSet(ref m_AchievementId, value);
}
}
public void Set(CopyAchievementDefinitionV2ByAchievementIdOptions other)
{
if (other != null)
{
m_ApiVersion = AchievementsInterface.Copyachievementdefinitionv2ByachievementidApiLatest;
AchievementId = other.AchievementId;
}
}
public void Set(object other)
{
Set(other as CopyAchievementDefinitionV2ByAchievementIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_AchievementId);
}
}
}