// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Mods { /// /// Data for the function. /// public struct CopyModInfoOptions { /// /// The Epic Account ID of the user for which mods should be copied /// public EpicAccountId LocalUserId { get; set; } /// /// Type of the enumerated mod to copy /// public ModEnumerationType Type { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct CopyModInfoOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private ModEnumerationType m_Type; public EpicAccountId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public ModEnumerationType Type { set { m_Type = value; } } public void Set(ref CopyModInfoOptions other) { m_ApiVersion = ModsInterface.CopymodinfoApiLatest; LocalUserId = other.LocalUserId; Type = other.Type; } public void Set(ref CopyModInfoOptions? other) { if (other.HasValue) { m_ApiVersion = ModsInterface.CopymodinfoApiLatest; LocalUserId = other.Value.LocalUserId; Type = other.Value.Type; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); } } }