using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using Microsoft.CodeAnalysis; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] [assembly: AssemblyCompany("TheVault.Abstractions")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyDescription("Small reference assembly for mods integrating with The Vault (no game references).")] [assembly: AssemblyFileVersion("3.3.2.0")] [assembly: AssemblyInformationalVersion("3.3.2+5c08b5aa5d0be9c4b93df77f697dc55d5ac97088")] [assembly: AssemblyProduct("TheVault.Abstractions")] [assembly: AssemblyTitle("TheVault.Abstractions")] [assembly: AssemblyVersion("3.3.2.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace TheVault.Modding { public interface IVaultModApi { bool IsVaultReady { get; } bool RegisterCustomCurrency(string id, string displayName, int gameItemId = -1, bool enableAutoDeposit = false); } public static class VaultModApiBridge { public static IVaultModApi Instance { get; set; } public static event Action OnVaultLoaded; public static void NotifyVaultLoaded() { VaultModApiBridge.OnVaultLoaded?.Invoke(); } } }