// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Mods { /// /// Input parameters for the Function. /// public class UpdateModOptions { /// /// The Epic Account ID of the user for which the mod should be updated /// public EpicAccountId LocalUserId { get; set; } /// /// The mod to update /// public ModIdentifier Mod { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct UpdateModOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_Mod; public EpicAccountId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public ModIdentifier Mod { set { Helper.TryMarshalSet(ref m_Mod, value); } } public void Set(UpdateModOptions other) { if (other != null) { m_ApiVersion = ModsInterface.UpdatemodApiLatest; LocalUserId = other.LocalUserId; Mod = other.Mod; } } public void Set(object other) { Set(other as UpdateModOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_Mod); } } }