// 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 UninstallModOptions { /// /// The Epic Account ID of the user for which the mod should be uninstalled /// public EpicAccountId LocalUserId { get; set; } /// /// The mod to uninstall /// public ModIdentifier Mod { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct UninstallModOptionsInternal : 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(UninstallModOptions other) { if (other != null) { m_ApiVersion = ModsInterface.UninstallmodApiLatest; LocalUserId = other.LocalUserId; Mod = other.Mod; } } public void Set(object other) { Set(other as UninstallModOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_Mod); } } }