// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Achievements { /// /// Input parameters for the function. /// public class CopyUnlockedAchievementByIndexOptions { /// /// The Product User ID for the user who is copying the unlocked achievement /// public ProductUserId UserId { get; set; } /// /// Index of the unlocked achievement to retrieve from the cache /// public uint AchievementIndex { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyUnlockedAchievementByIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_UserId; private uint m_AchievementIndex; public ProductUserId UserId { set { Helper.TryMarshalSet(ref m_UserId, value); } } public uint AchievementIndex { set { m_AchievementIndex = value; } } public void Set(CopyUnlockedAchievementByIndexOptions other) { if (other != null) { m_ApiVersion = AchievementsInterface.CopyunlockedachievementbyindexApiLatest; UserId = other.UserId; AchievementIndex = other.AchievementIndex; } } public void Set(object other) { Set(other as CopyUnlockedAchievementByIndexOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_UserId); } } }