From 1a331b9d1b162ff0a69699f2649f48832f7e1154 Mon Sep 17 00:00:00 2001 From: nike4613 Date: Sun, 5 Apr 2020 06:44:21 +0000 Subject: [PATCH] Generated Docs -- --- ...dList.UI.ViewControllers.MarkdownView.html | 10 +- api/IPA.Config.Config.NameAttribute.html | 6 +- api/IPA.Config.Config.PreferAttribute.html | 6 +- api/IPA.Config.Config.html | 18 +- api/IPA.Config.ConfigProvider.html | 6 +- api/IPA.Config.Data.Boolean.html | 6 +- api/IPA.Config.Data.FloatingPoint.html | 8 +- api/IPA.Config.Data.Integer.html | 8 +- api/IPA.Config.Data.List.html | 32 +- api/IPA.Config.Data.Map.html | 36 +- api/IPA.Config.Data.Text.html | 6 +- api/IPA.Config.Data.Value.html | 32 +- api/IPA.Config.IConfigProvider.html | 8 +- api/IPA.Config.IConfigStore.html | 10 +- api/IPA.Config.IModPrefs.html | 20 +- api/IPA.Config.ModPrefs.html | 40 +- ...fig.Stores.Attributes.IgnoreAttribute.html | 2 +- ...tores.Attributes.NonNullableAttribute.html | 2 +- ...ibutes.NotifyPropertyChangesAttribute.html | 2 +- ...es.Attributes.SerializedNameAttribute.html | 6 +- ...ores.Attributes.UseConverterAttribute.html | 14 +- ...erters.CaseInsensitiveEnumConverter-1.html | 6 +- ...ores.Converters.CollectionConverter-2.html | 16 +- ...ores.Converters.CollectionConverter-3.html | 4 +- ....Config.Stores.Converters.Converter-1.html | 4 +- ...PA.Config.Stores.Converters.Converter.html | 6 +- ...es.Converters.CustomObjectConverter-1.html | 10 +- ...Converters.CustomValueTypeConverter-1.html | 10 +- ...ores.Converters.DictionaryConverter-1.html | 12 +- ...ores.Converters.DictionaryConverter-2.html | 4 +- ...fig.Stores.Converters.EnumConverter-1.html | 6 +- ...res.Converters.IDictionaryConverter-1.html | 12 +- ...res.Converters.IDictionaryConverter-2.html | 4 +- ...ig.Stores.Converters.IListConverter-1.html | 8 +- ...ig.Stores.Converters.IListConverter-2.html | 4 +- ...erters.IReadOnlyDictionaryConverter-1.html | 12 +- ...erters.IReadOnlyDictionaryConverter-2.html | 4 +- ...fig.Stores.Converters.ISetConverter-1.html | 8 +- ...fig.Stores.Converters.ISetConverter-2.html | 4 +- ...fig.Stores.Converters.ListConverter-1.html | 8 +- ...fig.Stores.Converters.ListConverter-2.html | 4 +- ...Stores.Converters.NullableConverter-1.html | 10 +- ...Stores.Converters.NullableConverter-2.html | 4 +- ...res.Converters.NumericEnumConverter-1.html | 6 +- api/IPA.Config.Stores.GeneratedStore.html | 8 +- api/IPA.Config.Stores.IValueConverter.html | 8 +- api/IPA.Config.Stores.ValueConverter-1.html | 12 +- api/IPA.InitAttribute.html | 2 +- ....Loader.CannotRuntimeDisableException.html | 48 +- api/IPA.Loader.Features.Feature.html | 20 +- api/IPA.Loader.IgnoreReason.html | 596 ++++++++++++ ...er.PluginInitInjector.InjectParameter.html | 2 +- api/IPA.Loader.PluginInitInjector.html | 4 +- ...r.PluginManager.PluginDisableDelegate.html | 2 +- ...er.PluginManager.PluginEnableDelegate.html | 2 +- api/IPA.Loader.PluginManager.html | 65 +- api/IPA.Loader.PluginMetadata.html | 24 +- api/IPA.Loader.Reason.html | 212 +++++ ...IPA.Loader.StateTransitionTransaction.html | 120 ++- api/IPA.Loader.html | 10 + api/IPA.Logging.LogPrinter.html | 10 +- api/IPA.Logging.Logger.Level.html | 2 +- api/IPA.Logging.Logger.LogLevel.html | 2 +- api/IPA.Logging.Logger.html | 36 +- api/IPA.Logging.LoggerExtensions.html | 4 +- ...ogging.Printers.ColoredConsolePrinter.html | 8 +- ...ging.Printers.ColorlessConsolePrinter.html | 6 +- api/IPA.Logging.Printers.GZFilePrinter.html | 14 +- ...Logging.Printers.GlobalLogFilePrinter.html | 8 +- ...Logging.Printers.PluginLogFilePrinter.html | 10 +- ....Logging.Printers.PluginSubLogPrinter.html | 10 +- api/IPA.Logging.StandardLogger.html | 14 +- api/IPA.Old.IEnhancedPlugin.html | 6 +- api/IPA.Old.IPlugin.html | 18 +- api/IPA.OnDisableAttribute.html | 2 +- api/IPA.OnEnableAttribute.html | 2 +- api/IPA.OnExitAttribute.html | 2 +- api/IPA.OnStartAttribute.html | 2 +- api/IPA.PluginAttribute.html | 6 +- api/IPA.RuntimeOptions.html | 2 +- api/IPA.Utilities.AlmostVersion.StoredAs.html | 2 +- api/IPA.Utilities.AlmostVersion.html | 34 +- api/IPA.Utilities.AlmostVersionConverter.html | 6 +- api/IPA.Utilities.Async.Coroutines.html | 4 +- ...ties.Async.SingleCreationValueCache-2.html | 24 +- ...ities.Async.SingleThreadTaskScheduler.html | 20 +- ...ies.Async.Synchronization.MutexLocker.html | 4 +- ...zation.ReaderWriterLockSlimReadLocker.html | 4 +- ...derWriterLockSlimUpgradableReadLocker.html | 6 +- ...ation.ReaderWriterLockSlimWriteLocker.html | 4 +- ...Async.Synchronization.SemaphoreLocker.html | 4 +- ...chronization.SemaphoreSlimAsyncLocker.html | 4 +- ...c.Synchronization.SemaphoreSlimLocker.html | 4 +- api/IPA.Utilities.Async.Synchronization.html | 16 +- ...es.Async.UnityMainThreadTaskScheduler.html | 28 +- ...es.CriticalSection.AutoExecuteSection.html | 4 +- api/IPA.Utilities.CriticalSection.html | 8 +- api/IPA.Utilities.EnumerableExtensions.html | 14 +- api/IPA.Utilities.Extensions.html | 12 +- ...PA.Utilities.FieldAccessor-2.Accessor.html | 2 +- api/IPA.Utilities.FieldAccessor-2.html | 14 +- api/IPA.Utilities.MethodAccessor-2.html | 4 +- ...A.Utilities.PropertyAccessor-2.Getter.html | 2 +- ...A.Utilities.PropertyAccessor-2.Setter.html | 2 +- api/IPA.Utilities.PropertyAccessor-2.html | 14 +- api/IPA.Utilities.Ref-1.html | 18 +- api/IPA.Utilities.Ref.html | 4 +- api/IPA.Utilities.ReflectionUtil.html | 16 +- api/IPA.Utilities.UnityGame.Release.html | 2 +- api/IPA.Utilities.UnityGame.html | 18 +- api/IPA.Utilities.Utils.ScopeGuardObject.html | 6 +- api/IPA.Utilities.Utils.html | 20 +- api/index.html | 2 +- api/toc.html | 6 + articles/command-line.html | 2 +- articles/contributing.html | 2 +- articles/dev-resources/description.html | 2 +- articles/index.html | 2 +- articles/start-dev.html | 2 +- articles/start-user.html | 2 +- index.html | 2 +- index.json | 900 +++++++++--------- manifest.json | 276 +++--- other_api/config/schema.html | 2 +- other_api/index.html | 2 +- xrefmap.yml | 228 +++++ 126 files changed, 2376 insertions(+), 1121 deletions(-) create mode 100644 api/IPA.Loader.IgnoreReason.html create mode 100644 api/IPA.Loader.Reason.html diff --git a/api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html b/api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html index c74f61f6..4747137f 100644 --- a/api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html +++ b/api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html @@ -395,7 +395,7 @@ public class MarkdownView : MonoBehaviour Improve this Doc - View Source + View Source

MarkdownView()

@@ -413,7 +413,7 @@ public class MarkdownView : MonoBehaviour Improve this Doc - View Source + View Source

HasEmbeddedImage

This function will be called whenever attempting to resolve an image URI, to ensure that the image exists in the embedded assembly.

@@ -446,7 +446,7 @@ public class MarkdownView : MonoBehaviour Improve this Doc - View Source + View Source

Markdown

@@ -481,7 +481,7 @@ public class MarkdownView : MonoBehaviour Improve this Doc - View Source + View Source

rectTransform

@@ -541,7 +541,7 @@ public class MarkdownView : MonoBehaviour Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Config.NameAttribute.html b/api/IPA.Config.Config.NameAttribute.html index 6f3e97c4..881f895a 100644 --- a/api/IPA.Config.Config.NameAttribute.html +++ b/api/IPA.Config.Config.NameAttribute.html @@ -252,7 +252,7 @@ public sealed class NameAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    NameAttribute(String)

    @@ -288,7 +288,7 @@ public sealed class NameAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    Name

    @@ -346,7 +346,7 @@ public sealed class NameAttribute : Attribute, _Attribute Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Config.PreferAttribute.html b/api/IPA.Config.Config.PreferAttribute.html index 8a93b491..3b7f1dfb 100644 --- a/api/IPA.Config.Config.PreferAttribute.html +++ b/api/IPA.Config.Config.PreferAttribute.html @@ -253,7 +253,7 @@ public sealed class PreferAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    PreferAttribute(String[])

    @@ -289,7 +289,7 @@ public sealed class PreferAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    PreferenceOrder

    @@ -347,7 +347,7 @@ public sealed class PreferAttribute : Attribute, _Attribute Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Config.html b/api/IPA.Config.Config.html index 7e670824..582599db 100644 --- a/api/IPA.Config.Config.html +++ b/api/IPA.Config.Config.html @@ -130,7 +130,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    Name

    @@ -161,7 +161,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    Provider

    @@ -194,7 +194,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    GetConfigFor(String, String[])

    @@ -250,7 +250,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    LoadAsync()

    @@ -281,7 +281,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    LoadSync()

    @@ -297,7 +297,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    Register(Type)

    @@ -331,7 +331,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    Register<T>()

    @@ -364,7 +364,7 @@ disk representation.

    Improve this Doc - View Source + View Source

    SetStore(IConfigStore)

    @@ -439,7 +439,7 @@ disk representation.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.ConfigProvider.html b/api/IPA.Config.ConfigProvider.html index b44b2ece..9b21905d 100644 --- a/api/IPA.Config.ConfigProvider.html +++ b/api/IPA.Config.ConfigProvider.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

    Load()

    @@ -162,7 +162,7 @@ and returns it.

    Improve this Doc - View Source + View Source

    Store(Value)

    @@ -218,7 +218,7 @@ and returns it.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.Boolean.html b/api/IPA.Config.Data.Boolean.html index 4092eb01..5f7e2813 100644 --- a/api/IPA.Config.Data.Boolean.html +++ b/api/IPA.Config.Data.Boolean.html @@ -169,7 +169,7 @@ Improve this Doc - View Source + View Source

    Value

    @@ -202,7 +202,7 @@ Improve this Doc - View Source + View Source

    ToString()

    @@ -258,7 +258,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.FloatingPoint.html b/api/IPA.Config.Data.FloatingPoint.html index 1480e624..e3ebb181 100644 --- a/api/IPA.Config.Data.FloatingPoint.html +++ b/api/IPA.Config.Data.FloatingPoint.html @@ -170,7 +170,7 @@ Improve this Doc - View Source + View Source

    Value

    @@ -203,7 +203,7 @@ Improve this Doc - View Source + View Source

    AsInteger()

    @@ -235,7 +235,7 @@ Improve this Doc - View Source + View Source

    ToString()

    @@ -291,7 +291,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.Integer.html b/api/IPA.Config.Data.Integer.html index 2811de58..de6f3f1f 100644 --- a/api/IPA.Config.Data.Integer.html +++ b/api/IPA.Config.Data.Integer.html @@ -170,7 +170,7 @@ worth of data.

    Improve this Doc - View Source + View Source

    Value

    @@ -203,7 +203,7 @@ worth of data.

    Improve this Doc - View Source + View Source

    AsFloat()

    @@ -235,7 +235,7 @@ worth of data.

    Improve this Doc - View Source + View Source

    ToString()

    @@ -291,7 +291,7 @@ worth of data.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.List.html b/api/IPA.Config.Data.List.html index d88997b8..4c19b0fb 100644 --- a/api/IPA.Config.Data.List.html +++ b/api/IPA.Config.Data.List.html @@ -177,7 +177,7 @@ Use Improve this Doc - View Source + View Source

    Count

    @@ -212,7 +212,7 @@ Use Improve this Doc - View Source + View Source

    Item[Int32]

    @@ -268,7 +268,7 @@ Use Improve this Doc - View Source + View Source

    Add(Value)

    @@ -306,7 +306,7 @@ Use Improve this Doc - View Source + View Source

    AddRange(IEnumerable<Value>)

    @@ -340,7 +340,7 @@ Use Improve this Doc - View Source + View Source

    Clear()

    @@ -360,7 +360,7 @@ Use Improve this Doc - View Source + View Source

    Contains(Value)

    @@ -413,7 +413,7 @@ Use Improve this Doc - View Source + View Source

    CopyTo(Value[], Int32)

    @@ -457,7 +457,7 @@ Use Improve this Doc - View Source + View Source

    GetEnumerator()

    @@ -493,7 +493,7 @@ Use Improve this Doc - View Source + View Source

    IndexOf(Value)

    @@ -547,7 +547,7 @@ Use Improve this Doc - View Source + View Source

    Insert(Int32, Value)

    @@ -591,7 +591,7 @@ Use Improve this Doc - View Source + View Source

    Remove(Value)

    @@ -645,7 +645,7 @@ Use Improve this Doc - View Source + View Source

    RemoveAt(Int32)

    @@ -683,7 +683,7 @@ Use Improve this Doc - View Source + View Source

    ToString()

    @@ -719,7 +719,7 @@ Use Improve this Doc - View Source + View Source

    ICollection<Value>.IsReadOnly

    @@ -749,7 +749,7 @@ Use Improve this Doc - View Source + View Source

    IEnumerable.GetEnumerator()

    @@ -829,7 +829,7 @@ Use Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.Map.html b/api/IPA.Config.Data.Map.html index 7e8a511c..e36d5107 100644 --- a/api/IPA.Config.Data.Map.html +++ b/api/IPA.Config.Data.Map.html @@ -177,7 +177,7 @@ Use Improve this Doc - View Source + View Source

    Count

    @@ -212,7 +212,7 @@ Use Improve this Doc - View Source + View Source

    Item[String]

    @@ -266,7 +266,7 @@ Use Improve this Doc - View Source + View Source

    Keys

    @@ -301,7 +301,7 @@ Use Improve this Doc - View Source + View Source

    Values

    @@ -342,7 +342,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    Add(String, Value)

    @@ -386,7 +386,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    Clear()

    @@ -406,7 +406,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ContainsKey(String)

    @@ -459,7 +459,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    GetEnumerator()

    @@ -495,7 +495,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    Remove(String)

    @@ -549,7 +549,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ToString()

    @@ -583,7 +583,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    TryGetValue(String, out Value)

    @@ -645,7 +645,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ICollection<KeyValuePair<String, Value>>.Add(KeyValuePair<String, Value>)

    @@ -677,7 +677,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ICollection<KeyValuePair<String, Value>>.Contains(KeyValuePair<String, Value>)

    @@ -724,7 +724,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ICollection<KeyValuePair<String, Value>>.CopyTo(KeyValuePair<String, Value>[], Int32)

    @@ -761,7 +761,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ICollection<KeyValuePair<String, Value>>.IsReadOnly

    @@ -791,7 +791,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    ICollection<KeyValuePair<String, Value>>.Remove(KeyValuePair<String, Value>)

    @@ -838,7 +838,7 @@ guarantee that order is maintained.

    Improve this Doc - View Source + View Source

    IEnumerable.GetEnumerator()

    @@ -915,7 +915,7 @@ guarantee that order is maintained.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.Text.html b/api/IPA.Config.Data.Text.html index 773af7b8..66c3cffb 100644 --- a/api/IPA.Config.Data.Text.html +++ b/api/IPA.Config.Data.Text.html @@ -170,7 +170,7 @@ String is so that it doesn't conflict with Improve this Doc - View Source + View Source

    Value

    @@ -203,7 +203,7 @@ String is so that it doesn't conflict with Improve this Doc - View Source + View Source

    ToString()

    @@ -259,7 +259,7 @@ String is so that it doesn't conflict with Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Data.Value.html b/api/IPA.Config.Data.Value.html index 53f37d50..4e08455a 100644 --- a/api/IPA.Config.Data.Value.html +++ b/api/IPA.Config.Data.Value.html @@ -135,7 +135,7 @@ Also contains factory functions for all derived types.

    Improve this Doc - View Source + View Source

    Bool(Boolean)

    @@ -189,7 +189,7 @@ Also contains factory functions for all derived types.

    Improve this Doc - View Source + View Source

    Float(Decimal)

    @@ -243,7 +243,7 @@ Also contains factory functions for all derived types.

    Improve this Doc - View Source + View Source

    From(Boolean)

    @@ -297,7 +297,7 @@ Also contains factory functions for all derived types.

    Improve this Doc - View Source + View Source

    From(IDictionary<String, Value>)

    @@ -353,7 +353,7 @@ of St Improve this Doc - View Source + View Source

    From(IEnumerable<Value>)

    @@ -408,7 +408,7 @@ of Value.

    Improve this Doc - View Source + View Source

    From(IEnumerable<KeyValuePair<String, Value>>)

    @@ -464,7 +464,7 @@ of Improve this Doc - View Source + View Source

    From(Decimal)

    @@ -518,7 +518,7 @@ of Improve this Doc - View Source + View Source

    From(Int64)

    @@ -572,7 +572,7 @@ of Improve this Doc - View Source + View Source

    From(String)

    @@ -626,7 +626,7 @@ of Improve this Doc - View Source + View Source

    Integer(Int64)

    @@ -680,7 +680,7 @@ of Improve this Doc - View Source + View Source

    List()

    @@ -716,7 +716,7 @@ of Improve this Doc - View Source + View Source

    Map()

    @@ -753,7 +753,7 @@ of Improve this Doc - View Source + View Source

    Null()

    @@ -784,7 +784,7 @@ of Improve this Doc - View Source + View Source

    Text(String)

    @@ -838,7 +838,7 @@ of Improve this Doc - View Source + View Source

    ToString()

    @@ -894,7 +894,7 @@ of Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.IConfigProvider.html b/api/IPA.Config.IConfigProvider.html index eebd7118..2abeb7cb 100644 --- a/api/IPA.Config.IConfigProvider.html +++ b/api/IPA.Config.IConfigProvider.html @@ -113,7 +113,7 @@ This is reasonable, as Integ Improve this Doc - View Source + View Source

    Extension

    @@ -150,7 +150,7 @@ This is reasonable, as Integ Improve this Doc - View Source + View Source

    Load(FileInfo)

    @@ -201,7 +201,7 @@ and returns it.

    Improve this Doc - View Source + View Source

    Store(Value, FileInfo)

    @@ -263,7 +263,7 @@ and returns it.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.IConfigStore.html b/api/IPA.Config.IConfigStore.html index dfb41ec8..9fdcf07f 100644 --- a/api/IPA.Config.IConfigStore.html +++ b/api/IPA.Config.IConfigStore.html @@ -100,7 +100,7 @@ Improve this Doc - View Source + View Source

    SyncObject

    @@ -133,7 +133,7 @@ The writer will never signal this handle.

    Improve this Doc - View Source + View Source

    WriteSyncObject

    @@ -172,7 +172,7 @@ write lock with Improve this Doc - View Source + View Source

    ReadFrom(ConfigProvider)

    @@ -211,7 +211,7 @@ this is called.

    Improve this Doc - View Source + View Source

    WriteTo(ConfigProvider)

    @@ -272,7 +272,7 @@ this is called.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.IModPrefs.html b/api/IPA.Config.IModPrefs.html index e30e3b61..f2b0d3c5 100644 --- a/api/IPA.Config.IModPrefs.html +++ b/api/IPA.Config.IModPrefs.html @@ -101,7 +101,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    GetBool(String, String, Boolean, Boolean)

    @@ -168,7 +168,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    GetFloat(String, String, Single, Boolean)

    @@ -235,7 +235,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    GetInt(String, String, Int32, Boolean)

    @@ -302,7 +302,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    GetString(String, String, String, Boolean)

    @@ -369,7 +369,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    HasKey(String, String)

    @@ -424,7 +424,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    SetBool(String, String, Boolean)

    @@ -470,7 +470,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    SetFloat(String, String, Single)

    @@ -516,7 +516,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    SetInt(String, String, Int32)

    @@ -562,7 +562,7 @@ public interface IModPrefs Improve this Doc - View Source + View Source

    SetString(String, String, String)

    @@ -630,7 +630,7 @@ public interface IModPrefs Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.ModPrefs.html b/api/IPA.Config.ModPrefs.html index 67e3ff40..e808049c 100644 --- a/api/IPA.Config.ModPrefs.html +++ b/api/IPA.Config.ModPrefs.html @@ -134,7 +134,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    ModPrefs(PluginMetadata)

    @@ -170,7 +170,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    GetBool(String, String, Boolean, Boolean)

    @@ -237,7 +237,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    GetFloat(String, String, Single, Boolean)

    @@ -304,7 +304,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    GetInt(String, String, Int32, Boolean)

    @@ -371,7 +371,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    GetString(String, String, String, Boolean)

    @@ -438,7 +438,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    HasKey(String, String)

    @@ -493,7 +493,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    SetBool(String, String, Boolean)

    @@ -539,7 +539,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    SetFloat(String, String, Single)

    @@ -585,7 +585,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    SetInt(String, String, Int32)

    @@ -631,7 +631,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    SetString(String, String, String)

    @@ -679,7 +679,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.GetBool(String, String, Boolean, Boolean)

    @@ -741,7 +741,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.GetFloat(String, String, Single, Boolean)

    @@ -803,7 +803,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.GetInt(String, String, Int32, Boolean)

    @@ -865,7 +865,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.GetString(String, String, String, Boolean)

    @@ -927,7 +927,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.HasKey(String, String)

    @@ -979,7 +979,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.SetBool(String, String, Boolean)

    @@ -1021,7 +1021,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.SetFloat(String, String, Single)

    @@ -1063,7 +1063,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.SetInt(String, String, Int32)

    @@ -1105,7 +1105,7 @@ public class ModPrefs : IModPrefs Improve this Doc - View Source + View Source

    IModPrefs.SetString(String, String, String)

    @@ -1173,7 +1173,7 @@ public class ModPrefs : IModPrefs Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Attributes.IgnoreAttribute.html b/api/IPA.Config.Stores.Attributes.IgnoreAttribute.html index 790e50f5..307bbcad 100644 --- a/api/IPA.Config.Stores.Attributes.IgnoreAttribute.html +++ b/api/IPA.Config.Stores.Attributes.IgnoreAttribute.html @@ -277,7 +277,7 @@ public sealed class IgnoreAttribute : Attribute, _Attribute Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Attributes.NonNullableAttribute.html b/api/IPA.Config.Stores.Attributes.NonNullableAttribute.html index 7ac7ae57..603d1656 100644 --- a/api/IPA.Config.Stores.Attributes.NonNullableAttribute.html +++ b/api/IPA.Config.Stores.Attributes.NonNullableAttribute.html @@ -278,7 +278,7 @@ public sealed class NonNullableAttribute : Attribute, _Attribute Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html b/api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html index 6c142674..06c34eee 100644 --- a/api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html +++ b/api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html @@ -277,7 +277,7 @@ public sealed class NotifyPropertyChangesAttribute : Attribute, _AttributeImprove this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html b/api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html index 0f7ffe06..f579e36f 100644 --- a/api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html +++ b/api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html @@ -276,7 +276,7 @@ However, if we were to add a Improve this Doc - View Source + View Source

    SerializedNameAttribute(String)

    @@ -312,7 +312,7 @@ However, if we were to add a Improve this Doc - View Source + View Source

    Name

    @@ -369,7 +369,7 @@ However, if we were to add a Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Attributes.UseConverterAttribute.html b/api/IPA.Config.Stores.Attributes.UseConverterAttribute.html index 90bb0107..22f2cc89 100644 --- a/api/IPA.Config.Stores.Attributes.UseConverterAttribute.html +++ b/api/IPA.Config.Stores.Attributes.UseConverterAttribute.html @@ -253,7 +253,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    UseConverterAttribute()

    @@ -269,7 +269,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    UseConverterAttribute(Type)

    @@ -305,7 +305,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    ConverterTargetType

    @@ -337,7 +337,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    ConverterType

    @@ -368,7 +368,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    IsGenericConverter

    @@ -399,7 +399,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

    UseDefaultConverterForType

    @@ -456,7 +456,7 @@ public sealed class UseConverterAttribute : Attribute, _Attribute Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html b/api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html index 43ba40a0..52ef69fd 100644 --- a/api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html +++ b/api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html @@ -160,7 +160,7 @@ ignoring the case of the serialized value for deseiralization.

    Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -234,7 +234,7 @@ ignoring the case of the serialized value for deseiralization.

    Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -318,7 +318,7 @@ ignoring the case of the serialized value for deseiralization.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.CollectionConverter-2.html b/api/IPA.Config.Stores.Converters.CollectionConverter-2.html index f38100d2..c2deeb7b 100644 --- a/api/IPA.Config.Stores.Converters.CollectionConverter-2.html +++ b/api/IPA.Config.Stores.Converters.CollectionConverter-2.html @@ -168,7 +168,7 @@ Improve this Doc - View Source + View Source

    CollectionConverter()

    @@ -190,7 +190,7 @@ with Improve this Doc - View Source + View Source

    CollectionConverter(ValueConverter<T>)

    @@ -226,7 +226,7 @@ with Improve this Doc - View Source + View Source

    BaseConverter

    @@ -259,7 +259,7 @@ with Improve this Doc - View Source + View Source

    Create(Int32, Object)

    @@ -320,7 +320,7 @@ with Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -383,7 +383,7 @@ owned by parent.< Improve this Doc - View Source + View Source

    PopulateFromValue(TCollection, List, Object)

    @@ -434,7 +434,7 @@ with the parent parentImprove this Doc - View Source + View Source

    ToValue(TCollection, Object)

    @@ -522,7 +522,7 @@ with the parent parentImprove this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.CollectionConverter-3.html b/api/IPA.Config.Stores.Converters.CollectionConverter-3.html index dacf79e9..123939e8 100644 --- a/api/IPA.Config.Stores.Converters.CollectionConverter-3.html +++ b/api/IPA.Config.Stores.Converters.CollectionConverter-3.html @@ -191,7 +191,7 @@ Improve this Doc - View Source + View Source

    CollectionConverter()

    @@ -243,7 +243,7 @@ with a default-constructed Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.Converter-1.html b/api/IPA.Config.Stores.Converters.Converter-1.html index d0d5145a..aaee7a79 100644 --- a/api/IPA.Config.Stores.Converters.Converter-1.html +++ b/api/IPA.Config.Stores.Converters.Converter-1.html @@ -145,7 +145,7 @@ Improve this Doc - View Source + View Source

    Default

    @@ -182,7 +182,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.Converter.html b/api/IPA.Config.Stores.Converters.Converter.html index 86fe1e13..f622d65b 100644 --- a/api/IPA.Config.Stores.Converters.Converter.html +++ b/api/IPA.Config.Stores.Converters.Converter.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

    FloatValue(Value)

    @@ -180,7 +180,7 @@ or null if Improve this Doc - View Source + View Source

    IntValue(Value)

    @@ -237,7 +237,7 @@ or null if Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html b/api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html index 5e2dcd72..4e63dabb 100644 --- a/api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html +++ b/api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html @@ -159,7 +159,7 @@ Improve this Doc - View Source + View Source

    Deserialize(Value, Object)

    @@ -219,7 +219,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -281,7 +281,7 @@ Improve this Doc - View Source + View Source

    Serialize(T, Object)

    @@ -341,7 +341,7 @@ Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -433,7 +433,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html b/api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html index 64dc3fd5..bed7ae13 100644 --- a/api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html +++ b/api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html @@ -160,7 +160,7 @@ Improve this Doc - View Source + View Source

    Deserialize(Value, Object)

    @@ -220,7 +220,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -282,7 +282,7 @@ Improve this Doc - View Source + View Source

    Serialize(T)

    @@ -336,7 +336,7 @@ Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -424,7 +424,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.DictionaryConverter-1.html b/api/IPA.Config.Stores.Converters.DictionaryConverter-1.html index f689093b..a6393c10 100644 --- a/api/IPA.Config.Stores.Converters.DictionaryConverter-1.html +++ b/api/IPA.Config.Stores.Converters.DictionaryConverter-1.html @@ -166,7 +166,7 @@ Improve this Doc - View Source + View Source

    DictionaryConverter()

    @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    DictionaryConverter(ValueConverter<TValue>)

    @@ -218,7 +218,7 @@ Improve this Doc - View Source + View Source

    BaseConverter

    @@ -251,7 +251,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -309,7 +309,7 @@ Improve this Doc - View Source + View Source

    ToValue(Dictionary<String, TValue>, Object)

    @@ -393,7 +393,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.DictionaryConverter-2.html b/api/IPA.Config.Stores.Converters.DictionaryConverter-2.html index 5329a9c4..935381c4 100644 --- a/api/IPA.Config.Stores.Converters.DictionaryConverter-2.html +++ b/api/IPA.Config.Stores.Converters.DictionaryConverter-2.html @@ -180,7 +180,7 @@ Improve this Doc - View Source + View Source

    DictionaryConverter()

    @@ -223,7 +223,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.EnumConverter-1.html b/api/IPA.Config.Stores.Converters.EnumConverter-1.html index cec604b0..dbacf97c 100644 --- a/api/IPA.Config.Stores.Converters.EnumConverter-1.html +++ b/api/IPA.Config.Stores.Converters.EnumConverter-1.html @@ -159,7 +159,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -233,7 +233,7 @@ Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -317,7 +317,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html b/api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html index 4aa893e6..465c9475 100644 --- a/api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html +++ b/api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html @@ -166,7 +166,7 @@ Improve this Doc - View Source + View Source

    IDictionaryConverter()

    @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    IDictionaryConverter(ValueConverter<TValue>)

    @@ -218,7 +218,7 @@ Improve this Doc - View Source + View Source

    BaseConverter

    @@ -251,7 +251,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -309,7 +309,7 @@ Improve this Doc - View Source + View Source

    ToValue(IDictionary<String, TValue>, Object)

    @@ -393,7 +393,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html b/api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html index 03646989..fb8140bf 100644 --- a/api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html +++ b/api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html @@ -180,7 +180,7 @@ Improve this Doc - View Source + View Source

    IDictionaryConverter()

    @@ -223,7 +223,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IListConverter-1.html b/api/IPA.Config.Stores.Converters.IListConverter-1.html index 8dd03ceb..c0d7c035 100644 --- a/api/IPA.Config.Stores.Converters.IListConverter-1.html +++ b/api/IPA.Config.Stores.Converters.IListConverter-1.html @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    IListConverter()

    @@ -202,7 +202,7 @@ Improve this Doc - View Source + View Source

    IListConverter(ValueConverter<T>)

    @@ -238,7 +238,7 @@ Improve this Doc - View Source + View Source

    Create(Int32, Object)

    @@ -326,7 +326,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IListConverter-2.html b/api/IPA.Config.Stores.Converters.IListConverter-2.html index 07680a80..c50fc893 100644 --- a/api/IPA.Config.Stores.Converters.IListConverter-2.html +++ b/api/IPA.Config.Stores.Converters.IListConverter-2.html @@ -190,7 +190,7 @@ Improve this Doc - View Source + View Source

    IListConverter()

    @@ -242,7 +242,7 @@ with a default-constructed Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html b/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html index 658543aa..0ede8598 100644 --- a/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html +++ b/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html @@ -166,7 +166,7 @@ Improve this Doc - View Source + View Source

    IReadOnlyDictionaryConverter()

    @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    IReadOnlyDictionaryConverter(ValueConverter<TValue>)

    @@ -218,7 +218,7 @@ Improve this Doc - View Source + View Source

    BaseConverter

    @@ -251,7 +251,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -309,7 +309,7 @@ Improve this Doc - View Source + View Source

    ToValue(IReadOnlyDictionary<String, TValue>, Object)

    @@ -393,7 +393,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html b/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html index 0994ab3c..915ab8b1 100644 --- a/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html +++ b/api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html @@ -180,7 +180,7 @@ Improve this Doc - View Source + View Source

    IReadOnlyDictionaryConverter()

    @@ -223,7 +223,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.ISetConverter-1.html b/api/IPA.Config.Stores.Converters.ISetConverter-1.html index 2ea714f3..43f26ac4 100644 --- a/api/IPA.Config.Stores.Converters.ISetConverter-1.html +++ b/api/IPA.Config.Stores.Converters.ISetConverter-1.html @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    ISetConverter()

    @@ -202,7 +202,7 @@ Improve this Doc - View Source + View Source

    ISetConverter(ValueConverter<T>)

    @@ -238,7 +238,7 @@ Improve this Doc - View Source + View Source

    Create(Int32, Object)

    @@ -326,7 +326,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.ISetConverter-2.html b/api/IPA.Config.Stores.Converters.ISetConverter-2.html index 54755936..ed1f9d27 100644 --- a/api/IPA.Config.Stores.Converters.ISetConverter-2.html +++ b/api/IPA.Config.Stores.Converters.ISetConverter-2.html @@ -190,7 +190,7 @@ Improve this Doc - View Source + View Source

    ISetConverter()

    @@ -242,7 +242,7 @@ with a default-constructed Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.ListConverter-1.html b/api/IPA.Config.Stores.Converters.ListConverter-1.html index 6846ce36..9b84d40f 100644 --- a/api/IPA.Config.Stores.Converters.ListConverter-1.html +++ b/api/IPA.Config.Stores.Converters.ListConverter-1.html @@ -182,7 +182,7 @@ Improve this Doc - View Source + View Source

    ListConverter()

    @@ -202,7 +202,7 @@ Improve this Doc - View Source + View Source

    ListConverter(ValueConverter<T>)

    @@ -238,7 +238,7 @@ Improve this Doc - View Source + View Source

    Create(Int32, Object)

    @@ -326,7 +326,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.ListConverter-2.html b/api/IPA.Config.Stores.Converters.ListConverter-2.html index 290c8ef9..b5270b72 100644 --- a/api/IPA.Config.Stores.Converters.ListConverter-2.html +++ b/api/IPA.Config.Stores.Converters.ListConverter-2.html @@ -190,7 +190,7 @@ Improve this Doc - View Source + View Source

    ListConverter()

    @@ -242,7 +242,7 @@ with a default-constructed Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.NullableConverter-1.html b/api/IPA.Config.Stores.Converters.NullableConverter-1.html index cd5b67ab..e3426b6a 100644 --- a/api/IPA.Config.Stores.Converters.NullableConverter-1.html +++ b/api/IPA.Config.Stores.Converters.NullableConverter-1.html @@ -160,7 +160,7 @@ Improve this Doc - View Source + View Source

    NullableConverter()

    @@ -183,7 +183,7 @@ Equivalent to

    Improve this Doc - View Source + View Source

    NullableConverter(ValueConverter<T>)

    @@ -219,7 +219,7 @@ Equivalent to

    Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -277,7 +277,7 @@ Equivalent to

    Improve this Doc - View Source + View Source

    ToValue(Nullable<T>, Object)

    @@ -361,7 +361,7 @@ Equivalent to

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.NullableConverter-2.html b/api/IPA.Config.Stores.Converters.NullableConverter-2.html index acbdd28b..94d020dd 100644 --- a/api/IPA.Config.Stores.Converters.NullableConverter-2.html +++ b/api/IPA.Config.Stores.Converters.NullableConverter-2.html @@ -172,7 +172,7 @@ to use as the underlying converter. Use this in the Improve this Doc - View Source + View Source

    NullableConverter()

    @@ -222,7 +222,7 @@ to use as the underlying converter. Use this in the Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html b/api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html index cd9fc1d2..f17e1d48 100644 --- a/api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html +++ b/api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html @@ -159,7 +159,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -233,7 +233,7 @@ Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -317,7 +317,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.GeneratedStore.html b/api/IPA.Config.Stores.GeneratedStore.html index 9f4c9e46..4a863119 100644 --- a/api/IPA.Config.Stores.GeneratedStore.html +++ b/api/IPA.Config.Stores.GeneratedStore.html @@ -130,7 +130,7 @@ config stores.

    Improve this Doc - View Source + View Source

    AssemblyVisibilityTarget

    The name of the assembly that internals must be visible to to allow internal protection.

    @@ -162,7 +162,7 @@ config stores.

    Improve this Doc - View Source + View Source

    Create<T>()

    @@ -218,7 +218,7 @@ config stores.

    Improve this Doc - View Source + View Source

    Generated<T>(Config, Boolean)

    @@ -347,7 +347,7 @@ the resulting object will implement it and notify it too. Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.IValueConverter.html b/api/IPA.Config.Stores.IValueConverter.html index 76def7da..d7656d4d 100644 --- a/api/IPA.Config.Stores.IValueConverter.html +++ b/api/IPA.Config.Stores.IValueConverter.html @@ -117,7 +117,7 @@ Converters do not need to perform null checks, as the serializer and de Improve this Doc - View Source + View Source

    Type

    @@ -150,7 +150,7 @@ Converters do not need to perform null checks, as the serializer and de Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -206,7 +206,7 @@ Converters do not need to perform null checks, as the serializer and de Improve this Doc - View Source + View Source

    ToValue(Object, Object)

    @@ -284,7 +284,7 @@ Converters do not need to perform null checks, as the serializer and de Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Config.Stores.ValueConverter-1.html b/api/IPA.Config.Stores.ValueConverter-1.html index 5a1d427b..d79f5de5 100644 --- a/api/IPA.Config.Stores.ValueConverter-1.html +++ b/api/IPA.Config.Stores.ValueConverter-1.html @@ -160,7 +160,7 @@ Improve this Doc - View Source + View Source

    FromValue(Value, Object)

    @@ -220,7 +220,7 @@ Improve this Doc - View Source + View Source

    ToValue(T, Object)

    @@ -282,7 +282,7 @@ Improve this Doc - View Source + View Source

    IValueConverter.FromValue(Value, Object)

    @@ -334,7 +334,7 @@ Improve this Doc - View Source + View Source

    IValueConverter.ToValue(Object, Object)

    @@ -386,7 +386,7 @@ Improve this Doc - View Source + View Source

    IValueConverter.Type

    @@ -446,7 +446,7 @@ Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.InitAttribute.html b/api/IPA.InitAttribute.html index 0992119f..049eae13 100644 --- a/api/IPA.InitAttribute.html +++ b/api/IPA.InitAttribute.html @@ -289,7 +289,7 @@ Parameter injection is done with Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Loader.CannotRuntimeDisableException.html b/api/IPA.Loader.CannotRuntimeDisableException.html index 0b0299d5..90b957a2 100644 --- a/api/IPA.Loader.CannotRuntimeDisableException.html +++ b/api/IPA.Loader.CannotRuntimeDisableException.html @@ -169,7 +169,7 @@ public class CannotRuntimeDisableException : Exception, ISerializable, _Exceptio Improve this Doc - View Source + View Source

    CannotRuntimeDisableException(PluginMetadata)

    @@ -194,6 +194,46 @@ public class CannotRuntimeDisableException : Exception, ISerializable, _Exceptio PluginMetadata plugin

    the plugin that cannot be disabled

    + + + + + + | + Improve this Doc + + + View Source + + +

    CannotRuntimeDisableException(PluginMetadata, String)

    +

    Creats an exception with the given plugin metadata and message information.

    +
    +
    +
    Declaration
    +
    +
    public CannotRuntimeDisableException(PluginMetadata plugin, string message)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + @@ -203,7 +243,7 @@ public class CannotRuntimeDisableException : Exception, ISerializable, _Exceptio Improve this Doc - View Source + View Source

    CannotRuntimeDisableException(SerializationInfo, StreamingContext)

    @@ -258,7 +298,7 @@ public class CannotRuntimeDisableException : Exception, ISerializable, _Exceptio Improve this Doc - View Source + View Source

    Plugin

    @@ -318,7 +358,7 @@ public class CannotRuntimeDisableException : Exception, ISerializable, _Exceptio Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Loader.Features.Feature.html b/api/IPA.Loader.Features.Feature.html index f0ce129f..ba1d8c2f 100644 --- a/api/IPA.Loader.Features.Feature.html +++ b/api/IPA.Loader.Features.Feature.html @@ -132,7 +132,7 @@ Improve this Doc - View Source + View Source

    InvalidMessage

    @@ -165,7 +165,7 @@ This should also be set whenever either Improve this Doc - View Source + View Source

    StoreOnPlugin

    @@ -199,7 +199,7 @@ This should also be set whenever either Improve this Doc - View Source + View Source

    AfterInit(PluginMetadata)

    @@ -233,7 +233,7 @@ This should also be set whenever either Improve this Doc - View Source + View Source

    AfterInit(PluginMetadata, Object)

    @@ -273,7 +273,7 @@ This should also be set whenever either Improve this Doc - View Source + View Source

    BeforeInit(PluginMetadata)

    @@ -323,7 +323,7 @@ This should also be set whenever either Improve this Doc - View Source + View Source

    BeforeLoad(PluginMetadata)

    @@ -377,7 +377,7 @@ Any features it defines, for example, will still be loaded.

    Improve this Doc - View Source + View Source

    Evaluate()

    @@ -410,7 +410,7 @@ Any features it defines, for example, will still be loaded.

    Improve this Doc - View Source + View Source

    Initialize(PluginMetadata, String[])

    @@ -471,7 +471,7 @@ Any features it defines, for example, will still be loaded.

    Improve this Doc - View Source + View Source

    RequireLoaded(PluginMetadata)

    @@ -527,7 +527,7 @@ Any features it defines, for example, will still be loaded.

    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/IPA.Loader.IgnoreReason.html b/api/IPA.Loader.IgnoreReason.html new file mode 100644 index 00000000..e3fddf8e --- /dev/null +++ b/api/IPA.Loader.IgnoreReason.html @@ -0,0 +1,596 @@ + + + + + + + + Struct IgnoreReason + + + + + + + + + + + + + + + + + +
    +
    + + + + +
    +
    + +
    +
    +
    +

    +
    +
      +
      +
      +
      TypeNameDescription
      PluginMetadataplugin

      the plugin that cannot be disabled

      +
      Stringmessage

      the message to associate with it

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      TypeNameDescription
      Reasonreason

      the Reason enum value that describes this reason

      +
      StringreasonText

      the textual description of this ignore reason, if any

      +
      Exceptionerror

      the Exception that caused this IgnoreReason, if any

      +
      PluginMetadatarelatedTo

      the PluginMetadata this reason is related to, if any

      +
      +

      Properties +

      + + | + Improve this Doc + + + View Source + + +

      Error

      +

      Gets the Exception that caused this plugin to be ignored, if any.

      +
      +
      +
      Declaration
      +
      +
      public Exception Error { get; }
      +
      +
      Property Value
      + + + + + + + + + + + + + +
      TypeDescription
      Exception
      + + | + Improve this Doc + + + View Source + + +

      Reason

      +

      Gets the ignore reason, as represented by the Reason enum.

      +
      +
      +
      Declaration
      +
      +
      public Reason Reason { get; }
      +
      +
      Property Value
      + + + + + + + + + + + + + +
      TypeDescription
      Reason
      + + | + Improve this Doc + + + View Source + + +

      ReasonText

      +

      Gets the textual description of the particular ignore reason. This will typically +include details about why the plugin was ignored, if it is present.

      +
      +
      +
      Declaration
      +
      +
      public string ReasonText { get; }
      +
      +
      Property Value
      + + + + + + + + + + + + + +
      TypeDescription
      String
      + + | + Improve this Doc + + + View Source + + +

      RelatedTo

      +

      Gets the metadata of the plugin that this ignore was related to, if any.

      +
      +
      +
      Declaration
      +
      +
      public PluginMetadata RelatedTo { get; }
      +
      +
      Property Value
      + + + + + + + + + + + + + +
      TypeDescription
      PluginMetadata
      +

      Methods +

      + + | + Improve this Doc + + + View Source + + +

      Equals(IgnoreReason)

      +

      Compares this IgnoreReason with other for equality.

      +
      +
      +
      Declaration
      +
      +
      public bool Equals(IgnoreReason other)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + +
      TypeNameDescription
      IgnoreReasonother

      the reason to compare to

      +
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      Boolean

      true if the two reasons compare equal, false otherwise

      +
      + + | + Improve this Doc + + + View Source + + +

      Equals(Object)

      +
      +
      +
      Declaration
      +
      +
      public override bool Equals(object obj)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + +
      TypeNameDescription
      Objectobj
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      Boolean
      +
      Overrides
      + + + | + Improve this Doc + + + View Source + + +

      GetHashCode()

      +
      +
      +
      Declaration
      +
      +
      public override int GetHashCode()
      +
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      Int32
      +
      Overrides
      + +

      Operators +

      + + | + Improve this Doc + + + View Source + + +

      Equality(IgnoreReason, IgnoreReason)

      +

      Checks if two IgnoreReasons are equal.

      +
      +
      +
      Declaration
      +
      +
      public static bool operator ==(IgnoreReason left, IgnoreReason right)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + + +
      TypeNameDescription
      IgnoreReasonleft

      the first IgnoreReason to compare

      +
      IgnoreReasonright

      the second IgnoreReason to compare

      +
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      Boolean

      true if the two reasons compare equal, false otherwise

      +
      + + | + Improve this Doc + + + View Source + + +

      Inequality(IgnoreReason, IgnoreReason)

      +

      Checks if two IgnoreReasons are not equal.

      +
      +
      +
      Declaration
      +
      +
      public static bool operator !=(IgnoreReason left, IgnoreReason right)
      +
      +
      Parameters
      + + + + + + + + + + + + + + + + + + + + +
      TypeNameDescription
      IgnoreReasonleft

      the first IgnoreReason to compare

      +
      IgnoreReasonright

      the second IgnoreReason to compare

      +
      +
      Returns
      + + + + + + + + + + + + + +
      TypeDescription
      Boolean

      true if the two reasons are not equal, false otherwise

      +
      +

      Extension Methods

      + + + + + + + + + + + + + + + + + + + + diff --git a/api/IPA.Loader.PluginInitInjector.InjectParameter.html b/api/IPA.Loader.PluginInitInjector.InjectParameter.html index 0630f93a..76879817 100644 --- a/api/IPA.Loader.PluginInitInjector.InjectParameter.html +++ b/api/IPA.Loader.PluginInitInjector.InjectParameter.html @@ -166,7 +166,7 @@ Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.PluginInitInjector.html b/api/IPA.Loader.PluginInitInjector.html index ff7f3d91..57571e48 100644 --- a/api/IPA.Loader.PluginInitInjector.html +++ b/api/IPA.Loader.PluginInitInjector.html @@ -140,7 +140,7 @@ For all of the default injectors, only one of each will be generated, and any la Improve this Doc - View Source + View Source

      AddInjector(Type, PluginInitInjector.InjectParameter)

      @@ -186,7 +186,7 @@ For all of the default injectors, only one of each will be generated, and any la Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.PluginManager.PluginDisableDelegate.html b/api/IPA.Loader.PluginManager.PluginDisableDelegate.html index 2822b556..e068c375 100644 --- a/api/IPA.Loader.PluginManager.PluginDisableDelegate.html +++ b/api/IPA.Loader.PluginManager.PluginDisableDelegate.html @@ -144,7 +144,7 @@ Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.PluginManager.PluginEnableDelegate.html b/api/IPA.Loader.PluginManager.PluginEnableDelegate.html index acb7fd28..cac32746 100644 --- a/api/IPA.Loader.PluginManager.PluginEnableDelegate.html +++ b/api/IPA.Loader.PluginManager.PluginEnableDelegate.html @@ -144,7 +144,7 @@ Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.PluginManager.html b/api/IPA.Loader.PluginManager.html index 6e93558f..ffbe8ee6 100644 --- a/api/IPA.Loader.PluginManager.html +++ b/api/IPA.Loader.PluginManager.html @@ -129,16 +129,17 @@ Improve this Doc - View Source + View Source

      AllPlugins

      -

      Gets a list of all enabled BSIPA plugins.

      +

      Gets a list of all enabled BSIPA plugins. Use EnabledPlugins instead of this.

      Declaration
      -
      public static IEnumerable<PluginMetadata> AllPlugins { get; }
      +
      [Obsolete("This is an old name that no longer accurately represents its value. Use EnabledPlugins instead.")]
      +public static IEnumerable<PluginMetadata> AllPlugins { get; }
      Property Value
      @@ -161,7 +162,7 @@ Improve this Doc - View Source + View Source

      DisabledPlugins

      @@ -184,6 +185,38 @@ + + +
      IEnumerable<PluginMetadata>

      a collection of all disabled plugins as PluginMetadata

      +
      + + | + Improve this Doc + + + View Source + + +

      EnabledPlugins

      +

      Gets a collection of all enabled plugins, as represented by PluginMetadata.

      +
      +
      +
      Declaration
      +
      +
      public static IEnumerable<PluginMetadata> EnabledPlugins { get; }
      +
      +
      Property Value
      + + + + + + + + + + + @@ -193,7 +226,7 @@ Improve this Doc - View Source + View Source

      Plugins

      @@ -202,7 +235,7 @@
      Declaration
      -
      [Obsolete("I mean, IPlugin shouldn't be used, so why should this? Not renaming to extend support for old plugins.")]
      +    
      [Obsolete("This exists only to provide support for legacy IPA plugins based on the IPlugin interface.")]
       public static IEnumerable<IPlugin> Plugins { get; }
      Property Value
      @@ -228,7 +261,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      GetDisabledPlugin(String)

      @@ -278,7 +311,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      GetDisabledPluginFromId(String)

      @@ -328,7 +361,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      GetPlugin(String)

      @@ -378,7 +411,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      GetPluginFromId(String)

      @@ -428,7 +461,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      IsDisabled(PluginMetadata)

      @@ -478,7 +511,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      IsEnabled(PluginMetadata)

      @@ -528,7 +561,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      PluginStateTransaction()

      @@ -562,7 +595,7 @@ public static IEnumerable<IPlugin> Plugins { get; }Improve this Doc - View Source + View Source

      PluginDisabled

      Called whenever a plugin is disabled.

      @@ -592,7 +625,7 @@ public static IEnumerable<IPlugin> Plugins { get; } Improve this Doc - View Source + View Source

      PluginEnabled

      Called whenever a plugin is enabled.

      @@ -628,7 +661,7 @@ public static IEnumerable<IPlugin> Plugins { get; } Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.PluginMetadata.html b/api/IPA.Loader.PluginMetadata.html index d69db07a..58ff60d5 100644 --- a/api/IPA.Loader.PluginMetadata.html +++ b/api/IPA.Loader.PluginMetadata.html @@ -126,7 +126,7 @@ Improve this Doc - View Source + View Source

      Assembly

      @@ -158,7 +158,7 @@ Improve this Doc - View Source + View Source

      AssociatedFiles

      @@ -190,7 +190,7 @@ Improve this Doc - View Source + View Source

      Features

      @@ -222,7 +222,7 @@ Improve this Doc - View Source + View Source

      File

      @@ -254,7 +254,7 @@ Improve this Doc - View Source + View Source

      Id

      @@ -286,7 +286,7 @@ Improve this Doc - View Source + View Source

      IsBare

      @@ -318,7 +318,7 @@ Improve this Doc - View Source + View Source

      Name

      @@ -350,7 +350,7 @@ Improve this Doc - View Source + View Source

      PluginType

      @@ -382,7 +382,7 @@ Improve this Doc - View Source + View Source

      RuntimeOptions

      @@ -413,7 +413,7 @@ Improve this Doc - View Source + View Source

      Version

      @@ -447,7 +447,7 @@ Improve this Doc - View Source + View Source

      ToString()

      @@ -503,7 +503,7 @@ Improve this Doc
    • - View Source + View Source
    • diff --git a/api/IPA.Loader.Reason.html b/api/IPA.Loader.Reason.html new file mode 100644 index 00000000..56a5e821 --- /dev/null +++ b/api/IPA.Loader.Reason.html @@ -0,0 +1,212 @@ + + + + + + + + Enum Reason + + + + + + + + + + + + + + + + + +
      +
      + + + + +
      +
      + +
      +
      +
      +

      +
      +
        +
        +
        +
        TypeDescription
        IEnumerable<PluginMetadata>

        a collection of all enabled plugins

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        NameDescription
        Conflict

        The plugin this reason is associated with conflicts with another already loaded plugin.

        +
        Dependency

        The plugin this reason is assiciated with is missing a dependency.

        +
        Duplicate

        The plugin this reason is associated with has the same ID as another plugin whose information was +already loaded.

        +
        Error

        An error was thrown either loading plugin information fomr disk, or when initializing the plugin.

        +
        Feature

        The plugin this reason is associated with was denied from loading by a Feature +that it marks.

        +
        MissingFiles

        One of the files that a plugin declared in its manifest is missing.

        +
        Released

        The plugin this reason is associated with was released for a game update, but is still considered +present for the purposes of updating.

        +
        Unsupported

        The plugin this reason is assoicated with is unsupported.

        +
        +
        See Also
        + +

        Extension Methods

        + + + + + + +
        + + + + + + + + + + + + + diff --git a/api/IPA.Loader.StateTransitionTransaction.html b/api/IPA.Loader.StateTransitionTransaction.html index e17f0e5e..24af2ded 100644 --- a/api/IPA.Loader.StateTransitionTransaction.html +++ b/api/IPA.Loader.StateTransitionTransaction.html @@ -133,7 +133,7 @@ Improve this Doc - View Source + View Source

        DisabledPlugins

        @@ -180,7 +180,7 @@ Improve this Doc - View Source + View Source

        EnabledPlugins

        @@ -218,6 +218,54 @@ ObjectDisposedException

        if this object has been disposed

        + + + + + + | + Improve this Doc + + + View Source + + +

        HasStateChanged

        +

        Gets whether or not the current state has changed.

        +
        +
        +
        Declaration
        +
        +
        public bool HasStateChanged { get; }
        +
        +
        Property Value
        + + + + + + + + + + + + + +
        TypeDescription
        Boolean

        true if the current state of the transaction is different from its construction, false otherwise

        +
        +
        Exceptions
        + + + + + + + + + + + @@ -227,7 +275,7 @@ Improve this Doc - View Source + View Source

        WillNeedRestart

        @@ -272,12 +320,60 @@
        TypeCondition
        ObjectDisposedException

        if this object has been disposed

        Methods

        + + | + Improve this Doc + + + View Source + + +

        Clone()

        +

        Clones this transaction to be identical, but with unrelated underlying sets.

        +
        +
        +
        Declaration
        +
        +
        public StateTransitionTransaction Clone()
        +
        +
        Returns
        + + + + + + + + + + + + + +
        TypeDescription
        StateTransitionTransaction

        the new StateTransitionTransaction

        +
        +
        Exceptions
        + + + + + + + + + + + + + +
        TypeCondition
        ObjectDisposedException

        if this object has been disposed

        +
        | Improve this Doc - View Source + View Source

        Commit()

        @@ -349,7 +445,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        Disable(PluginMetadata, Boolean)

        @@ -430,7 +526,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        Disable(PluginMetadata, out IEnumerable<PluginMetadata>, Boolean)

        @@ -516,7 +612,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        Dispose()

        @@ -532,7 +628,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        Enable(PluginMetadata, Boolean)

        @@ -613,7 +709,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        Enable(PluginMetadata, out IEnumerable<PluginMetadata>, Boolean)

        @@ -699,7 +795,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        IsDisabled(PluginMetadata)

        @@ -774,7 +870,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc - View Source + View Source

        IsEnabled(PluginMetadata)

        @@ -875,7 +971,7 @@ the number of plugins being disabled, and the time they take. Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Loader.html b/api/IPA.Loader.html index 8918a770..92edc875 100644 --- a/api/IPA.Loader.html +++ b/api/IPA.Loader.html @@ -99,6 +99,16 @@

        StateTransitionTransaction

        A class to represent a transaction for changing the state of loaded mods.

        +
        +

        Structs +

        +

        IgnoreReason

        +

        A structure describing the reason that a plugin was ignored.

        +
        +

        Enums +

        +

        Reason

        +

        An enum that represents several categories of ignore reasons that the loader may encounter.

        Delegates

        diff --git a/api/IPA.Logging.LogPrinter.html b/api/IPA.Logging.LogPrinter.html index 39ccf976..9b3d9b2c 100644 --- a/api/IPA.Logging.LogPrinter.html +++ b/api/IPA.Logging.LogPrinter.html @@ -132,7 +132,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -166,7 +166,7 @@ Improve this Doc - View Source + View Source

        EndPrint()

        @@ -183,7 +183,7 @@ Use this to dispose file handles and the like.

        Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -235,7 +235,7 @@ Use this to dispose file handles and the like.

        Improve this Doc - View Source + View Source

        StartPrint()

        @@ -274,7 +274,7 @@ Use this to create file handles and the like.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Logger.Level.html b/api/IPA.Logging.Logger.Level.html index c7b5401c..dd48b387 100644 --- a/api/IPA.Logging.Logger.Level.html +++ b/api/IPA.Logging.Logger.Level.html @@ -172,7 +172,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Logger.LogLevel.html b/api/IPA.Logging.Logger.LogLevel.html index 74973aba..c9d875d0 100644 --- a/api/IPA.Logging.Logger.LogLevel.html +++ b/api/IPA.Logging.Logger.LogLevel.html @@ -208,7 +208,7 @@ public enum LogLevel : byte
        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Logger.html b/api/IPA.Logging.Logger.html index ec80e036..bac276b2 100644 --- a/api/IPA.Logging.Logger.html +++ b/api/IPA.Logging.Logger.html @@ -130,7 +130,7 @@ Improve this Doc - View Source + View Source

        LogFormat

        @@ -164,7 +164,7 @@ Improve this Doc - View Source + View Source

        Critical(Exception)

        @@ -203,7 +203,7 @@ Equivalent to Log(Level.Critical, e);

        Improve this Doc - View Source + View Source

        Critical(String)

        @@ -242,7 +242,7 @@ Equivalent to Log(Level.Critical, message);

        Improve this Doc - View Source + View Source

        Debug(Exception)

        @@ -281,7 +281,7 @@ Equivalent to Log(Level.Debug, e);

        Improve this Doc - View Source + View Source

        Debug(String)

        @@ -320,7 +320,7 @@ Equivalent to Log(Level.Debug, message);

        Improve this Doc - View Source + View Source

        Error(Exception)

        @@ -359,7 +359,7 @@ Equivalent to Log(Level.Error, e);

        Improve this Doc - View Source + View Source

        Error(String)

        @@ -398,7 +398,7 @@ Equivalent to Log(Level.Error, message);

        Improve this Doc - View Source + View Source

        Info(Exception)

        @@ -437,7 +437,7 @@ Equivalent to Log(Level.Info, e);

        Improve this Doc - View Source + View Source

        Info(String)

        @@ -476,7 +476,7 @@ Equivalent to Log(Level.Info, message);

        Improve this Doc - View Source + View Source

        Log(Logger.Level, Exception)

        @@ -516,7 +516,7 @@ Equivalent to Log(Level.Info, message);

        Improve this Doc - View Source + View Source

        Log(Logger.Level, String)

        @@ -556,7 +556,7 @@ Equivalent to Log(Level.Info, message);

        Improve this Doc - View Source + View Source

        Notice(Exception)

        @@ -595,7 +595,7 @@ Equivalent to Log(Level.Notice, e);

        Improve this Doc - View Source + View Source

        Notice(String)

        @@ -634,7 +634,7 @@ Equivalent to Log(Level.Notice, message);

        Improve this Doc - View Source + View Source

        Trace(Exception)

        @@ -673,7 +673,7 @@ Equivalent to Log(Level.Trace, e);

        Improve this Doc - View Source + View Source

        Trace(String)

        @@ -712,7 +712,7 @@ Equivalent to Log(Level.Trace, message);

        Improve this Doc - View Source + View Source

        Warn(Exception)

        @@ -751,7 +751,7 @@ Equivalent to Log(Level.Warning, e);

        Improve this Doc - View Source + View Source

        Warn(String)

        @@ -815,7 +815,7 @@ Equivalent to Log(Level.Warning, message);

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.LoggerExtensions.html b/api/IPA.Logging.LoggerExtensions.html index dcf0cf31..5aaa4815 100644 --- a/api/IPA.Logging.LoggerExtensions.html +++ b/api/IPA.Logging.LoggerExtensions.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        GetChildLogger(Logger, String)

        @@ -191,7 +191,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.ColoredConsolePrinter.html b/api/IPA.Logging.Printers.ColoredConsolePrinter.html index acce76f5..1567dcde 100644 --- a/api/IPA.Logging.Printers.ColoredConsolePrinter.html +++ b/api/IPA.Logging.Printers.ColoredConsolePrinter.html @@ -136,7 +136,7 @@ Improve this Doc - View Source + View Source

        Color

        @@ -168,7 +168,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -204,7 +204,7 @@ Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -280,7 +280,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.ColorlessConsolePrinter.html b/api/IPA.Logging.Printers.ColorlessConsolePrinter.html index adaf3034..af142f98 100644 --- a/api/IPA.Logging.Printers.ColorlessConsolePrinter.html +++ b/api/IPA.Logging.Printers.ColorlessConsolePrinter.html @@ -136,7 +136,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -172,7 +172,7 @@ Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -248,7 +248,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.GZFilePrinter.html b/api/IPA.Logging.Printers.GZFilePrinter.html index 0aa946c8..684a092e 100644 --- a/api/IPA.Logging.Printers.GZFilePrinter.html +++ b/api/IPA.Logging.Printers.GZFilePrinter.html @@ -143,7 +143,7 @@ Improve this Doc - View Source + View Source

        FileWriter

        The StreamWriter that writes to the GZip file.

        @@ -176,7 +176,7 @@ Improve this Doc - View Source + View Source

        Dispose()

        @@ -191,7 +191,7 @@ Improve this Doc - View Source + View Source

        Dispose(Boolean)

        @@ -225,7 +225,7 @@ Improve this Doc - View Source + View Source

        EndPrint()

        @@ -243,7 +243,7 @@ Improve this Doc - View Source + View Source

        GetFileInfo()

        @@ -275,7 +275,7 @@ Improve this Doc - View Source + View Source

        StartPrint()

        @@ -319,7 +319,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.GlobalLogFilePrinter.html b/api/IPA.Logging.Printers.GlobalLogFilePrinter.html index 49cbb5d5..a51985c3 100644 --- a/api/IPA.Logging.Printers.GlobalLogFilePrinter.html +++ b/api/IPA.Logging.Printers.GlobalLogFilePrinter.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -186,7 +186,7 @@ Improve this Doc - View Source + View Source

        GetFileInfo()

        @@ -220,7 +220,7 @@ Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -300,7 +300,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.PluginLogFilePrinter.html b/api/IPA.Logging.Printers.PluginLogFilePrinter.html index 3b69c4f7..94d630fe 100644 --- a/api/IPA.Logging.Printers.PluginLogFilePrinter.html +++ b/api/IPA.Logging.Printers.PluginLogFilePrinter.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        PluginLogFilePrinter(String)

        @@ -186,7 +186,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -222,7 +222,7 @@ Improve this Doc - View Source + View Source

        GetFileInfo()

        @@ -256,7 +256,7 @@ Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -336,7 +336,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.Printers.PluginSubLogPrinter.html b/api/IPA.Logging.Printers.PluginSubLogPrinter.html index 32ae2798..bca2369c 100644 --- a/api/IPA.Logging.Printers.PluginSubLogPrinter.html +++ b/api/IPA.Logging.Printers.PluginSubLogPrinter.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        PluginSubLogPrinter(String, String)

        @@ -192,7 +192,7 @@ Improve this Doc - View Source + View Source

        Filter

        @@ -228,7 +228,7 @@ Improve this Doc - View Source + View Source

        GetFileInfo()

        @@ -262,7 +262,7 @@ Improve this Doc - View Source + View Source

        Print(Logger.Level, DateTime, String, String)

        @@ -342,7 +342,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Logging.StandardLogger.html b/api/IPA.Logging.StandardLogger.html index 9e63bde7..f0c869da 100644 --- a/api/IPA.Logging.StandardLogger.html +++ b/api/IPA.Logging.StandardLogger.html @@ -181,7 +181,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        ConsoleWriter

        @@ -213,7 +213,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        IsOnLoggerThread

        @@ -245,7 +245,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        PrintFilter

        @@ -279,7 +279,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        AddPrinter(LogPrinter)

        @@ -313,7 +313,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        Debug(String)

        @@ -353,7 +353,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc - View Source + View Source

        Log(Logger.Level, String)

        @@ -420,7 +420,7 @@ The modification of printers on a parent are reflected down the chain.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Old.IEnhancedPlugin.html b/api/IPA.Old.IEnhancedPlugin.html index 963c114e..0c546fa8 100644 --- a/api/IPA.Old.IEnhancedPlugin.html +++ b/api/IPA.Old.IEnhancedPlugin.html @@ -128,7 +128,7 @@ public interface IEnhancedPlugin : IPlugin
        Improve this Doc - View Source + View Source

        Filter

        @@ -164,7 +164,7 @@ public interface IEnhancedPlugin : IPlugin
        Improve this Doc - View Source + View Source

        OnLateUpdate()

        @@ -202,7 +202,7 @@ public interface IEnhancedPlugin : IPlugin
        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Old.IPlugin.html b/api/IPA.Old.IPlugin.html index 94822f8a..5d1facc2 100644 --- a/api/IPA.Old.IPlugin.html +++ b/api/IPA.Old.IPlugin.html @@ -102,7 +102,7 @@ public interface IPlugin
        Improve this Doc - View Source + View Source

        Name

        @@ -133,7 +133,7 @@ public interface IPlugin
        Improve this Doc - View Source + View Source

        Version

        @@ -166,7 +166,7 @@ public interface IPlugin
        Improve this Doc - View Source + View Source

        OnApplicationQuit()

        @@ -182,7 +182,7 @@ public interface IPlugin
        Improve this Doc - View Source + View Source

        OnApplicationStart()

        @@ -198,7 +198,7 @@ public interface IPlugin Improve this Doc - View Source + View Source

        OnFixedUpdate()

        @@ -214,7 +214,7 @@ public interface IPlugin Improve this Doc - View Source + View Source

        OnLevelWasInitialized(Int32)

        @@ -247,7 +247,7 @@ public interface IPlugin Improve this Doc - View Source + View Source

        OnLevelWasLoaded(Int32)

        @@ -280,7 +280,7 @@ public interface IPlugin Improve this Doc - View Source + View Source

        OnUpdate()

        @@ -318,7 +318,7 @@ public interface IPlugin Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.OnDisableAttribute.html b/api/IPA.OnDisableAttribute.html index 09f276c9..30ba6639 100644 --- a/api/IPA.OnDisableAttribute.html +++ b/api/IPA.OnDisableAttribute.html @@ -294,7 +294,7 @@ The method marked by this attribute will always be called from the Unity main th Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.OnEnableAttribute.html b/api/IPA.OnEnableAttribute.html index 9d05ec74..bbf6cea4 100644 --- a/api/IPA.OnEnableAttribute.html +++ b/api/IPA.OnEnableAttribute.html @@ -294,7 +294,7 @@ The method marked by this attribute will always be called from the Unity main th Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.OnExitAttribute.html b/api/IPA.OnExitAttribute.html index d1c4a077..d0202efc 100644 --- a/api/IPA.OnExitAttribute.html +++ b/api/IPA.OnExitAttribute.html @@ -294,7 +294,7 @@ The method marked by this attribute will always be called from the Unity main th Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.OnStartAttribute.html b/api/IPA.OnStartAttribute.html index a68e7ffa..8ecc151e 100644 --- a/api/IPA.OnStartAttribute.html +++ b/api/IPA.OnStartAttribute.html @@ -294,7 +294,7 @@ The method marked by this attribute will always be called from the Unity main th Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.PluginAttribute.html b/api/IPA.PluginAttribute.html index 80ca999c..6fe1a90f 100644 --- a/api/IPA.PluginAttribute.html +++ b/api/IPA.PluginAttribute.html @@ -252,7 +252,7 @@ public sealed class PluginAttribute : Attribute, _Attribute Improve this Doc - View Source + View Source

        PluginAttribute(RuntimeOptions)

        @@ -289,7 +289,7 @@ to indicate the runtime capabilities of the plugin.

        Improve this Doc - View Source + View Source

        RuntimeOptions

        @@ -354,7 +354,7 @@ to indicate the runtime capabilities of the plugin.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.RuntimeOptions.html b/api/IPA.RuntimeOptions.html index 8b4e6310..69acd845 100644 --- a/api/IPA.RuntimeOptions.html +++ b/api/IPA.RuntimeOptions.html @@ -171,7 +171,7 @@ With this option set, whether or not the plugin is disabled during a given run i Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.AlmostVersion.StoredAs.html b/api/IPA.Utilities.AlmostVersion.StoredAs.html index e6965016..7e5033c7 100644 --- a/api/IPA.Utilities.AlmostVersion.StoredAs.html +++ b/api/IPA.Utilities.AlmostVersion.StoredAs.html @@ -142,7 +142,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.AlmostVersion.html b/api/IPA.Utilities.AlmostVersion.html index 9d75edd7..2494ee0e 100644 --- a/api/IPA.Utilities.AlmostVersion.html +++ b/api/IPA.Utilities.AlmostVersion.html @@ -126,7 +126,7 @@ not a valid .

        Improve this Doc - View Source + View Source

        AlmostVersion(SemVer.Version)

        @@ -160,7 +160,7 @@ not a valid .

        Improve this Doc - View Source + View Source

        AlmostVersion(String)

        @@ -194,7 +194,7 @@ not a valid .

        Improve this Doc - View Source + View Source

        AlmostVersion(String, AlmostVersion)

        @@ -235,7 +235,7 @@ same way as the AlmostVe Improve this Doc - View Source + View Source

        AlmostVersion(String, AlmostVersion.StoredAs)

        @@ -278,7 +278,7 @@ the storage mode specified in Improve this Doc - View Source + View Source

        SemverValue

        @@ -310,7 +310,7 @@ the storage mode specified in Improve this Doc - View Source + View Source

        StorageMode

        @@ -342,7 +342,7 @@ the storage mode specified in Improve this Doc - View Source + View Source

        StringValue

        @@ -376,7 +376,7 @@ the storage mode specified in Improve this Doc - View Source + View Source

        CompareTo(AlmostVersion)

        @@ -434,7 +434,7 @@ or Improve this Doc - View Source + View Source

        CompareTo(SemVer.Version)

        @@ -492,7 +492,7 @@ be thrown.

        Improve this Doc - View Source + View Source

        Equals(Object)

        @@ -551,7 +551,7 @@ be thrown.

        Improve this Doc - View Source + View Source

        GetHashCode()

        @@ -589,7 +589,7 @@ be thrown.

        Improve this Doc - View Source + View Source

        ToString()

        @@ -630,7 +630,7 @@ stored as a , it is equivalent to calling Improve this Doc - View Source + View Source

        Equality(AlmostVersion, AlmostVersion)

        @@ -695,7 +695,7 @@ does not.

        Improve this Doc - View Source + View Source

        Implicit(AlmostVersion to SemVer.Version)

        @@ -749,7 +749,7 @@ If not applicable, returns null

        Improve this Doc - View Source + View Source

        Implicit(SemVer.Version to AlmostVersion)

        @@ -802,7 +802,7 @@ If not applicable, returns null

        Improve this Doc - View Source + View Source

        Inequality(AlmostVersion, AlmostVersion)

        @@ -891,7 +891,7 @@ If not applicable, returns null

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.AlmostVersionConverter.html b/api/IPA.Utilities.AlmostVersionConverter.html index 6278b832..44547eb7 100644 --- a/api/IPA.Utilities.AlmostVersionConverter.html +++ b/api/IPA.Utilities.AlmostVersionConverter.html @@ -143,7 +143,7 @@ Improve this Doc - View Source + View Source

        FromValue(Value, Object)

        @@ -200,7 +200,7 @@ Improve this Doc - View Source + View Source

        ToValue(AlmostVersion, Object)

        @@ -284,7 +284,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Coroutines.html b/api/IPA.Utilities.Async.Coroutines.html index f895b4bc..ab224473 100644 --- a/api/IPA.Utilities.Async.Coroutines.html +++ b/api/IPA.Utilities.Async.Coroutines.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        WaitForTask(Task)

        @@ -185,7 +185,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.SingleCreationValueCache-2.html b/api/IPA.Utilities.Async.SingleCreationValueCache-2.html index 8ff697e4..facba089 100644 --- a/api/IPA.Utilities.Async.SingleCreationValueCache-2.html +++ b/api/IPA.Utilities.Async.SingleCreationValueCache-2.html @@ -154,7 +154,7 @@ to ensure that values are only created once ever, without having multiple parall Improve this Doc - View Source + View Source

        SingleCreationValueCache()

        @@ -172,7 +172,7 @@ capacity, and uses the default comparer for the key type.

        Improve this Doc - View Source + View Source

        SingleCreationValueCache(IEnumerable<KeyValuePair<TKey, TValue>>)

        @@ -230,7 +230,7 @@ the default comparer for the key type.

        Improve this Doc - View Source + View Source

        SingleCreationValueCache(IEnumerable<KeyValuePair<TKey, TValue>>, IEqualityComparer<TKey>)

        @@ -289,7 +289,7 @@ the specified Improve this Doc - View Source + View Source

        SingleCreationValueCache(IEqualityComparer<TKey>)

        @@ -343,7 +343,7 @@ the specified Improve this Doc - View Source + View Source

        Count

        @@ -374,7 +374,7 @@ the specified Improve this Doc - View Source + View Source

        IsEmpty

        @@ -407,7 +407,7 @@ the specified Improve this Doc - View Source + View Source

        Clear()

        @@ -423,7 +423,7 @@ the specified Improve this Doc - View Source + View Source

        ContainsKey(TKey)

        @@ -473,7 +473,7 @@ the specified Improve this Doc - View Source + View Source

        GetOrAdd(TKey, Func<TKey, TValue>)

        @@ -532,7 +532,7 @@ this waits for the creator to finish and retrieves the value.

        Improve this Doc - View Source + View Source

        ToArray()

        @@ -565,7 +565,7 @@ created.

        Improve this Doc - View Source + View Source

        TryGetValue(TKey, out TValue)

        @@ -643,7 +643,7 @@ created.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.SingleThreadTaskScheduler.html b/api/IPA.Utilities.Async.SingleThreadTaskScheduler.html index fc35dbf6..6e19aa9c 100644 --- a/api/IPA.Utilities.Async.SingleThreadTaskScheduler.html +++ b/api/IPA.Utilities.Async.SingleThreadTaskScheduler.html @@ -158,7 +158,7 @@ Improve this Doc - View Source + View Source

        IsRunning

        @@ -207,7 +207,7 @@ Improve this Doc - View Source + View Source

        Dispose()

        @@ -223,7 +223,7 @@ Improve this Doc - View Source + View Source

        Dispose(Boolean)

        @@ -257,7 +257,7 @@ Improve this Doc - View Source + View Source

        Exit()

        @@ -308,7 +308,7 @@ Improve this Doc - View Source + View Source

        GetScheduledTasks()

        @@ -358,7 +358,7 @@ Improve this Doc - View Source + View Source

        Join()

        @@ -393,7 +393,7 @@ Improve this Doc - View Source + View Source

        QueueTask(Task)

        @@ -446,7 +446,7 @@ scheduled for this Improve this Doc - View Source + View Source

        Start()

        @@ -478,7 +478,7 @@ scheduled for this Improve this Doc - View Source + View Source

        TryExecuteTaskInline(Task, Boolean)

        @@ -581,7 +581,7 @@ make sense to run it inline.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.MutexLocker.html b/api/IPA.Utilities.Async.Synchronization.MutexLocker.html index 280cf50b..3902e827 100644 --- a/api/IPA.Utilities.Async.Synchronization.MutexLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.MutexLocker.html @@ -126,7 +126,7 @@ Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html index 6305c994..2624e79c 100644 --- a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html @@ -126,7 +126,7 @@ it is disposed. Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ it is disposed. Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html index 3a87d933..9d804a91 100644 --- a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html @@ -126,7 +126,7 @@ when it is disposed. Create this with Improve this Doc - View Source + View Source

        Upgrade()

        @@ -165,7 +165,7 @@ upgrading the current thread's lock.

        Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -211,7 +211,7 @@ upgrading the current thread's lock.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html index 3485b77a..2c2a3cad 100644 --- a/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html @@ -126,7 +126,7 @@ it is disposed. Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ it is disposed. Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html b/api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html index 97d9edd2..67814381 100644 --- a/api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html @@ -126,7 +126,7 @@ Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html b/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html index 2d81e48f..fc98fc06 100644 --- a/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html @@ -126,7 +126,7 @@ when it is disposed. Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ when it is disposed. Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html b/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html index 0b8b2633..23101c0f 100644 --- a/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html +++ b/api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html @@ -126,7 +126,7 @@ Create this with Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -172,7 +172,7 @@ Create this with Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.Synchronization.html b/api/IPA.Utilities.Async.Synchronization.html index 2ee440d5..39ab6574 100644 --- a/api/IPA.Utilities.Async.Synchronization.html +++ b/api/IPA.Utilities.Async.Synchronization.html @@ -137,7 +137,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        Lock(Mutex)

        @@ -187,7 +187,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        Lock(Semaphore)

        @@ -237,7 +237,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        Lock(SemaphoreSlim)

        @@ -287,7 +287,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        LockAsync(SemaphoreSlim)

        @@ -337,7 +337,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        LockRead(ReaderWriterLockSlim)

        @@ -387,7 +387,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        LockReadUpgradable(ReaderWriterLockSlim)

        @@ -437,7 +437,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc - View Source + View Source

        LockWrite(ReaderWriterLockSlim)

        @@ -493,7 +493,7 @@ with whichever member you want to use, according to your lock type. Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html b/api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html index 97c5f9ef..14c19a71 100644 --- a/api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html +++ b/api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html @@ -155,7 +155,7 @@ Improve this Doc - View Source + View Source

        Cancelling

        @@ -187,7 +187,7 @@ Improve this Doc - View Source + View Source

        Default

        @@ -219,7 +219,7 @@ Improve this Doc - View Source + View Source

        Factory

        @@ -251,7 +251,7 @@ Improve this Doc - View Source + View Source

        IsRunning

        @@ -283,7 +283,7 @@ Improve this Doc - View Source + View Source

        YieldAfterTasks

        @@ -315,7 +315,7 @@ Improve this Doc - View Source + View Source

        YieldAfterTime

        @@ -349,7 +349,7 @@ Improve this Doc - View Source + View Source

        Cancel()

        @@ -387,7 +387,7 @@ All remaining tasks will be left in the queue.

        Improve this Doc - View Source + View Source

        Coroutine()

        @@ -451,7 +451,7 @@ exit on its own. Improve this Doc - View Source + View Source

        Dispose()

        @@ -467,7 +467,7 @@ exit on its own. Improve this Doc - View Source + View Source

        Dispose(Boolean)

        @@ -501,7 +501,7 @@ exit on its own. Improve this Doc - View Source + View Source

        GetScheduledTasks()

        @@ -551,7 +551,7 @@ exit on its own. Improve this Doc - View Source + View Source

        QueueTask(Task)

        @@ -604,7 +604,7 @@ scheduled for this Improve this Doc - View Source + View Source

        TryExecuteTaskInline(Task, Boolean)

        @@ -707,7 +707,7 @@ make sense to run it inline.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.CriticalSection.AutoExecuteSection.html b/api/IPA.Utilities.CriticalSection.AutoExecuteSection.html index 7f811690..fffad56e 100644 --- a/api/IPA.Utilities.CriticalSection.AutoExecuteSection.html +++ b/api/IPA.Utilities.CriticalSection.AutoExecuteSection.html @@ -125,7 +125,7 @@ Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -166,7 +166,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.CriticalSection.html b/api/IPA.Utilities.CriticalSection.html index 4a942180..c92e5f09 100644 --- a/api/IPA.Utilities.CriticalSection.html +++ b/api/IPA.Utilities.CriticalSection.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        EnterExecuteSection()

        @@ -145,7 +145,7 @@ Improve this Doc - View Source + View Source

        ExecuteSection()

        @@ -177,7 +177,7 @@ Improve this Doc - View Source + View Source

        ExitExecuteSection()

        @@ -199,7 +199,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.EnumerableExtensions.html b/api/IPA.Utilities.EnumerableExtensions.html index 847d90e2..1508deeb 100644 --- a/api/IPA.Utilities.EnumerableExtensions.html +++ b/api/IPA.Utilities.EnumerableExtensions.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        Append<T>(IEnumerable<T>, T)

        @@ -201,7 +201,7 @@ Improve this Doc - View Source + View Source

        NonNull<T>(IEnumerable<T>)

        @@ -268,7 +268,7 @@ Improve this Doc - View Source + View Source

        NonNull<T>(IEnumerable<Nullable<T>>)

        @@ -335,7 +335,7 @@ Improve this Doc - View Source + View Source

        NonNull<T, U>(IEnumerable<T>, Func<T, U>)

        @@ -413,7 +413,7 @@ Improve this Doc - View Source + View Source

        NonNull<T, U>(IEnumerable<T>, Func<T, Nullable<U>>)

        @@ -491,7 +491,7 @@ Improve this Doc - View Source + View Source

        Prepend<T>(IEnumerable<T>, T)

        @@ -569,7 +569,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Extensions.html b/api/IPA.Utilities.Extensions.html index d27974e9..5e33d81d 100644 --- a/api/IPA.Utilities.Extensions.html +++ b/api/IPA.Utilities.Extensions.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        GetDefault(Type)

        @@ -179,7 +179,7 @@ Improve this Doc - View Source + View Source

        IsSubPathOf(String, String)

        @@ -234,7 +234,7 @@ only matches if the base dir folder name is matched exactly ("c:\foobar\fil Improve this Doc - View Source + View Source

        Right(String, Int32)

        @@ -290,7 +290,7 @@ only matches if the base dir folder name is matched exactly ("c:\foobar\fil Improve this Doc - View Source + View Source

        Unwrap(Nullable<Boolean>)

        @@ -340,7 +340,7 @@ only matches if the base dir folder name is matched exactly ("c:\foobar\fil Improve this Doc - View Source + View Source

        WithEnding(String, String)

        @@ -403,7 +403,7 @@ results in satisfying .EndsWith(ending).

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.FieldAccessor-2.Accessor.html b/api/IPA.Utilities.FieldAccessor-2.Accessor.html index bcad4242..53ec65b1 100644 --- a/api/IPA.Utilities.FieldAccessor-2.Accessor.html +++ b/api/IPA.Utilities.FieldAccessor-2.Accessor.html @@ -154,7 +154,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.FieldAccessor-2.html b/api/IPA.Utilities.FieldAccessor-2.html index dbdea696..6e8996e2 100644 --- a/api/IPA.Utilities.FieldAccessor-2.html +++ b/api/IPA.Utilities.FieldAccessor-2.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        Access(ref T, String)

        @@ -226,7 +226,7 @@ Improve this Doc - View Source + View Source

        Get(T, String)

        @@ -304,7 +304,7 @@ Improve this Doc - View Source + View Source

        Get(ref T, String)

        @@ -386,7 +386,7 @@ as it prevents a copy.

        Improve this Doc - View Source + View Source

        GetAccessor(String)

        @@ -452,7 +452,7 @@ as it prevents a copy.

        Improve this Doc - View Source + View Source

        Set(T, String, U)

        @@ -523,7 +523,7 @@ as it prevents a copy.

        Improve this Doc - View Source + View Source

        Set(ref T, String, U)

        @@ -604,7 +604,7 @@ as it prevents a copy.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.MethodAccessor-2.html b/api/IPA.Utilities.MethodAccessor-2.html index d9afba86..0bc9f4f9 100644 --- a/api/IPA.Utilities.MethodAccessor-2.html +++ b/api/IPA.Utilities.MethodAccessor-2.html @@ -151,7 +151,7 @@ Improve this Doc - View Source + View Source

        GetDelegate(String)

        @@ -228,7 +228,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.PropertyAccessor-2.Getter.html b/api/IPA.Utilities.PropertyAccessor-2.Getter.html index f762cd5a..8b1416a7 100644 --- a/api/IPA.Utilities.PropertyAccessor-2.Getter.html +++ b/api/IPA.Utilities.PropertyAccessor-2.Getter.html @@ -154,7 +154,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.PropertyAccessor-2.Setter.html b/api/IPA.Utilities.PropertyAccessor-2.Setter.html index 31cb360d..6ece17e6 100644 --- a/api/IPA.Utilities.PropertyAccessor-2.Setter.html +++ b/api/IPA.Utilities.PropertyAccessor-2.Setter.html @@ -144,7 +144,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.PropertyAccessor-2.html b/api/IPA.Utilities.PropertyAccessor-2.html index efd291ca..ef3b7930 100644 --- a/api/IPA.Utilities.PropertyAccessor-2.html +++ b/api/IPA.Utilities.PropertyAccessor-2.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        Get(T, String)

        @@ -227,7 +227,7 @@ Improve this Doc - View Source + View Source

        Get(ref T, String)

        @@ -308,7 +308,7 @@ it avoids a copy.

        Improve this Doc - View Source + View Source

        GetGetter(String)

        @@ -374,7 +374,7 @@ it avoids a copy.

        Improve this Doc - View Source + View Source

        GetSetter(String)

        @@ -440,7 +440,7 @@ it avoids a copy.

        Improve this Doc - View Source + View Source

        Set(T, String, U)

        @@ -510,7 +510,7 @@ it avoids a copy.

        Improve this Doc - View Source + View Source

        Set(ref T, String, U)

        @@ -586,7 +586,7 @@ it avoids a copy.

        Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Ref-1.html b/api/IPA.Utilities.Ref-1.html index 657674b7..7a6dd471 100644 --- a/api/IPA.Utilities.Ref-1.html +++ b/api/IPA.Utilities.Ref-1.html @@ -150,7 +150,7 @@ Improve this Doc - View Source + View Source

        Ref(T)

        @@ -186,7 +186,7 @@ Improve this Doc - View Source + View Source

        Error

        @@ -218,7 +218,7 @@ Improve this Doc - View Source + View Source

        Value

        @@ -252,7 +252,7 @@ Improve this Doc - View Source + View Source

        CompareTo(T)

        @@ -302,7 +302,7 @@ Improve this Doc - View Source + View Source

        CompareTo(Ref<T>)

        @@ -352,7 +352,7 @@ Improve this Doc - View Source + View Source

        Verify()

        @@ -370,7 +370,7 @@ Improve this Doc - View Source + View Source

        Implicit(T to Ref<T>)

        @@ -420,7 +420,7 @@ Improve this Doc - View Source + View Source

        Implicit(Ref<T> to T)

        @@ -499,7 +499,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Ref.html b/api/IPA.Utilities.Ref.html index 35bec197..94f37fbd 100644 --- a/api/IPA.Utilities.Ref.html +++ b/api/IPA.Utilities.Ref.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        Create<T>(T)

        @@ -201,7 +201,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.ReflectionUtil.html b/api/IPA.Utilities.ReflectionUtil.html index 5a49382e..a19f69ef 100644 --- a/api/IPA.Utilities.ReflectionUtil.html +++ b/api/IPA.Utilities.ReflectionUtil.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        CopyComponent(Component, Type, GameObject, Type)

        @@ -197,7 +197,7 @@ Improve this Doc - View Source + View Source

        CopyComponent<T>(Component, GameObject, Type)

        @@ -280,7 +280,7 @@ Improve this Doc - View Source + View Source

        GetField<U, T>(T, String)

        @@ -377,7 +377,7 @@ Improve this Doc - View Source + View Source

        GetProperty<U, T>(T, String)

        @@ -474,7 +474,7 @@ Improve this Doc - View Source + View Source

        InvokeMethod<U, T>(T, String, Object[])

        @@ -573,7 +573,7 @@ Improve this Doc - View Source + View Source

        SetField<T, U>(T, String, U)

        @@ -660,7 +660,7 @@ Improve this Doc - View Source + View Source

        SetProperty<T, U>(T, String, U)

        @@ -753,7 +753,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.UnityGame.Release.html b/api/IPA.Utilities.UnityGame.Release.html index 094b1c5b..63c3be5c 100644 --- a/api/IPA.Utilities.UnityGame.Release.html +++ b/api/IPA.Utilities.UnityGame.Release.html @@ -142,7 +142,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.UnityGame.html b/api/IPA.Utilities.UnityGame.html index bb5896b4..4523d218 100644 --- a/api/IPA.Utilities.UnityGame.html +++ b/api/IPA.Utilities.UnityGame.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        GameVersion

        @@ -161,7 +161,7 @@ Improve this Doc - View Source + View Source

        InstallPath

        @@ -193,7 +193,7 @@ Improve this Doc - View Source + View Source

        LibraryPath

        @@ -225,7 +225,7 @@ Improve this Doc - View Source + View Source

        NativeLibraryPath

        @@ -257,7 +257,7 @@ Improve this Doc - View Source + View Source

        OnMainThread

        @@ -289,7 +289,7 @@ Improve this Doc - View Source + View Source

        PluginsPath

        @@ -321,7 +321,7 @@ Improve this Doc - View Source + View Source

        ReleaseType

        @@ -356,7 +356,7 @@ Improve this Doc - View Source + View Source

        UserDataPath

        @@ -394,7 +394,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Utils.ScopeGuardObject.html b/api/IPA.Utilities.Utils.ScopeGuardObject.html index fcdfdff1..61ce9d32 100644 --- a/api/IPA.Utilities.Utils.ScopeGuardObject.html +++ b/api/IPA.Utilities.Utils.ScopeGuardObject.html @@ -128,7 +128,7 @@ Improve this Doc - View Source + View Source

        ScopeGuardObject(Action)

        @@ -164,7 +164,7 @@ Improve this Doc - View Source + View Source

        IDisposable.Dispose()

        @@ -209,7 +209,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/IPA.Utilities.Utils.html b/api/IPA.Utilities.Utils.html index 6df4910a..f88766b9 100644 --- a/api/IPA.Utilities.Utils.html +++ b/api/IPA.Utilities.Utils.html @@ -129,7 +129,7 @@ Improve this Doc - View Source + View Source

        CanUseDateTimeNowSafely

        @@ -163,7 +163,7 @@ Improve this Doc - View Source + View Source

        ByteArrayToString(Byte[])

        @@ -213,7 +213,7 @@ Improve this Doc - View Source + View Source

        CopyAll(DirectoryInfo, DirectoryInfo, String, Func<Exception, FileInfo, Boolean>)

        @@ -265,7 +265,7 @@ Improve this Doc - View Source + View Source

        CurrentTime()

        @@ -297,7 +297,7 @@ Improve this Doc - View Source + View Source

        GetRelativePath(String, String)

        @@ -353,7 +353,7 @@ Improve this Doc - View Source + View Source

        ScopeGuard(Action)

        @@ -406,7 +406,7 @@ Improve this Doc - View Source + View Source

        StringToByteArray(String)

        @@ -456,7 +456,7 @@ Improve this Doc - View Source + View Source

        UnsafeCompare(Byte[], Byte[])

        @@ -512,7 +512,7 @@ Improve this Doc - View Source + View Source

        VersionCompareNoPrerelease(SemVer.Version, SemVer.Version)

        @@ -574,7 +574,7 @@ Improve this Doc
      • - View Source + View Source
      • diff --git a/api/index.html b/api/index.html index a514cb36..4649be6a 100644 --- a/api/index.html +++ b/api/index.html @@ -90,7 +90,7 @@ Select a namespace and a class on the left to get started.

        diff --git a/api/toc.html b/api/toc.html index e4ef7cf3..b1c52b54 100644 --- a/api/toc.html +++ b/api/toc.html @@ -231,6 +231,9 @@
      • CannotRuntimeDisableException
      • +
      • + IgnoreReason +
      • PluginInitInjector
      • @@ -249,6 +252,9 @@
      • PluginMetadata
      • +
      • + Reason +
      • StateTransitionTransaction
      • diff --git a/articles/command-line.html b/articles/command-line.html index d7e105f2..86dc6a0b 100644 --- a/articles/command-line.html +++ b/articles/command-line.html @@ -183,7 +183,7 @@ avaliable. If there is, it will be downloaded and installed on the next run. Thi diff --git a/articles/contributing.html b/articles/contributing.html index 74cb712e..41a50e09 100644 --- a/articles/contributing.html +++ b/articles/contributing.html @@ -117,7 +117,7 @@ should reference the copy in there. When building for Release, it just uses the diff --git a/articles/dev-resources/description.html b/articles/dev-resources/description.html index c42f362e..e91539c3 100644 --- a/articles/dev-resources/description.html +++ b/articles/dev-resources/description.html @@ -91,7 +91,7 @@ diff --git a/articles/index.html b/articles/index.html index 23adc39d..6e06a8f0 100644 --- a/articles/index.html +++ b/articles/index.html @@ -94,7 +94,7 @@ diff --git a/articles/start-dev.html b/articles/start-dev.html index 420819ca..04caf891 100644 --- a/articles/start-dev.html +++ b/articles/start-dev.html @@ -517,7 +517,7 @@ namespace Demo diff --git a/articles/start-user.html b/articles/start-user.html index d2b3ae8d..7bafbc0f 100644 --- a/articles/start-user.html +++ b/articles/start-user.html @@ -161,7 +161,7 @@ the game directory, though your plugins will be moved to a different folder when diff --git a/index.html b/index.html index 56efed95..e1a47878 100644 --- a/index.html +++ b/index.html @@ -101,7 +101,7 @@ diff --git a/index.json b/index.json index e5592870..1dd52893 100644 --- a/index.json +++ b/index.json @@ -1,183 +1,18 @@ { - "api/IPA.Utilities.Async.SingleThreadTaskScheduler.html": { - "href": "api/IPA.Utilities.Async.SingleThreadTaskScheduler.html", - "title": "Class SingleThreadTaskScheduler", - "keywords": "Class SingleThreadTaskScheduler A single-threaded task scheduler that runs all of its tasks on the same thread. Inheritance Object TaskScheduler SingleThreadTaskScheduler Implements IDisposable Inherited Members TaskScheduler.TryDequeue(Task) TaskScheduler.FromCurrentSynchronizationContext() TaskScheduler.TryExecuteTask(Task) TaskScheduler.MaximumConcurrencyLevel TaskScheduler.Default TaskScheduler.Current TaskScheduler.Id TaskScheduler.UnobservedTaskException Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class SingleThreadTaskScheduler : TaskScheduler, IDisposable Properties | Improve this Doc View Source IsRunning Gets whether or not the underlying thread has been started. Declaration public bool IsRunning { get; } Property Value Type Description Boolean Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Methods | Improve this Doc View Source Dispose() Disposes this object. This puts the object into an unusable state. Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes this object. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing whether or not to dispose managed objects | Improve this Doc View Source Exit() Terminates the runner thread, and waits for the currently running task to complete. Declaration public IEnumerable Exit() Returns Type Description IEnumerable < Task > an IEnumerable of Task s that did not execute Remarks After this method returns, this object has been disposed and is no longer in a valid state. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source GetScheduledTasks() Throws a NotSupportedException . Declaration protected override IEnumerable GetScheduledTasks() Returns Type Description IEnumerable < Task > nothing Overrides TaskScheduler.GetScheduledTasks() Exceptions Type Condition NotSupportedException Always. | Improve this Doc View Source Join() Waits for the runner thread to complete all tasks in the queue, then exits. Declaration public void Join() Remarks After this method returns, this object has been disposed and is no longer in a valid state. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source QueueTask(Task) Queues a given Task to this scheduler. The Task must> be scheduled for this TaskScheduler by the runtime. Declaration protected override void QueueTask(Task task) Parameters Type Name Description Task task the Task to queue Overrides TaskScheduler.QueueTask(Task) Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source Start() Starts the thread that executes tasks scheduled with this TaskScheduler Declaration public void Start() Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source TryExecuteTaskInline(Task, Boolean) Rejects any attempts to execute a task inline. Declaration protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued) Parameters Type Name Description Task task the task to attempt to execute Boolean taskWasPreviouslyQueued whether the task was previously queued to this scheduler Returns Type Description Boolean false Overrides TaskScheduler.TryExecuteTaskInline(Task, Boolean) Remarks This task scheduler always runs its tasks on the thread that it manages, therefore it doesn't make sense to run it inline. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Utilities.Async.SingleCreationValueCache-2.html": { - "href": "api/IPA.Utilities.Async.SingleCreationValueCache-2.html", - "title": "Class SingleCreationValueCache", - "keywords": "Class SingleCreationValueCache A dictionary-like type intended for thread-safe value caches whose values are created only once ever. Inheritance Object SingleCreationValueCache Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class SingleCreationValueCache Type Parameters Name Description TKey the key type of the cache TValue the value type of the cache Remarks This object basically wraps a ConcurrentDictionary with some special handling to ensure that values are only created once ever, without having multiple parallel constructions. Constructors | Improve this Doc View Source SingleCreationValueCache() Initializes a new instance of the SingleCreationValueCache class that is empty, has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. Declaration public SingleCreationValueCache() | Improve this Doc View Source SingleCreationValueCache(IEnumerable>) Initializes a new instance of the SingleCreationValueCache class that contains elements copied from the specified IEnumerable , has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. Declaration public SingleCreationValueCache(IEnumerable> collection) Parameters Type Name Description IEnumerable < KeyValuePair > collection the IEnumerable whose element are to be used for the new cache Exceptions Type Condition ArgumentNullException when any arguments are null ArgumentException collection contains duplicate keys | Improve this Doc View Source SingleCreationValueCache(IEnumerable>, IEqualityComparer) Initializes a new instance of the SingleCreationValueCache class that contains elements copied from the specified IEnumerable has the default concurrency level, has the default initial capacity, and uses the specified IEqualityComparer . Declaration public SingleCreationValueCache(IEnumerable> collection, IEqualityComparer comparer) Parameters Type Name Description IEnumerable < KeyValuePair > collection the IEnumerable whose elements are to be used for the new cache IEqualityComparer comparer the equality comparer to use when comparing keys Exceptions Type Condition ArgumentNullException collection or comparer is null | Improve this Doc View Source SingleCreationValueCache(IEqualityComparer) Initializes a new instance of the SingleCreationValueCache class that is empty, has the default concurrency level and capacity, and uses the specified IEqualityComparer . Declaration public SingleCreationValueCache(IEqualityComparer comparer) Parameters Type Name Description IEqualityComparer comparer the equality comparer to use when comparing keys Exceptions Type Condition ArgumentNullException comparer is null Properties | Improve this Doc View Source Count Gets the number of elements that this cache contains. Declaration public int Count { get; } Property Value Type Description Int32 | Improve this Doc View Source IsEmpty Gets a value that indicates whether this cache is empty. Declaration public bool IsEmpty { get; } Property Value Type Description Boolean Methods | Improve this Doc View Source Clear() Clears the cache. Declaration public void Clear() | Improve this Doc View Source ContainsKey(TKey) Gets a value indicating whether or not this cache contains key . Declaration public bool ContainsKey(TKey key) Parameters Type Name Description TKey key the key to search for Returns Type Description Boolean true if the cache contains the key, false otherwise | Improve this Doc View Source GetOrAdd(TKey, Func) Gets the value associated with the specified key from the cache. If it does not exist, and no creators are currently running for this key, then the creator is called to create the value and the value is added to the cache. If there is a creator currently running for the key, then this waits for the creator to finish and retrieves the value. Declaration public TValue GetOrAdd(TKey key, Func creator) Parameters Type Name Description TKey key the key to search for Func creator the delegate to use to create the value if it does not exist Returns Type Description TValue the value that was found, or the result of creator | Improve this Doc View Source ToArray() Copies the key-value pairs stored by the cache to a new array, filtering all elements that are currently being created. Declaration public KeyValuePair[] ToArray() Returns Type Description KeyValuePair [] an array containing a snapshot of the key-value pairs contained in this cache | Improve this Doc View Source TryGetValue(TKey, out TValue) Attempts to get the value associated with the specified key from the cache. Declaration public bool TryGetValue(TKey key, out TValue value) Parameters Type Name Description TKey key the key to search for TValue value the value retrieved, if any Returns Type Description Boolean true if the value was found, false otherwise Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Utilities.Async.Coroutines.html": { - "href": "api/IPA.Utilities.Async.Coroutines.html", - "title": "Class Coroutines", - "keywords": "Class Coroutines A class providing coroutine helpers. Inheritance Object Coroutines Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public static class Coroutines Methods | Improve this Doc View Source WaitForTask(Task) Stalls the coroutine until task completes, faults, or is canceled. Declaration public static IEnumerator WaitForTask(Task task) Parameters Type Name Description Task task the Task to wait for Returns Type Description IEnumerator a coroutine waiting for the given task" - }, - "api/IPA.PluginAttribute.html": { - "href": "api/IPA.PluginAttribute.html", - "title": "Class PluginAttribute", - "keywords": "Class PluginAttribute Marks a class as being a BSIPA plugin. Inheritance Object Attribute PluginAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public sealed class PluginAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source PluginAttribute(RuntimeOptions) Initializes a PluginAttribute with the given RuntimeOptions to indicate the runtime capabilities of the plugin. Declaration public PluginAttribute(RuntimeOptions runtimeOptions) Parameters Type Name Description RuntimeOptions runtimeOptions the options to use for this plugin Properties | Improve this Doc View Source RuntimeOptions The RuntimeOptions passed into the constructor of this attribute. Declaration public RuntimeOptions RuntimeOptions { get; } Property Value Type Description RuntimeOptions Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also InitAttribute OnEnableAttribute OnDisableAttribute OnStartAttribute OnExitAttribute" - }, - "api/IPA.Logging.Printers.GZFilePrinter.html": { - "href": "api/IPA.Logging.Printers.GZFilePrinter.html", - "title": "Class GZFilePrinter", - "keywords": "Class GZFilePrinter A LogPrinter abstract class that provides the utilities to write to a GZip file. Inheritance Object LogPrinter GZFilePrinter GlobalLogFilePrinter PluginLogFilePrinter PluginSubLogPrinter Implements IDisposable Inherited Members LogPrinter.Filter LogPrinter.Print(Logger.Level, DateTime, String, String) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public abstract class GZFilePrinter : LogPrinter, IDisposable Fields | Improve this Doc View Source FileWriter The StreamWriter that writes to the GZip file. Declaration protected StreamWriter FileWriter Field Value Type Description StreamWriter the writer to the underlying filestream Methods | Improve this Doc View Source Dispose() Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes the file printer. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing does nothing | Improve this Doc View Source EndPrint() Called at the end of any print session. Declaration public override sealed void EndPrint() Overrides LogPrinter.EndPrint() | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the file to write to. Declaration protected abstract FileInfo GetFileInfo() Returns Type Description FileInfo the file to write to | Improve this Doc View Source StartPrint() Called at the start of any print session. Declaration public override sealed void StartPrint() Overrides LogPrinter.StartPrint() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Logging.Printers.GlobalLogFilePrinter.html": { - "href": "api/IPA.Logging.Printers.GlobalLogFilePrinter.html", - "title": "Class GlobalLogFilePrinter", - "keywords": "Class GlobalLogFilePrinter A printer for all messages to a unified log location. Inheritance Object LogPrinter GZFilePrinter GlobalLogFilePrinter Implements IDisposable Inherited Members GZFilePrinter.FileWriter GZFilePrinter.StartPrint() GZFilePrinter.EndPrint() GZFilePrinter.Dispose() GZFilePrinter.Dispose(Boolean) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class GlobalLogFilePrinter : GZFilePrinter, IDisposable Properties | Improve this Doc View Source Filter Provides a filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the target file. Declaration protected override FileInfo GetFileInfo() Returns Type Description FileInfo the target file to write to Overrides GZFilePrinter.GetFileInfo() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the associated file. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Logging.Printers.ColorlessConsolePrinter.html": { - "href": "api/IPA.Logging.Printers.ColorlessConsolePrinter.html", - "title": "Class ColorlessConsolePrinter", - "keywords": "Class ColorlessConsolePrinter A colorless version of ColoredConsolePrinter , that indiscriminantly prints to standard out. Inheritance Object LogPrinter ColorlessConsolePrinter Inherited Members LogPrinter.StartPrint() LogPrinter.EndPrint() Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class ColorlessConsolePrinter : LogPrinter Properties | Improve this Doc View Source Filter A filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to standard out. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Logging.Logger.LogLevel.html": { - "href": "api/IPA.Logging.Logger.LogLevel.html", - "title": "Enum Logger.LogLevel", - "keywords": "Enum Logger.LogLevel An enum providing log level filters. Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax [Flags] public enum LogLevel : byte Fields Name Description All Shows all messages. CriticalOnly Only shows Critical messages. DebugOnly Only shows Debug messages. DebugUp Shows all messages debug and up. ErrorOnly Only shows Error messages. ErrorUp Shows all messages error and up. InfoOnly Only shows info messages. InfoUp Shows all messages info and up. None Allow no messages through. NoticeOnly Only shows notice messages. NoticeUp Shows all messages Notice and up. TraceOnly Only shows Trace messages. Undefined Used for when the level is undefined. WarningOnly Only shows Warning messages. WarningUp Shows all messages warning and up. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" - }, - "api/IPA.Loader.PluginInitInjector.InjectParameter.html": { - "href": "api/IPA.Loader.PluginInitInjector.InjectParameter.html", - "title": "Delegate PluginInitInjector.InjectParameter", - "keywords": "Delegate PluginInitInjector.InjectParameter A typed injector for a plugin's Init method. When registered, called for all associated types. If it returns null, the default for the type will be used. Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public delegate object InjectParameter(object previous, ParameterInfo param, PluginMetadata meta); Parameters Type Name Description Object previous the previous return value of the function, or null if never called for plugin. ParameterInfo param the ParameterInfo of the parameter being injected. PluginMetadata meta the PluginMetadata for the plugin being loaded. Returns Type Description Object the value to inject into that parameter. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Loader.Features.html": { - "href": "api/IPA.Loader.Features.html", - "title": "", - "keywords": "Classes Feature The root interface for a mod Feature." - }, - "api/IPA.Loader.Features.Feature.html": { - "href": "api/IPA.Loader.Features.Feature.html", - "title": "Class Feature", - "keywords": "Class Feature The root interface for a mod Feature. Inheritance Object Feature Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader.Features Assembly : IPA.Loader.dll Syntax public abstract class Feature Remarks Avoid storing any data in any subclasses. If you do, it may result in a failure to load the feature. Properties | Improve this Doc View Source InvalidMessage The message to be logged when the feature is not valid for a plugin. This should also be set whenever either BeforeLoad(PluginMetadata) or BeforeInit(PluginMetadata) returns false. Declaration public virtual string InvalidMessage { get; protected set; } Property Value Type Description String the message to show when the feature is marked invalid | Improve this Doc View Source StoreOnPlugin Defines whether or not this feature will be accessible from the plugin metadata once loaded. Declaration protected virtual bool StoreOnPlugin { get; } Property Value Type Description Boolean true if this Feature will be stored on the plugin metadata, false otherwise Methods | Improve this Doc View Source AfterInit(PluginMetadata) Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. Declaration public virtual void AfterInit(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin that was just initialized | Improve this Doc View Source AfterInit(PluginMetadata, Object) Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. Declaration public virtual void AfterInit(PluginMetadata plugin, object pluginInstance) Parameters Type Name Description PluginMetadata plugin the plugin that was just initialized Object pluginInstance the instance of the plugin being initialized | Improve this Doc View Source BeforeInit(PluginMetadata) Called before a plugin's Init method is called. This will not be called if there is no Init method. This should never throw an exception. An exception will abort the loading of the plugin with an error. Declaration public virtual bool BeforeInit(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to be initialized Returns Type Description Boolean whether or not to call the Init method | Improve this Doc View Source BeforeLoad(PluginMetadata) Called before a plugin is loaded. This should never throw an exception. An exception will abort the loading of the plugin with an error. Declaration public virtual bool BeforeLoad(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin about to be loaded Returns Type Description Boolean whether or not the plugin should be loaded Remarks The assembly will still be loaded, but the plugin will not be constructed if this returns false . Any features it defines, for example, will still be loaded. | Improve this Doc View Source Evaluate() Evaluates the Feature for use in conditional meta-Features. This should be re-calculated on every call, unless it can be proven to not change. This will be called on every feature that returns true from Initialize(PluginMetadata, String[]) Declaration public virtual bool Evaluate() Returns Type Description Boolean the truthiness of the Feature. | Improve this Doc View Source Initialize(PluginMetadata, String[]) Initializes the feature with the parameters provided in the definition. Note: When no parenthesis are provided, parameters is an empty array. Declaration public abstract bool Initialize(PluginMetadata meta, string[] parameters) Parameters Type Name Description PluginMetadata meta the metadata of the plugin that is being prepared String [] parameters the parameters passed to the feature definition, or null Returns Type Description Boolean true if the feature is valid for the plugin, false otherwise Remarks This gets called BEFORE your Init method. Returning false does not prevent the plugin from being loaded. It simply prevents the feature from being used. | Improve this Doc View Source RequireLoaded(PluginMetadata) Ensures a plugin's assembly is loaded. Do not use unless you need to. Declaration protected void RequireLoaded(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to ensure is loaded. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.ValueConverter-1.html": { - "href": "api/IPA.Config.Stores.ValueConverter-1.html", - "title": "Class ValueConverter", - "keywords": "Class ValueConverter A strongly-typed IValueConverter . Inheritance Object ValueConverter CaseInsensitiveEnumConverter CollectionConverter CustomObjectConverter CustomValueTypeConverter DictionaryConverter EnumConverter IDictionaryConverter IReadOnlyDictionaryConverter NullableConverter NumericEnumConverter AlmostVersionConverter Implements IValueConverter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public abstract class ValueConverter : IValueConverter Type Parameters Name Description T the type of object to handle Methods | Improve this Doc View Source FromValue(Value, Object) Converts the given Value to the object type handled by this converter. Declaration public abstract T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the object that will own the result Returns Type Description T the deserialized object See Also FromValue ( Value , Object ) | Improve this Doc View Source ToValue(T, Object) Converts the given object to a Value . Declaration public abstract Value ToValue(T obj, object parent) Parameters Type Name Description T obj the object to convert Object parent the owning object of obj Returns Type Description Value a representation of obj as a Value structure See Also ToValue ( Object , Object ) Explicit Interface Implementations | Improve this Doc View Source IValueConverter.FromValue(Value, Object) Declaration object IValueConverter.FromValue(Value value, object parent) Parameters Type Name Description Value value Object parent Returns Type Description Object | Improve this Doc View Source IValueConverter.ToValue(Object, Object) Declaration Value IValueConverter.ToValue(object obj, object parent) Parameters Type Name Description Object obj Object parent Returns Type Description Value | Improve this Doc View Source IValueConverter.Type Declaration Type IValueConverter.Type { get; } Returns Type Description Type Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also IValueConverter" - }, - "api/IPA.Config.Stores.IValueConverter.html": { - "href": "api/IPA.Config.Stores.IValueConverter.html", - "title": "Interface IValueConverter", - "keywords": "Interface IValueConverter The base interface for a value converter for use by objects generated by Generated(Config, Boolean) . Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public interface IValueConverter Remarks The object returned from FromValue(Value, Object) , if fed into ToValue(Object, Object) , should return equivalent Value structures. Similarly, if the result of ToValue(Object, Object) is fed into FromValue(Value, Object) , the resulting object should be equivalent to the one passed to ToValue(Object, Object) . The parent parameter to ToValue(Object, Object) and FromValue(Value, Object) should be (ideally) the the top of the serialization tree, or some other generated object in that tree, rather than some arbitrary object in the middle that is not managed by the generatd config system. Converters do not need to perform null checks, as the serializer and deserializer will do that automatically. Properties | Improve this Doc View Source Type Gets the type that this IValueConverter handles. Declaration Type Type { get; } Property Value Type Description Type Methods | Improve this Doc View Source FromValue(Value, Object) Converts the given Value to the object type handled by this converter. Declaration object FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the object that will own the result Returns Type Description Object the deserialized object | Improve this Doc View Source ToValue(Object, Object) Converts the given object to a Value . Declaration Value ToValue(object obj, object parent) Parameters Type Name Description Object obj the object to convert Object parent the owning object of obj Returns Type Description Value a representation of obj as a Value structure Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.GeneratedStore.html": { - "href": "api/IPA.Config.Stores.GeneratedStore.html", - "title": "Class GeneratedStore", - "keywords": "Class GeneratedStore A class providing an extension for Config to make it easy to use generated config stores. Inheritance Object GeneratedStore Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public static class GeneratedStore Fields | Improve this Doc View Source AssemblyVisibilityTarget The name of the assembly that internals must be visible to to allow internal protection. Declaration public const string AssemblyVisibilityTarget = \"IPA.Config.Generated\" Field Value Type Description String Methods | Improve this Doc View Source Create() Creates a generated store outside of the context of the config system. Declaration public static T Create() where T : class Returns Type Description T a generated instance of T implementing functionality described by Generated(Config, Boolean) Type Parameters Name Description T the type to wrap Remarks See Generated(Config, Boolean) for more information about how it behaves. See Also Generated(Config, Boolean) | Improve this Doc View Source Generated(Config, Boolean) Creates a generated IConfigStore of type T , registers it to the Config object, and returns it. This also forces a synchronous config load via LoadSync() if loadSync is true . Declaration public static T Generated(this Config cfg, bool loadSync = true) where T : class Parameters Type Name Description Config cfg the Config to register to Boolean loadSync whether to synchronously load the content, or trigger an async load Returns Type Description T a generated instance of T as a special IConfigStore Type Parameters Name Description T the type to wrap Remarks T must be a public non- sealed class. It can also be internal, but in that case, then your assembly must have the following attribute to allow the generated code to reference it. [assembly: InternalsVisibleTo(IPA.Config.Stores.GeneratedStore.AssemblyVisibilityTarget)] Only fields and properties that are public or protected will be considered, and only properties where both the getter and setter are public or protected are considered. Any fields or properties with an IgnoreAttribute applied to them are also ignored. Having properties be virtual is not strictly necessary, however it allows the generated type to keep track of changes and lock around them so that the config will auto-save. All of the attributes in the IPA.Config.Stores.Attributes namespace are handled as described by them. If the T declares a public or protected, virtual method Changed() , then that method may be called to artificially signal to the runtime that the content of the object has changed. That method will also be called after the write locks are released when a property is set anywhere in the owning tree. This will only be called on the outermost generated object of the config structure, even if the change being signaled is somewhere deep into the tree. Similarly, T can declare a public or protected, virtual method OnReload() , which will be called on the filesystem reader thread after the object has been repopulated with new data values. It will be called after the write lock for this object is released. This will only be called on the outermost generated object of the config structure. Similarly, T can declare a public or protected, virtual method CopyFrom(ConfigType) (the first parameter is the type it is defined on), which may be called to copy the properties from another object of its type easily, and more importantly, as only one change. Its body will be executed after the values have been copied. Similarly, T can declare a public or protected, virtual method ChangeTransaction() returning IDisposable , which may be called to get an object representing a transactional change. This may be used to change a lot of properties at once without triggering a save multiple times. Ideally, this is used in a langword_csharp_using block or declaration. The IDisposable returned from your implementation will have its Dispose() called after Changed() is called, but before the write lock is released. Unless you have a very good reason to use the nested IDisposable , avoid it. If T is marked with NotifyPropertyChangesAttribute , the resulting object will implement INotifyPropertyChanged . Similarly, if T implements INotifyPropertyChanged , the resulting object will implement it and notify it too." - }, - "api/IPA.Config.Stores.Converters.html": { - "href": "api/IPA.Config.Stores.Converters.html", - "title": "", - "keywords": "Classes CaseInsensitiveEnumConverter A converter for an enum of type T , that converts the enum to its string representation and back, ignoring the case of the serialized value for deseiralization. CollectionConverter A base class for all ICollection type converters, providing most of the functionality. CollectionConverter A CollectionConverter which default constructs a converter for use as the value converter. Converter Provides utility functions for custom converters. Converter Provides generic utilities for converters for certain types. CustomObjectConverter A ValueConverter for objects normally serialized to config via Generated(Config, Boolean) . CustomValueTypeConverter A ValueConverter for custom value types, serialized identically to the reference types serialized with Generated(Config, Boolean) . DictionaryConverter A converter for instances of Dictionary . DictionaryConverter A converter for instances of Dictionary , specifying a value converter as a type parameter. EnumConverter A converter for an enum of type T , that converts the enum to its string representation and back. IDictionaryConverter A converter for instances of IDictionary . IDictionaryConverter A converter for instances of IDictionary , specifying a value converter as a type parameter. IListConverter A CollectionConverter for an IList , creating a List when deserializing. IListConverter An IListConverter which default constructs a converter for use as the value converter. IReadOnlyDictionaryConverter A converter for instances of IReadOnlyDictionary . IReadOnlyDictionaryConverter A converter for instances of IReadOnlyDictionary , specifying a value converter as a type parameter. ISetConverter A CollectionConverter for an ISet , creating a HashSet when deserializing. ISetConverter An ISetConverter which default constructs a converter for use as the value converter. ListConverter A CollectionConverter for a List . ListConverter A ListConverter which default constructs a converter for use as the value converter. NullableConverter A converter for a Nullable . NullableConverter A converter for a Nullable that default-constructs a converter of type TConverter to use as the underlying converter. Use this in the UseConverterAttribute . NumericEnumConverter A converter for an enum of type T , that converts the enum to its underlying value for serialization." - }, - "api/IPA.Config.Stores.Converters.NullableConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.NullableConverter-1.html", - "title": "Class NullableConverter", - "keywords": "Class NullableConverter A converter for a Nullable . Inheritance Object ValueConverter < Nullable > NullableConverter NullableConverter Implements IValueConverter Inherited Members ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class NullableConverter : ValueConverter, IValueConverter where T : struct Type Parameters Name Description T the underlying type of the Nullable Constructors | Improve this Doc View Source NullableConverter() Creates a converter with the default converter for the base type. Equivalent to new NullableConverter(Converter.Default) Declaration public NullableConverter() See Also NullableConverter(ValueConverter) Default | Improve this Doc View Source NullableConverter(ValueConverter) Creates a converter with the given underlying ValueConverter . Declaration public NullableConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the undlerlying ValueConverter to use Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value tree to a value. Declaration public override T? FromValue(Value value, object parent) Parameters Type Name Description Value value the Value tree to convert Object parent the object which will own the created object Returns Type Description Nullable the object represented by value Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(Nullable, Object) Converts a nullable T to a Value tree. Declaration public override Value ToValue(T? obj, object parent) Parameters Type Name Description Nullable obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Value tree representing obj . Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Nullable, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html": { - "href": "api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html", - "title": "Class IDictionaryConverter", - "keywords": "Class IDictionaryConverter A converter for instances of IDictionary , specifying a value converter as a type parameter. Inheritance Object ValueConverter < IDictionary < String , TValue>> IDictionaryConverter IDictionaryConverter Implements IValueConverter Inherited Members IDictionaryConverter.BaseConverter IDictionaryConverter.FromValue(Value, Object) IDictionaryConverter.ToValue(IDictionary, Object) ValueConverter>.ToValue(IDictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class IDictionaryConverter : IDictionaryConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description TValue the value type of the dictionary TConverter the converter type for values Constructors | Improve this Doc View Source IDictionaryConverter() Constructs a new IDictionaryConverter with a new instance of TConverter as the value converter. Declaration public IDictionaryConverter() Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.DictionaryConverter-2.html": { - "href": "api/IPA.Config.Stores.Converters.DictionaryConverter-2.html", - "title": "Class DictionaryConverter", - "keywords": "Class DictionaryConverter A converter for instances of Dictionary , specifying a value converter as a type parameter. Inheritance Object ValueConverter < Dictionary < String , TValue>> DictionaryConverter DictionaryConverter Implements IValueConverter Inherited Members DictionaryConverter.BaseConverter DictionaryConverter.FromValue(Value, Object) DictionaryConverter.ToValue(Dictionary, Object) ValueConverter>.ToValue(Dictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class DictionaryConverter : DictionaryConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description TValue the value type of the dictionary TConverter the converter type for values Constructors | Improve this Doc View Source DictionaryConverter() Constructs a new IDictionaryConverter with a new instance of TConverter as the value converter. Declaration public DictionaryConverter() Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.DictionaryConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.DictionaryConverter-1.html", - "title": "Class DictionaryConverter", - "keywords": "Class DictionaryConverter A converter for instances of Dictionary . Inheritance Object ValueConverter < Dictionary < String , TValue>> DictionaryConverter DictionaryConverter Implements IValueConverter Inherited Members ValueConverter>.ToValue(Dictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class DictionaryConverter : ValueConverter>, IValueConverter Type Parameters Name Description TValue the value type of the dictionary Constructors | Improve this Doc View Source DictionaryConverter() Constructs an IDictionaryConverter using the default converter for the value type. Declaration public DictionaryConverter() | Improve this Doc View Source DictionaryConverter(ValueConverter) Constructs an IDictionaryConverter using the specified converter for the value. Declaration public DictionaryConverter(ValueConverter converter) Parameters Type Name Description ValueConverter converter the converter for the value Properties | Improve this Doc View Source BaseConverter Gets the converter for the dictionary's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Map to a Dictionary that is represented by it. Declaration public override Dictionary FromValue(Value value, object parent) Parameters Type Name Description Value value the Map to convert Object parent the parent that will own the resulting object Returns Type Description Dictionary < String , TValue> the deserialized dictionary Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(Dictionary, Object) Serializes a Dictionary into a Map containing its values. Declaration public override Value ToValue(Dictionary obj, object parent) Parameters Type Name Description Dictionary < String , TValue> obj the dictionary to serialize Object parent the object that owns the dictionary Returns Type Description Value the dictionary serialized as a Map Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Collections.Generic.Dictionary, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.Converter.html": { - "href": "api/IPA.Config.Stores.Converters.Converter.html", - "title": "Class Converter", - "keywords": "Class Converter Provides utility functions for custom converters. Inheritance Object Converter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public static class Converter Methods | Improve this Doc View Source FloatValue(Value) Gets the floaing point value of a Value , coercing an Integer if necessary, or null if val is not an Integer or FloatingPoint . Declaration public static decimal? FloatValue(Value val) Parameters Type Name Description Value val the Value to get the floaing point value of Returns Type Description Nullable < Decimal > the floaing point value of val , or null | Improve this Doc View Source IntValue(Value) Gets the integral value of a Value , coercing a FloatingPoint if necessary, or null if val is not an Integer or FloatingPoint . Declaration public static long? IntValue(Value val) Parameters Type Name Description Value val the Value to get the integral value of Returns Type Description Nullable < Int64 > the integral value of val , or null" - }, - "api/IPA.Config.Stores.Converters.Converter-1.html": { - "href": "api/IPA.Config.Stores.Converters.Converter-1.html", - "title": "Class Converter", - "keywords": "Class Converter Provides generic utilities for converters for certain types. Inheritance Object Converter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public static class Converter Type Parameters Name Description T the type of the ValueConverter that this works on Properties | Improve this Doc View Source Default Gets the default ValueConverter for the current type. Declaration public static ValueConverter Default { get; } Property Value Type Description ValueConverter " - }, - "api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html", - "title": "Class CaseInsensitiveEnumConverter", - "keywords": "Class CaseInsensitiveEnumConverter A converter for an enum of type T , that converts the enum to its string representation and back, ignoring the case of the serialized value for deseiralization. Inheritance Object ValueConverter CaseInsensitiveEnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class CaseInsensitiveEnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a Text node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a Text node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Attributes.html": { - "href": "api/IPA.Config.Stores.Attributes.html", - "title": "", - "keywords": "Classes IgnoreAttribute Causes a field or property in an object being wrapped by Generated(Config, Boolean) to be ignored during serialization and deserialization. NonNullableAttribute Indicates that a field or property in an object being wrapped by Generated(Config, Boolean) that would otherwise be nullable (i.e. a reference type or a Nullable type) should never be null, and the member will be ignored if the deserialized value is null . NotifyPropertyChangesAttribute Indicates that the generated subclass of the attribute's target should implement INotifyPropertyChanged . If the type this is applied to already inherits it, this is implied. SerializedNameAttribute Specifies a name for the serialized field or property in an object being wrapped by Generated(Config, Boolean) that is different from the member name itself. UseConverterAttribute Indicates that a given field or property in an object being wrapped by Generated(Config, Boolean) should be serialized and deserialized using the provided converter instead of the default mechanism." - }, - "api/IPA.Config.Data.List.html": { - "href": "api/IPA.Config.Data.List.html", - "title": "Class List", - "keywords": "Class List A list of Value s for serialization by an IConfigProvider . Use List() or From(IEnumerable) to create. Inheritance Object Value List Implements IList < Value > ICollection < Value > IEnumerable < Value > IEnumerable Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class List : Value, IList, ICollection, IEnumerable, IEnumerable Properties | Improve this Doc View Source Count Gets the number of elements in the List . Declaration public int Count { get; } Property Value Type Description Int32 See Also Count | Improve this Doc View Source Item[Int32] Gets the value at the given index in this List . Declaration public Value this[int index] { get; set; } Parameters Type Name Description Int32 index the index to retrieve the Value at Property Value Type Description Value the Value at index See Also Item [ Int32 ] Methods | Improve this Doc View Source Add(Value) Adds a Value to the end of this List . Declaration public void Add(Value item) Parameters Type Name Description Value item the Value to add See Also Add (T) | Improve this Doc View Source AddRange(IEnumerable) Adds a range of Value s to the end of this List . Declaration public void AddRange(IEnumerable vals) Parameters Type Name Description IEnumerable < Value > vals the range of Value s to add | Improve this Doc View Source Clear() Clears the List . Declaration public void Clear() See Also Clear () | Improve this Doc View Source Contains(Value) Checks if the List contains a certian item. Declaration public bool Contains(Value item) Parameters Type Name Description Value item the Value to check for Returns Type Description Boolean true if the item was founc, otherwise false See Also Contains (T) | Improve this Doc View Source CopyTo(Value[], Int32) Copies the Value s in the List to the Array in array . Declaration public void CopyTo(Value[] array, int arrayIndex) Parameters Type Name Description Value [] array the Array to copy to Int32 arrayIndex the starting index to copy to See Also CopyTo (T[], Int32 ) | Improve this Doc View Source GetEnumerator() Gets an enumerator to enumerate the List . Declaration public IEnumerator GetEnumerator() Returns Type Description IEnumerator < Value > an IEnumerator for this List See Also GetEnumerator () | Improve this Doc View Source IndexOf(Value) Gets the index that a given Value is in the List . Declaration public int IndexOf(Value item) Parameters Type Name Description Value item the Value to search for Returns Type Description Int32 the index that the item was at, or -1. See Also IndexOf (T) | Improve this Doc View Source Insert(Int32, Value) Inserts a Value at an index. Declaration public void Insert(int index, Value item) Parameters Type Name Description Int32 index the index to insert at Value item the Value to insert See Also Insert ( Int32 , T) | Improve this Doc View Source Remove(Value) Removes a Value from the List . Declaration public bool Remove(Value item) Parameters Type Name Description Value item the Value to remove Returns Type Description Boolean true if the item was removed, false otherwise See Also Remove (T) | Improve this Doc View Source RemoveAt(Int32) Removes a Value at an index. Declaration public void RemoveAt(int index) Parameters Type Name Description Int32 index the index to remove a Value at See Also RemoveAt ( Int32 ) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a comma-seperated list of the result of ToString() wrapped in square brackets Overrides Value.ToString() Explicit Interface Implementations | Improve this Doc View Source ICollection.IsReadOnly Declaration bool ICollection.IsReadOnly { get; } Returns Type Description Boolean | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements System.Collections.Generic.IList System.Collections.Generic.ICollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods EnumerableExtensions.Prepend(IEnumerable, T) EnumerableExtensions.Append(IEnumerable, T) EnumerableExtensions.NonNull(IEnumerable) EnumerableExtensions.NonNull(IEnumerable, Func) EnumerableExtensions.NonNull(IEnumerable, Func>) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.IListConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.IListConverter-1.html", - "title": "Class IListConverter", - "keywords": "Class IListConverter A CollectionConverter for an IList , creating a List when deserializing. Inheritance Object ValueConverter < IList > CollectionConverter > IListConverter IListConverter Implements IValueConverter Inherited Members CollectionConverter>.BaseConverter CollectionConverter>.Create(Int32, Object) CollectionConverter>.PopulateFromValue(IList, List, Object) CollectionConverter>.FromValue(Value, Object) CollectionConverter>.ToValue(IList, Object) ValueConverter>.ToValue(IList, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class IListConverter : CollectionConverter>, IValueConverter Type Parameters Name Description T the element type of the IList Constructors | Improve this Doc View Source IListConverter() Creates an IListConverter using the default converter for T . Declaration public IListConverter() See Also CollectionConverter() | Improve this Doc View Source IListConverter(ValueConverter) Creates an IListConverter using the specified underlying converter for values. Declaration public IListConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the underlying ValueConverter to use for the values Methods | Improve this Doc View Source Create(Int32, Object) Creates a new IList (a List ) for deserialization. Declaration protected override IList Create(int size, object parent) Parameters Type Name Description Int32 size the size to initialize it to Object parent the object that will own the new object Returns Type Description IList the new IList Overrides IPA.Config.Stores.Converters.CollectionConverter>.Create(System.Int32, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also CollectionConverter " - }, "api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html": { "href": "api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html", "title": "Class NotifyPropertyChangesAttribute", "keywords": "Class NotifyPropertyChangesAttribute Indicates that the generated subclass of the attribute's target should implement INotifyPropertyChanged . If the type this is applied to already inherits it, this is implied. Inheritance Object Attribute NotifyPropertyChangesAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class NotifyPropertyChangesAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Stores.Attributes.NonNullableAttribute.html": { - "href": "api/IPA.Config.Stores.Attributes.NonNullableAttribute.html", - "title": "Class NonNullableAttribute", - "keywords": "Class NonNullableAttribute Indicates that a field or property in an object being wrapped by Generated(Config, Boolean) that would otherwise be nullable (i.e. a reference type or a Nullable type) should never be null, and the member will be ignored if the deserialized value is null . Inheritance Object Attribute NonNullableAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class NonNullableAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.IModPrefs.html": { - "href": "api/IPA.Config.IModPrefs.html", - "title": "Interface IModPrefs", - "keywords": "Interface IModPrefs Allows to get and set preferences for your mod. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [Obsolete(\"Uses IniFile, which uses 16 bit system calls. Use BS Utils INI system for now.\")] public interface IModPrefs Methods | Improve this Doc View Source GetBool(String, String, Boolean, Boolean) Gets a bool from the ini. Declaration bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Boolean | Improve this Doc View Source GetFloat(String, String, Single, Boolean) Gets a float from the ini. Declaration float GetFloat(string section, string name, float defaultValue = 0F, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Single defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Single | Improve this Doc View Source GetInt(String, String, Int32, Boolean) Gets an int from the ini. Declaration int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Int32 | Improve this Doc View Source GetString(String, String, String, Boolean) Gets a string from the ini. Declaration string GetString(string section, string name, string defaultValue = \"\", bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. String defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description String | Improve this Doc View Source HasKey(String, String) Checks whether or not a key exists in the ini. Declaration bool HasKey(string section, string name) Parameters Type Name Description String section Section of the key. String name Name of the key. Returns Type Description Boolean | Improve this Doc View Source SetBool(String, String, Boolean) Sets a bool in the ini. Declaration void SetBool(string section, string name, bool value) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean value Value that should be written. | Improve this Doc View Source SetFloat(String, String, Single) Sets a float in the ini. Declaration void SetFloat(string section, string name, float value) Parameters Type Name Description String section Section of the key. String name Name of the key. Single value Value that should be written. | Improve this Doc View Source SetInt(String, String, Int32) Sets an int in the ini. Declaration void SetInt(string section, string name, int value) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 value Value that should be written. | Improve this Doc View Source SetString(String, String, String) Sets a string in the ini. Declaration void SetString(string section, string name, string value) Parameters Type Name Description String section Section of the key. String name Name of the key. String value Value that should be written. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.IConfigStore.html": { - "href": "api/IPA.Config.IConfigStore.html", - "title": "Interface IConfigStore", - "keywords": "Interface IConfigStore A storage for a config structure. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public interface IConfigStore Properties | Improve this Doc View Source SyncObject A synchronization object for the save thread to wait on for changes. It should be signaled whenever the internal state of the object is changed. The writer will never signal this handle. Declaration WaitHandle SyncObject { get; } Property Value Type Description WaitHandle | Improve this Doc View Source WriteSyncObject A synchronization object for the load thread and accessors to maintain safe synchronization. Any readers should take a read lock with EnterReadLock() or EnterUpgradeableReadLock() , and any writers should take a write lock with EnterWriteLock() . Declaration ReaderWriterLockSlim WriteSyncObject { get; } Property Value Type Description ReaderWriterLockSlim Remarks Read and write are read and write to this object , not to the file on disk. Methods | Improve this Doc View Source ReadFrom(ConfigProvider) Reads the config structure from the given IConfigProvider into the current IConfigStore . Declaration void ReadFrom(ConfigProvider provider) Parameters Type Name Description ConfigProvider provider the provider to read from Remarks The calling code will have entered a write lock on WriteSyncObject when this is called. | Improve this Doc View Source WriteTo(ConfigProvider) Writes the config structure stored by the current IConfigStore to the given IConfigProvider . Declaration void WriteTo(ConfigProvider provider) Parameters Type Name Description ConfigProvider provider the provider to write to Remarks The calling code will have entered a read lock on WriteSyncObject when this is called. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Data.html": { - "href": "api/IPA.Config.Data.html", - "title": "", - "keywords": "Classes Boolean A Value representing a boolean value. FloatingPoint A Value representing a floating point value. This may hold a Decimal 's worth of data. Integer A Value representing an integer. This may hold a Int64 's worth of data. List A list of Value s for serialization by an IConfigProvider . Use List() or From(IEnumerable) to create. Map A ordered map of String to Value for serialization by an IConfigProvider . Use Map() or From(IDictionary) to create. Text A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with String . Value A base value type for config data abstract representations, to be serialized with an IConfigProvider . If a Value is null , then that represents just that: a null in whatever serialization is being used. Also contains factory functions for all derived types." - }, - "api/IPA.Config.Data.Text.html": { - "href": "api/IPA.Config.Data.Text.html", - "title": "Class Text", - "keywords": "Class Text A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with String . Inheritance Object Value Text Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Text : Value Properties | Improve this Doc View Source Value The actual value of this Text object. Declaration public string Value { get; set; } Property Value Type Description String Methods | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a quoted, unescaped string form of Value Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Data.FloatingPoint.html": { - "href": "api/IPA.Config.Data.FloatingPoint.html", - "title": "Class FloatingPoint", - "keywords": "Class FloatingPoint A Value representing a floating point value. This may hold a Decimal 's worth of data. Inheritance Object Value FloatingPoint Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class FloatingPoint : Value Properties | Improve this Doc View Source Value The actual value fo this FloatingPoint object. Declaration public decimal Value { get; set; } Property Value Type Description Decimal Methods | Improve this Doc View Source AsInteger() Coerces this FloatingPoint into an Integer . Declaration public Integer AsInteger() Returns Type Description Integer a Integer representing the closest approximation of Value | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String the result of Value.ToString() Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.ConfigProvider.html": { - "href": "api/IPA.Config.ConfigProvider.html", - "title": "Class ConfigProvider", - "keywords": "Class ConfigProvider A wrapper for an IConfigProvider and the FileInfo to use with it. Inheritance Object ConfigProvider Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public class ConfigProvider Methods | Improve this Doc View Source Load() Loads a Value from disk in whatever format this provider provides and returns it. Declaration public Value Load() Returns Type Description Value the Value loaded | Improve this Doc View Source Store(Value) Stores the Value given to disk in the format specified. Declaration public void Store(Value value) Parameters Type Name Description Value value the Value to store Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, "api/IPA.Config.Config.PreferAttribute.html": { "href": "api/IPA.Config.Config.PreferAttribute.html", "title": "Class Config.PreferAttribute", "keywords": "Class Config.PreferAttribute Specifies that a particular parameter is preferred to use a particular IConfigProvider . If it is not available, also specifies backups. If none are available, the default is used. Inheritance Object Attribute Config.PreferAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Parameter)] public sealed class PreferAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source PreferAttribute(String[]) Constructs the attribute with a specific preference list. Each entry is the extension without a '.' Declaration public PreferAttribute(params string[] preference) Parameters Type Name Description String [] preference The preferences in order of preference. Properties | Improve this Doc View Source PreferenceOrder The order of preference for the config type. Declaration public string[] PreferenceOrder { get; } Property Value Type Description String [] the list of config extensions in order of preference Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Utilities.UnityGame.html": { - "href": "api/IPA.Utilities.UnityGame.html", - "title": "Class UnityGame", - "keywords": "Class UnityGame Provides some basic utility methods and properties of Beat Saber Inheritance Object UnityGame Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class UnityGame Properties | Improve this Doc View Source GameVersion Provides the current game version. Declaration public static AlmostVersion GameVersion { get; } Property Value Type Description AlmostVersion the SemVer version of the game | Improve this Doc View Source InstallPath Gets the path to the game's install directory. Declaration public static string InstallPath { get; } Property Value Type Description String the path of the game install directory | Improve this Doc View Source LibraryPath The path to the Libs folder. Use only if necessary. Declaration public static string LibraryPath { get; } Property Value Type Description String the path to the library directory | Improve this Doc View Source NativeLibraryPath The path to the Libs\\Native folder. Use only if necessary. Declaration public static string NativeLibraryPath { get; } Property Value Type Description String the path to the native library directory | Improve this Doc View Source OnMainThread Checks if the currently running code is running on the Unity main thread. Declaration public static bool OnMainThread { get; } Property Value Type Description Boolean true if the curent thread is the Unity main thread, false otherwise | Improve this Doc View Source PluginsPath The directory to load plugins from. Declaration public static string PluginsPath { get; } Property Value Type Description String the path to the plugin directory | Improve this Doc View Source ReleaseType Gets the UnityGame.Release type of this installation of Beat Saber Declaration public static UnityGame.Release ReleaseType { get; } Property Value Type Description UnityGame.Release the type of release this is Remarks This only gives a | Improve this Doc View Source UserDataPath The path to the UserData folder. Declaration public static string UserDataPath { get; } Property Value Type Description String the path to the user data directory" - }, - "api/IPA.Utilities.UnityGame.Release.html": { - "href": "api/IPA.Utilities.UnityGame.Release.html", - "title": "Enum UnityGame.Release", - "keywords": "Enum UnityGame.Release The different types of releases of the game. Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public enum Release Fields Name Description Other Indicates a non-Steam release. Steam Indicates a Steam release. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + "api/BSIPA_ModList.UI.ViewControllers.html": { + "href": "api/BSIPA_ModList.UI.ViewControllers.html", + "title": "", + "keywords": "Classes MarkdownView A UI component that renders CommonMark Markdown in-game." }, "api/IPA.Utilities.ReflectionUtil.html": { "href": "api/IPA.Utilities.ReflectionUtil.html", @@ -209,15 +44,15 @@ "title": "Delegate PropertyAccessor.Getter", "keywords": "Delegate PropertyAccessor.Getter A getter for a property. Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public delegate U Getter(ref T obj); Parameters Type Name Description T obj the object it is a member of Returns Type Description U the value of the property Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Utilities.EnumerableExtensions.html": { - "href": "api/IPA.Utilities.EnumerableExtensions.html", - "title": "Class EnumerableExtensions", - "keywords": "Class EnumerableExtensions Extensions for IEnumerable that don't currently exist in System.Linq . Inheritance Object EnumerableExtensions Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class EnumerableExtensions Methods | Improve this Doc View Source Append(IEnumerable, T) Adds a value to the end of the sequence. Declaration public static IEnumerable Append(this IEnumerable seq, T app) Parameters Type Name Description IEnumerable seq a sequence of values T app the value to append to seq Returns Type Description IEnumerable a new sequence ending with app Type Parameters Name Description T the type of the elements of seq | Improve this Doc View Source NonNull(IEnumerable) LINQ-style extension method that filters null elements out of an enumeration. Declaration public static IEnumerable NonNull(this IEnumerable self) where T : class Parameters Type Name Description IEnumerable self the enumeration to filter Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration | Improve this Doc View Source NonNull(IEnumerable>) LINQ-style extension method that filters null elements from an enumeration of nullable types. Declaration public static IEnumerable NonNull(this IEnumerable self) where T : struct Parameters Type Name Description IEnumerable < Nullable > self the enumeration to filter Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the underlying type of the nullable enumeration | Improve this Doc View Source NonNull(IEnumerable, Func) LINQ-style extension method that filters null elements out of an enumeration based on a converter. Declaration public static IEnumerable NonNull(this IEnumerable self, Func pred) where U : class Parameters Type Name Description IEnumerable self the enumeration to filter Func pred the predicate to select for filtering Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration U the type to compare to null | Improve this Doc View Source NonNull(IEnumerable, Func>) LINQ-style extension method that filters null elements out of an enumeration based on a converter to a nullable type. Declaration public static IEnumerable NonNull(this IEnumerable self, Func pred) where U : struct Parameters Type Name Description IEnumerable self the enumeration to filter Func > pred the predicate to select for filtering Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration U the type of the predicate's resulting nullable | Improve this Doc View Source Prepend(IEnumerable, T) Adds a value to the beginning of the sequence. Declaration public static IEnumerable Prepend(this IEnumerable seq, T prep) Parameters Type Name Description IEnumerable seq a sequence of values T prep the value to prepend to seq Returns Type Description IEnumerable a new sequence beginning with prep Type Parameters Name Description T the type of the elements of seq" + "api/IPA.Utilities.MethodAccessor-2.html": { + "href": "api/IPA.Utilities.MethodAccessor-2.html", + "title": "Class MethodAccessor", + "keywords": "Class MethodAccessor A type containing utilities for calling non-public methods on an object. Inheritance Object MethodAccessor Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class MethodAccessor where TDelegate : Delegate Type Parameters Name Description T the type to find the methods on TDelegate the delegate type to create, and to use as a signature to search for Methods | Improve this Doc View Source GetDelegate(String) Gets a delegate to the named method with the signature specified by TDelegate . Declaration public static TDelegate GetDelegate(string name) Parameters Type Name Description String name the name of the method to get Returns Type Description TDelegate a delegate that can call the specified method Exceptions Type Condition MissingMethodException if name does not represent the name of a method with the given signature ArgumentException if the method found returns a type incompatable with the return type of TDelegate" }, - "api/IPA.Utilities.CriticalSection.html": { - "href": "api/IPA.Utilities.CriticalSection.html", - "title": "Class CriticalSection", - "keywords": "Class CriticalSection Provides utilities for managing various critical sections. Inheritance Object CriticalSection Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class CriticalSection Methods | Improve this Doc View Source EnterExecuteSection() Enters a critical execution section. Does not nest. Declaration public static void EnterExecuteSection() | Improve this Doc View Source ExecuteSection() Creates an CriticalSection.AutoExecuteSection for automated management of an execute section. Declaration public static CriticalSection.AutoExecuteSection ExecuteSection() Returns Type Description CriticalSection.AutoExecuteSection the new CriticalSection.AutoExecuteSection that manages the section | Improve this Doc View Source ExitExecuteSection() Exits a critical execution section. Does not nest. Declaration public static void ExitExecuteSection()" + "api/IPA.Utilities.FieldAccessor-2.html": { + "href": "api/IPA.Utilities.FieldAccessor-2.html", + "title": "Class FieldAccessor", + "keywords": "Class FieldAccessor A type containing utilities for accessing non-public fields of objects. Inheritance Object FieldAccessor Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class FieldAccessor Type Parameters Name Description T the type that the fields are on U the type of the field to access Methods | Improve this Doc View Source Access(ref T, String) Accesses a field for an object by name. Declaration public static U Access(ref T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U a reference to the object at the field Exceptions Type Condition MissingFieldException if the field does not exist on T See Also GetAccessor(String) | Improve this Doc View Source Get(T, String) Gets the value of a field of an object by name. Declaration public static U Get(T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U the value of the field Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Get(ref T, String) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source Get(ref T, String) Gets the value of a field of an object by name. Declaration public static U Get(ref T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U the value of the field Remarks The only good reason to use this over Get(T, String) is when you are working with a value type, as it prevents a copy. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Get(T, String) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source GetAccessor(String) Gets an FieldAccessor.Accessor for the field named name on T . Declaration public static FieldAccessor.Accessor GetAccessor(string name) Parameters Type Name Description String name the field name Returns Type Description FieldAccessor.Accessor <> an accessor for the field Exceptions Type Condition MissingFieldException if the field does not exist on T | Improve this Doc View Source Set(T, String, U) Sets the value of a field for an object by name. Declaration public static void Set(T obj, string name, U value) Parameters Type Name Description T obj the object to set the field of String name the name of the field U value the value to set it to Remarks This overload cannot be safely used for value types. Use Set(ref T, String, U) instead. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Set(ref T, String, U) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source Set(ref T, String, U) Sets the value of a field for an object by name. Declaration public static void Set(ref T obj, string name, U value) Parameters Type Name Description T obj the object to set the field of String name the name of the field U value the value to set it to Remarks This overload must be used for value types. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Set(T, String, U) Access(ref T, String) GetAccessor(String) See Also PropertyAccessor " }, "api/IPA.Utilities.CriticalSection.AutoExecuteSection.html": { "href": "api/IPA.Utilities.CriticalSection.AutoExecuteSection.html", @@ -229,15 +64,15 @@ "title": "", "keywords": "Classes Coroutines A class providing coroutine helpers. SingleCreationValueCache A dictionary-like type intended for thread-safe value caches whose values are created only once ever. SingleThreadTaskScheduler A single-threaded task scheduler that runs all of its tasks on the same thread. Synchronization Utilities for inter-thread synchronization. All Locker method acquire their object immediately, and should only be used with langword_csharp_using to automatically release them. UnityMainThreadTaskScheduler A task scheduler that runs tasks on the Unity main thread via coroutines. Structs Synchronization.MutexLocker A locker for a Mutex that automatically releases when it is disposed. Create this with Lock(Mutex) . Synchronization.ReaderWriterLockSlimReadLocker A locker for a read lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockRead(ReaderWriterLockSlim) . Synchronization.ReaderWriterLockSlimUpgradableReadLocker A locker for an upgradable read lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockReadUpgradable(ReaderWriterLockSlim) . Synchronization.ReaderWriterLockSlimWriteLocker A locker for a write lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockWrite(ReaderWriterLockSlim) . Synchronization.SemaphoreLocker A locker for a Semaphore that automatically releases when it is disposed. Create this with Lock(Semaphore) . Synchronization.SemaphoreSlimAsyncLocker A locker for a SemaphoreSlim that was created asynchronously and automatically releases when it is disposed. Create this with LockAsync(SemaphoreSlim) . Synchronization.SemaphoreSlimLocker A locker for a SemaphoreSlim that automatically releases when it is disposed. Create this with Lock(SemaphoreSlim) ." }, - "api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html": { - "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html", - "title": "Struct Synchronization.SemaphoreLocker", - "keywords": "Struct Synchronization.SemaphoreLocker A locker for a Semaphore that automatically releases when it is disposed. Create this with Lock(Semaphore) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(Semaphore)" + "api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html": { + "href": "api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html", + "title": "Class UnityMainThreadTaskScheduler", + "keywords": "Class UnityMainThreadTaskScheduler A task scheduler that runs tasks on the Unity main thread via coroutines. Inheritance Object TaskScheduler UnityMainThreadTaskScheduler Implements IDisposable Inherited Members TaskScheduler.TryDequeue(Task) TaskScheduler.FromCurrentSynchronizationContext() TaskScheduler.TryExecuteTask(Task) TaskScheduler.MaximumConcurrencyLevel TaskScheduler.Current TaskScheduler.Id TaskScheduler.UnobservedTaskException Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class UnityMainThreadTaskScheduler : TaskScheduler, IDisposable Properties | Improve this Doc View Source Cancelling Gets whether or not this scheduler is in the process of shutting down. Declaration public bool Cancelling { get; } Property Value Type Description Boolean true if the scheduler is shutting down, false otherwise | Improve this Doc View Source Default Gets the default main thread scheduler that is managed by BSIPA. Declaration public static TaskScheduler Default { get; } Property Value Type Description TaskScheduler a scheduler that is managed by BSIPA | Improve this Doc View Source Factory Gets a factory for creating tasks on Default . Declaration public static TaskFactory Factory { get; } Property Value Type Description TaskFactory a factory for creating tasks on the default scheduler | Improve this Doc View Source IsRunning Gets whether or not this scheduler is currently executing tasks. Declaration public bool IsRunning { get; } Property Value Type Description Boolean true if the scheduler is running, false otherwise | Improve this Doc View Source YieldAfterTasks Gets or sets the number of tasks to execute before yielding back to Unity. Declaration public int YieldAfterTasks { get; set; } Property Value Type Description Int32 the number of tasks to execute per resume | Improve this Doc View Source YieldAfterTime Gets or sets the amount of time to execute tasks for before yielding back to Unity. Default is 0.5ms. Declaration public TimeSpan YieldAfterTime { get; set; } Property Value Type Description TimeSpan the amount of time to execute tasks for before yielding back to Unity Methods | Improve this Doc View Source Cancel() Cancels the scheduler. If the scheduler is currently executing tasks, that batch will finish first. All remaining tasks will be left in the queue. Declaration public void Cancel() Exceptions Type Condition ObjectDisposedException if this scheduler is disposed InvalidOperationException if the scheduler is not running | Improve this Doc View Source Coroutine() When used as a Unity coroutine, runs the scheduler. Otherwise, this is an invalid call. Declaration public IEnumerator Coroutine() Returns Type Description IEnumerator a Unity coroutine Remarks Do not ever call UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator) on this coroutine, nor UnityEngine.MonoBehaviour.StopAllCoroutines() on the behaviour hosting this coroutine. This has no way to detect this, and this object will become invalid. If you need to stop this coroutine, first call Cancel() , then wait for it to exit on its own. Exceptions Type Condition ObjectDisposedException if this scheduler is disposed InvalidOperationException if the scheduler is already running | Improve this Doc View Source Dispose() Disposes this object. This puts the object into an unusable state. Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes this object. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing whether or not to dispose managed objects | Improve this Doc View Source GetScheduledTasks() Throws a NotSupportedException . Declaration protected override IEnumerable GetScheduledTasks() Returns Type Description IEnumerable < Task > nothing Overrides TaskScheduler.GetScheduledTasks() Exceptions Type Condition NotSupportedException Always. | Improve this Doc View Source QueueTask(Task) Queues a given Task to this scheduler. The Task must> be scheduled for this TaskScheduler by the runtime. Declaration protected override void QueueTask(Task task) Parameters Type Name Description Task task the Task to queue Overrides TaskScheduler.QueueTask(Task) Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source TryExecuteTaskInline(Task, Boolean) Rejects any attempts to execute a task inline. Declaration protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued) Parameters Type Name Description Task task the task to attempt to execute Boolean taskWasPreviouslyQueued whether the task was previously queued to this scheduler Returns Type Description Boolean false Overrides TaskScheduler.TryExecuteTaskInline(Task, Boolean) Remarks This task scheduler always runs its tasks on the thread that it manages, therefore it doesn't make sense to run it inline. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html": { - "href": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html", - "title": "Struct Synchronization.ReaderWriterLockSlimWriteLocker", - "keywords": "Struct Synchronization.ReaderWriterLockSlimWriteLocker A locker for a write lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockWrite(ReaderWriterLockSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct ReaderWriterLockSlimWriteLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization LockWrite(ReaderWriterLockSlim)" + "api/IPA.Utilities.Async.Synchronization.html": { + "href": "api/IPA.Utilities.Async.Synchronization.html", + "title": "Class Synchronization", + "keywords": "Class Synchronization Utilities for inter-thread synchronization. All Locker method acquire their object immediately, and should only be used with langword_csharp_using to automatically release them. Inheritance Object Synchronization Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public static class Synchronization Examples The canonical usage of all of the member functions is as follows, substituting Lock(Mutex) with whichever member you want to use, according to your lock type. using var _locker = Synchronization.Lock(mutex); Methods | Improve this Doc View Source Lock(Mutex) Creates a locker for a mutex. Declaration public static Synchronization.MutexLocker Lock(Mutex mut) Parameters Type Name Description Mutex mut the mutex to acquire Returns Type Description Synchronization.MutexLocker the locker to use with langword_csharp_using | Improve this Doc View Source Lock(Semaphore) Creates a locker for a semaphore. Declaration public static Synchronization.SemaphoreLocker Lock(Semaphore sem) Parameters Type Name Description Semaphore sem the semaphore to acquire Returns Type Description Synchronization.SemaphoreLocker the locker to use with langword_csharp_using | Improve this Doc View Source Lock(SemaphoreSlim) Creates a locker for a slim semaphore. Declaration public static Synchronization.SemaphoreSlimLocker Lock(SemaphoreSlim sem) Parameters Type Name Description SemaphoreSlim sem the slim semaphore to acquire Returns Type Description Synchronization.SemaphoreSlimLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockAsync(SemaphoreSlim) Creates a locker for a slim semaphore asynchronously. Declaration public static Task LockAsync(SemaphoreSlim sem) Parameters Type Name Description SemaphoreSlim sem the slim semaphore to acquire async Returns Type Description Task < Synchronization.SemaphoreSlimAsyncLocker > the locker to use with langword_csharp_using | Improve this Doc View Source LockRead(ReaderWriterLockSlim) Creates a locker for a read lock on a ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimReadLocker LockRead(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in read mode Returns Type Description Synchronization.ReaderWriterLockSlimReadLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockReadUpgradable(ReaderWriterLockSlim) Creates a locker for an upgradable read lock on a ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimUpgradableReadLocker LockReadUpgradable(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in upgradable read mode Returns Type Description Synchronization.ReaderWriterLockSlimUpgradableReadLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockWrite(ReaderWriterLockSlim) Creates a locker for a write lock ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimWriteLocker LockWrite(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in write mode Returns Type Description Synchronization.ReaderWriterLockSlimWriteLocker the locker to use with langword_csharp_using" }, "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html": { "href": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html", @@ -249,15 +84,45 @@ "title": "Struct Synchronization.ReaderWriterLockSlimReadLocker", "keywords": "Struct Synchronization.ReaderWriterLockSlimReadLocker A locker for a read lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockRead(ReaderWriterLockSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct ReaderWriterLockSlimReadLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization LockRead(ReaderWriterLockSlim)" }, - "api/IPA.Utilities.AlmostVersionConverter.html": { - "href": "api/IPA.Utilities.AlmostVersionConverter.html", - "title": "Class AlmostVersionConverter", - "keywords": "Class AlmostVersionConverter A ValueConverter for AlmostVersion s. Inheritance Object ValueConverter < AlmostVersion > AlmostVersionConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public sealed class AlmostVersionConverter : ValueConverter, IValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Text node into an AlmostVersion . Declaration public override AlmostVersion FromValue(Value value, object parent) Parameters Type Name Description Value value the Text node to convert Object parent the owner of the new object Returns Type Description AlmostVersion Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(AlmostVersion, Object) Converts an AlmostVersion to a Text node. Declaration public override Value ToValue(AlmostVersion obj, object parent) Parameters Type Name Description AlmostVersion obj the AlmostVersion to convert Object parent the parent of obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(IPA.Utilities.AlmostVersion, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Logging.html": { + "href": "api/IPA.Logging.html", + "title": "", + "keywords": "Classes Logger The logger base class. Provides the format for console logs. LoggerExtensions A class providing extensions for various loggers. LogPrinter The log printer's base class. StandardLogger The default (and standard) Logger implementation. Enums Logger.Level An enum specifying the level of the message. Resembles Syslog. Logger.LogLevel An enum providing log level filters." }, - "api/IPA.Config.Stores.Converters.NullableConverter-2.html": { - "href": "api/IPA.Config.Stores.Converters.NullableConverter-2.html", - "title": "Class NullableConverter", - "keywords": "Class NullableConverter A converter for a Nullable that default-constructs a converter of type TConverter to use as the underlying converter. Use this in the UseConverterAttribute . Inheritance Object ValueConverter < Nullable > NullableConverter NullableConverter Implements IValueConverter Inherited Members NullableConverter.FromValue(Value, Object) NullableConverter.ToValue(Nullable, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class NullableConverter : NullableConverter, IValueConverter where T : struct where TConverter : ValueConverter, new() Type Parameters Name Description T the underlying type of the Nullable TConverter the type to use as an underlying converter Constructors | Improve this Doc View Source NullableConverter() Creates a converter with a new TConverter as the underlying converter. Declaration public NullableConverter() See Also NullableConverter(ValueConverter) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also NullableConverter " + "api/IPA.Logging.StandardLogger.html": { + "href": "api/IPA.Logging.StandardLogger.html", + "title": "Class StandardLogger", + "keywords": "Class StandardLogger The default (and standard) Logger implementation. Inheritance Object Logger StandardLogger Inherited Members Logger.LogFormat Logger.Log(Logger.Level, Exception) Logger.Trace(String) Logger.Trace(Exception) Logger.Debug(Exception) Logger.Info(String) Logger.Info(Exception) Logger.Notice(String) Logger.Notice(Exception) Logger.Warn(String) Logger.Warn(Exception) Logger.Error(String) Logger.Error(Exception) Logger.Critical(String) Logger.Critical(Exception) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public class StandardLogger : Logger Remarks StandardLogger uses a multi-threaded approach to logging. All actual I/O is done on another thread, where all messaged are guaranteed to be logged in the order they appeared. It is up to the printers to format them. This logger supports child loggers. Use GetChildLogger(Logger, String) to safely get a child. The modification of printers on a parent are reflected down the chain. Properties | Improve this Doc View Source ConsoleWriter The TextWriter for writing directly to the console window, or stdout if no window open. Declaration public static TextWriter ConsoleWriter { get; } Property Value Type Description TextWriter a TextWriter for the current primary text output | Improve this Doc View Source IsOnLoggerThread Whether or not the calling thread is the logger thread. Declaration public static bool IsOnLoggerThread { get; } Property Value Type Description Boolean true if the current thread is the logger thread, false otherwise | Improve this Doc View Source PrintFilter All levels defined by this filter will be sent to loggers. All others will be ignored. Declaration public static Logger.LogLevel PrintFilter { get; } Property Value Type Description Logger.LogLevel the global filter level Methods | Improve this Doc View Source AddPrinter(LogPrinter) Adds a log printer to the logger. Declaration public void AddPrinter(LogPrinter printer) Parameters Type Name Description LogPrinter printer the printer to add | Improve this Doc View Source Debug(String) An override to Debug(String) which shows the method that called it. Declaration public override void Debug(string message) Parameters Type Name Description String message the message to log Overrides Logger.Debug(String) See Also Log ( Logger.Level , String ) | Improve this Doc View Source Log(Logger.Level, String) Logs a specific message at a given level. Declaration public override void Log(Logger.Level level, string message) Parameters Type Name Description Logger.Level level the message level String message the message to log Overrides Logger.Log(Logger.Level, String) Extension Methods LoggerExtensions.GetChildLogger(Logger, String) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Logging.Printers.GlobalLogFilePrinter.html": { + "href": "api/IPA.Logging.Printers.GlobalLogFilePrinter.html", + "title": "Class GlobalLogFilePrinter", + "keywords": "Class GlobalLogFilePrinter A printer for all messages to a unified log location. Inheritance Object LogPrinter GZFilePrinter GlobalLogFilePrinter Implements IDisposable Inherited Members GZFilePrinter.FileWriter GZFilePrinter.StartPrint() GZFilePrinter.EndPrint() GZFilePrinter.Dispose() GZFilePrinter.Dispose(Boolean) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class GlobalLogFilePrinter : GZFilePrinter, IDisposable Properties | Improve this Doc View Source Filter Provides a filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the target file. Declaration protected override FileInfo GetFileInfo() Returns Type Description FileInfo the target file to write to Overrides GZFilePrinter.GetFileInfo() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the associated file. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Logging.Printers.ColorlessConsolePrinter.html": { + "href": "api/IPA.Logging.Printers.ColorlessConsolePrinter.html", + "title": "Class ColorlessConsolePrinter", + "keywords": "Class ColorlessConsolePrinter A colorless version of ColoredConsolePrinter , that indiscriminantly prints to standard out. Inheritance Object LogPrinter ColorlessConsolePrinter Inherited Members LogPrinter.StartPrint() LogPrinter.EndPrint() Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class ColorlessConsolePrinter : LogPrinter Properties | Improve this Doc View Source Filter A filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to standard out. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Loader.Reason.html": { + "href": "api/IPA.Loader.Reason.html", + "title": "Enum Reason", + "keywords": "Enum Reason An enum that represents several categories of ignore reasons that the loader may encounter. Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public enum Reason Fields Name Description Conflict The plugin this reason is associated with conflicts with another already loaded plugin. Dependency The plugin this reason is assiciated with is missing a dependency. Duplicate The plugin this reason is associated with has the same ID as another plugin whose information was already loaded. Error An error was thrown either loading plugin information fomr disk, or when initializing the plugin. Feature The plugin this reason is associated with was denied from loading by a Feature that it marks. MissingFiles One of the files that a plugin declared in its manifest is missing. Released The plugin this reason is associated with was released for a game update, but is still considered present for the purposes of updating. Unsupported The plugin this reason is assoicated with is unsupported. See Also IgnoreReason Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + }, + "api/IPA.Loader.PluginMetadata.html": { + "href": "api/IPA.Loader.PluginMetadata.html", + "title": "Class PluginMetadata", + "keywords": "Class PluginMetadata A class which describes a loaded plugin. Inheritance Object PluginMetadata Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public class PluginMetadata Properties | Improve this Doc View Source Assembly The assembly the plugin was loaded from. Declaration public Assembly Assembly { get; } Property Value Type Description Assembly the loaded Assembly that contains the plugin main type | Improve this Doc View Source AssociatedFiles A list of files (that aren't File ) that are associated with this plugin. Declaration public IReadOnlyList AssociatedFiles { get; } Property Value Type Description IReadOnlyList < FileInfo > a list of associated files | Improve this Doc View Source Features The features this plugin requests. Declaration public IReadOnlyList Features { get; } Property Value Type Description IReadOnlyList < Feature > the list of features requested by the plugin | Improve this Doc View Source File The file the plugin was loaded from. Declaration public FileInfo File { get; } Property Value Type Description FileInfo the file the plugin was loaded from | Improve this Doc View Source Id The BeatMods ID of the plugin, or null if it doesn't have one. Declaration public string Id { get; } Property Value Type Description String the updater ID of the plugin | Improve this Doc View Source IsBare Whether or not this metadata object represents a bare manifest. Declaration public bool IsBare { get; } Property Value Type Description Boolean true if it is bare, false otherwise | Improve this Doc View Source Name The human readable name of the plugin. Declaration public string Name { get; } Property Value Type Description String the name of the plugin | Improve this Doc View Source PluginType The TypeDefinition for the main type of the plugin. Declaration public TypeDefinition PluginType { get; } Property Value Type Description TypeDefinition the Cecil definition for the plugin main type | Improve this Doc View Source RuntimeOptions The RuntimeOptions that the plugin specified in its PluginAttribute . Declaration public RuntimeOptions RuntimeOptions { get; } Property Value Type Description RuntimeOptions | Improve this Doc View Source Version The version of the plugin. Declaration public SemVer.Version Version { get; } Property Value Type Description SemVer.Version the version of the plugin Methods | Improve this Doc View Source ToString() Gets all of the metadata as a readable string. Declaration public override string ToString() Returns Type Description String the readable printable metadata string Overrides Object.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Loader.PluginInitInjector.InjectParameter.html": { + "href": "api/IPA.Loader.PluginInitInjector.InjectParameter.html", + "title": "Delegate PluginInitInjector.InjectParameter", + "keywords": "Delegate PluginInitInjector.InjectParameter A typed injector for a plugin's Init method. When registered, called for all associated types. If it returns null, the default for the type will be used. Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public delegate object InjectParameter(object previous, ParameterInfo param, PluginMetadata meta); Parameters Type Name Description Object previous the previous return value of the function, or null if never called for plugin. ParameterInfo param the ParameterInfo of the parameter being injected. PluginMetadata meta the PluginMetadata for the plugin being loaded. Returns Type Description Object the value to inject into that parameter. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Loader.IgnoreReason.html": { + "href": "api/IPA.Loader.IgnoreReason.html", + "title": "Struct IgnoreReason", + "keywords": "Struct IgnoreReason A structure describing the reason that a plugin was ignored. Inherited Members ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public struct IgnoreReason Constructors | Improve this Doc View Source IgnoreReason(Reason, String, Exception, PluginMetadata) Initializes an IgnoreReason with the provided data. Declaration public IgnoreReason(Reason reason, string reasonText = null, Exception error = null, PluginMetadata relatedTo = null) Parameters Type Name Description Reason reason the Reason enum value that describes this reason String reasonText the textual description of this ignore reason, if any Exception error the Exception that caused this IgnoreReason , if any PluginMetadata relatedTo the PluginMetadata this reason is related to, if any Properties | Improve this Doc View Source Error Gets the Exception that caused this plugin to be ignored, if any. Declaration public Exception Error { get; } Property Value Type Description Exception | Improve this Doc View Source Reason Gets the ignore reason, as represented by the Reason enum. Declaration public Reason Reason { get; } Property Value Type Description Reason | Improve this Doc View Source ReasonText Gets the textual description of the particular ignore reason. This will typically include details about why the plugin was ignored, if it is present. Declaration public string ReasonText { get; } Property Value Type Description String | Improve this Doc View Source RelatedTo Gets the metadata of the plugin that this ignore was related to, if any. Declaration public PluginMetadata RelatedTo { get; } Property Value Type Description PluginMetadata Methods | Improve this Doc View Source Equals(IgnoreReason) Compares this IgnoreReason with other for equality. Declaration public bool Equals(IgnoreReason other) Parameters Type Name Description IgnoreReason other the reason to compare to Returns Type Description Boolean true if the two reasons compare equal, false otherwise | Improve this Doc View Source Equals(Object) Declaration public override bool Equals(object obj) Parameters Type Name Description Object obj Returns Type Description Boolean Overrides ValueType.Equals(Object) | Improve this Doc View Source GetHashCode() Declaration public override int GetHashCode() Returns Type Description Int32 Overrides ValueType.GetHashCode() Operators | Improve this Doc View Source Equality(IgnoreReason, IgnoreReason) Checks if two IgnoreReason s are equal. Declaration public static bool operator ==(IgnoreReason left, IgnoreReason right) Parameters Type Name Description IgnoreReason left the first IgnoreReason to compare IgnoreReason right the second IgnoreReason to compare Returns Type Description Boolean true if the two reasons compare equal, false otherwise | Improve this Doc View Source Inequality(IgnoreReason, IgnoreReason) Checks if two IgnoreReason s are not equal. Declaration public static bool operator !=(IgnoreReason left, IgnoreReason right) Parameters Type Name Description IgnoreReason left the first IgnoreReason to compare IgnoreReason right the second IgnoreReason to compare Returns Type Description Boolean true if the two reasons are not equal, false otherwise Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.Config.Stores.Converters.ListConverter-1.html": { "href": "api/IPA.Config.Stores.Converters.ListConverter-1.html", @@ -279,145 +144,65 @@ "title": "Class IListConverter", "keywords": "Class IListConverter An IListConverter which default constructs a converter for use as the value converter. Inheritance Object ValueConverter < IList > CollectionConverter > IListConverter IListConverter Implements IValueConverter Inherited Members IListConverter.Create(Int32, Object) CollectionConverter>.BaseConverter CollectionConverter>.Create(Int32, Object) CollectionConverter>.PopulateFromValue(IList, List, Object) CollectionConverter>.FromValue(Value, Object) CollectionConverter>.ToValue(IList, Object) ValueConverter>.ToValue(IList, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class IListConverter : IListConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description T the value type of the collection TConverter the type of the converter to use for T Constructors | Improve this Doc View Source IListConverter() Creates an IListConverter using a default constructed TConverter element type. Equivalent to calling IListConverter(ValueConverter) with a default-constructed TConverter . Declaration public IListConverter() See Also IListConverter(ValueConverter) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also IListConverter " }, - "api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html", - "title": "Class IDictionaryConverter", - "keywords": "Class IDictionaryConverter A converter for instances of IDictionary . Inheritance Object ValueConverter < IDictionary < String , TValue>> IDictionaryConverter IDictionaryConverter Implements IValueConverter Inherited Members ValueConverter>.ToValue(IDictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class IDictionaryConverter : ValueConverter>, IValueConverter Type Parameters Name Description TValue the value type of the dictionary Constructors | Improve this Doc View Source IDictionaryConverter() Constructs an IDictionaryConverter using the default converter for the value type. Declaration public IDictionaryConverter() | Improve this Doc View Source IDictionaryConverter(ValueConverter) Constructs an IDictionaryConverter using the specified converter for the value. Declaration public IDictionaryConverter(ValueConverter converter) Parameters Type Name Description ValueConverter converter the converter for the value Properties | Improve this Doc View Source BaseConverter Gets the converter for the dictionary's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Map to an IDictionary that is represented by it. Declaration public override IDictionary FromValue(Value value, object parent) Parameters Type Name Description Value value the Map to convert Object parent the parent that will own the resulting object Returns Type Description IDictionary < String , TValue> the deserialized dictionary Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(IDictionary, Object) Serializes an IDictionary into a Map containing its values. Declaration public override Value ToValue(IDictionary obj, object parent) Parameters Type Name Description IDictionary < String , TValue> obj the dictionary to serialize Object parent the object that owns the dictionary Returns Type Description Value the dictionary serialized as a Map Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Collections.Generic.IDictionary, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Stores.Converters.EnumConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.EnumConverter-1.html", - "title": "Class EnumConverter", - "keywords": "Class EnumConverter A converter for an enum of type T , that converts the enum to its string representation and back. Inheritance Object ValueConverter EnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class EnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a Text node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a Text node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, "api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html": { "href": "api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html", "title": "Class CustomValueTypeConverter", "keywords": "Class CustomValueTypeConverter A ValueConverter for custom value types, serialized identically to the reference types serialized with Generated(Config, Boolean) . Inheritance Object ValueConverter CustomValueTypeConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class CustomValueTypeConverter : ValueConverter, IValueConverter where T : struct Type Parameters Name Description T the type of the value to convert Methods | Improve this Doc View Source Deserialize(Value, Object) Deserializes value into a T with the given parent . Declaration public static T Deserialize(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value See Also FromValue ( Value , Object ) | Improve this Doc View Source FromValue(Value, Object) Deserializes value into a T with the given parent . Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) See Also FromValue ( Value , Object ) | Improve this Doc View Source Serialize(T) Serializes obj into a corresponding Value structure. Declaration public static Value Serialize(T obj) Parameters Type Name Description T obj the object to serialize Returns Type Description Value the Value tree that represents obj See Also ToValue (T, Object ) | Improve this Doc View Source ToValue(T, Object) Serializes obj into a Value structure, given parent . Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the object to serialize Object parent the parent object that owns obj Returns Type Description Value the Value tree that represents obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) See Also ToValue (T, Object ) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Data.Value.html": { - "href": "api/IPA.Config.Data.Value.html", - "title": "Class Value", - "keywords": "Class Value A base value type for config data abstract representations, to be serialized with an IConfigProvider . If a Value is null , then that represents just that: a null in whatever serialization is being used. Also contains factory functions for all derived types. Inheritance Object Value Boolean FloatingPoint Integer List Map Text Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public abstract class Value Methods | Improve this Doc View Source Bool(Boolean) Creates a new Boolean wrapping a Boolean . Declaration public static Boolean Bool(bool val) Parameters Type Name Description Boolean val the value to wrap Returns Type Description Boolean a Boolean wrapping val See Also From(Boolean) | Improve this Doc View Source Float(Decimal) Creates a new FloatingPoint wrapping a Decimal . Declaration public static FloatingPoint Float(decimal val) Parameters Type Name Description Decimal val the value to wrap Returns Type Description FloatingPoint a FloatingPoint wrapping val See Also From(Decimal) | Improve this Doc View Source From(Boolean) Creates a new Value wrapping a Boolean . Declaration public static Boolean From(bool val) Parameters Type Name Description Boolean val the value to wrap Returns Type Description Boolean a Boolean wrapping val See Also Bool(Boolean) | Improve this Doc View Source From(IDictionary) Creates a new Map holding the content of an IDictionary of String to Value . Declaration public static Map From(IDictionary vals) Parameters Type Name Description IDictionary < String , Value > vals the dictionary of Value s to initialize the Map wtih Returns Type Description Map a Map containing the content of vals See Also Map() From(IEnumerable>) | Improve this Doc View Source From(IEnumerable) Creates a new List holding the content of an IEnumerable of Value . Declaration public static List From(IEnumerable vals) Parameters Type Name Description IEnumerable < Value > vals the Value s to initialize the List with Returns Type Description List a List containing the content of vals See Also List() | Improve this Doc View Source From(IEnumerable>) Creates a new Map holding the content of an IEnumerable of KeyValuePair of String to Value . Declaration public static Map From(IEnumerable> vals) Parameters Type Name Description IEnumerable < KeyValuePair < String , Value >> vals the enumerable of KeyValuePair of name to Value Returns Type Description Map a Map containing the content of vals See Also Map() From(IDictionary) | Improve this Doc View Source From(Decimal) Creates a new Value wrapping a Double . Declaration public static FloatingPoint From(decimal val) Parameters Type Name Description Decimal val the value to wrap Returns Type Description FloatingPoint a FloatingPoint wrapping val See Also Float(Decimal) | Improve this Doc View Source From(Int64) Creates a new Value wrapping a Int64 . Declaration public static Integer From(long val) Parameters Type Name Description Int64 val the value to wrap Returns Type Description Integer a Integer wrapping val See Also Integer(Int64) | Improve this Doc View Source From(String) Creates a new Value representing a String . Declaration public static Text From(string val) Parameters Type Name Description String val the value to wrap Returns Type Description Text a Text wrapping val See Also Text(String) | Improve this Doc View Source Integer(Int64) Creates a new Integer wrapping a Int64 . Declaration public static Integer Integer(long val) Parameters Type Name Description Int64 val the value to wrap Returns Type Description Integer a Integer wrapping val See Also From(Int64) | Improve this Doc View Source List() Creates an empty List() . Declaration public static List List() Returns Type Description List an empty List() See Also From(IEnumerable) | Improve this Doc View Source Map() Creates an empty Map() . Declaration public static Map Map() Returns Type Description Map an empty Map() See Also From(IDictionary) From(IEnumerable>) | Improve this Doc View Source Null() Creates a Null Value . Declaration public static Value Null() Returns Type Description Value null | Improve this Doc View Source Text(String) Creates a new Text object wrapping a String . Declaration public static Text Text(string val) Parameters Type Name Description String val the value to wrap Returns Type Description Text a Text wrapping val See Also From(String) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public abstract override string ToString() Returns Type Description String a human-readable string containing the value provided Overrides Object.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html", + "title": "Class CustomObjectConverter", + "keywords": "Class CustomObjectConverter A ValueConverter for objects normally serialized to config via Generated(Config, Boolean) . Inheritance Object ValueConverter CustomObjectConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class CustomObjectConverter : ValueConverter, IValueConverter where T : class Type Parameters Name Description T the same type parameter that would be passed into Generated(Config, Boolean) Methods | Improve this Doc View Source Deserialize(Value, Object) Deserializes value into a T with the given parent . Declaration public static T Deserialize(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value See Also FromValue ( Value , Object ) | Improve this Doc View Source FromValue(Value, Object) Deserializes value into a T with the given parent . Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) See Also FromValue ( Value , Object ) | Improve this Doc View Source Serialize(T, Object) Serializes obj into a Value structure, given parent . Declaration public static Value Serialize(T obj, object parent) Parameters Type Name Description T obj the object to serialize Object parent the parent object that owns obj Returns Type Description Value the Value tree that represents obj See Also ToValue (T, Object ) | Improve this Doc View Source ToValue(T, Object) Serializes obj into a Value structure, given parent . Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the object to serialize Object parent the parent object that owns obj Returns Type Description Value the Value tree that represents obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) See Also ToValue (T, Object ) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Generated ( Config , Boolean )" }, - "api/IPA.Config.Data.Map.html": { - "href": "api/IPA.Config.Data.Map.html", - "title": "Class Map", - "keywords": "Class Map A ordered map of String to Value for serialization by an IConfigProvider . Use Map() or From(IDictionary) to create. Inheritance Object Value Map Implements IDictionary < String , Value > ICollection < KeyValuePair < String , Value >> IEnumerable < KeyValuePair < String , Value >> IEnumerable Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Map : Value, IDictionary, ICollection>, IEnumerable>, IEnumerable Properties | Improve this Doc View Source Count Gets the number of key-value pairs in this Map . Declaration public int Count { get; } Property Value Type Description Int32 See Also Count | Improve this Doc View Source Item[String] Accesses the Value at key in the map. Declaration public Value this[string key] { get; set; } Parameters Type Name Description String key the key to get the value associated with Property Value Type Description Value the value associated with the key See Also Item [TKey] | Improve this Doc View Source Keys Gets a collection of the keys for the Map . Declaration public ICollection Keys { get; } Property Value Type Description ICollection < String > See Also Keys | Improve this Doc View Source Values Gets a collection of the values in the Map . Declaration public ICollection Values { get; } Property Value Type Description ICollection < Value > Remarks Unlike all other iterables given by Map , this does not guarantee that order is maintained. See Also Values Methods | Improve this Doc View Source Add(String, Value) Adds a new Value with a given key. Declaration public void Add(string key, Value value) Parameters Type Name Description String key the key to put the value at Value value the Value to add See Also Add (TKey, TValue) | Improve this Doc View Source Clear() Clears the Map of its key-value pairs. Declaration public void Clear() See Also Clear () | Improve this Doc View Source ContainsKey(String) Checks if the Map contains a given key . Declaration public bool ContainsKey(string key) Parameters Type Name Description String key the key to check for Returns Type Description Boolean true if the key exists, otherwise false See Also ContainsKey (TKey) | Improve this Doc View Source GetEnumerator() Enumerates the Map 's key-value pairs. Declaration public IEnumerator> GetEnumerator() Returns Type Description IEnumerator < KeyValuePair < String , Value >> an IEnumerator of key-value pairs in this Map See Also GetEnumerator () | Improve this Doc View Source Remove(String) Removes the object associated with a key in this Map . Declaration public bool Remove(string key) Parameters Type Name Description String key the key to remove Returns Type Description Boolean true if the key existed, false otherwise See Also Remove (TKey) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a JSON-like set of key-value pairs Overrides Value.ToString() | Improve this Doc View Source TryGetValue(String, out Value) Gets the value associated with the specified key. Declaration public bool TryGetValue(string key, out Value value) Parameters Type Name Description String key the key of the value to get Value value the target location of the retrieved object Returns Type Description Boolean true if the key was found and value set, false otherwise See Also TryGetValue (TKey, TValue) Explicit Interface Implementations | Improve this Doc View Source ICollection>.Add(KeyValuePair) Declaration void ICollection>.Add(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item | Improve this Doc View Source ICollection>.Contains(KeyValuePair) Declaration bool ICollection>.Contains(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item Returns Type Description Boolean | Improve this Doc View Source ICollection>.CopyTo(KeyValuePair[], Int32) Declaration void ICollection>.CopyTo(KeyValuePair[] array, int arrayIndex) Parameters Type Name Description KeyValuePair < String , Value >[] array Int32 arrayIndex | Improve this Doc View Source ICollection>.IsReadOnly Declaration bool ICollection>.IsReadOnly { get; } Returns Type Description Boolean | Improve this Doc View Source ICollection>.Remove(KeyValuePair) Declaration bool ICollection>.Remove(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item Returns Type Description Boolean | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements System.Collections.Generic.IDictionary System.Collections.Generic.ICollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods EnumerableExtensions.Prepend(IEnumerable, T) EnumerableExtensions.Append(IEnumerable, T) EnumerableExtensions.NonNull(IEnumerable, Func) EnumerableExtensions.NonNull(IEnumerable, Func>) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Config.Stores.Converters.CollectionConverter-3.html": { + "href": "api/IPA.Config.Stores.Converters.CollectionConverter-3.html", + "title": "Class CollectionConverter", + "keywords": "Class CollectionConverter A CollectionConverter which default constructs a converter for use as the value converter. Inheritance Object ValueConverter CollectionConverter CollectionConverter Implements IValueConverter Inherited Members CollectionConverter.BaseConverter CollectionConverter.Create(Int32, Object) CollectionConverter.PopulateFromValue(TCollection, List, Object) CollectionConverter.FromValue(Value, Object) CollectionConverter.ToValue(TCollection, Object) ValueConverter.ToValue(TCollection, Object) ValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class CollectionConverter : CollectionConverter, IValueConverter where TCollection : ICollection where TConverter : ValueConverter, new() Type Parameters Name Description T the value type of the collection TCollection the type of the colleciton TConverter the type of the converter to use for T Constructors | Improve this Doc View Source CollectionConverter() Creates a CollectionConverter using a default constructed TConverter element type. Equivalent to calling CollectionConverter(ValueConverter) with a default-constructed TConverter . Declaration public CollectionConverter() See Also CollectionConverter(ValueConverter) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also CollectionConverter " + }, + "api/IPA.Config.Stores.Attributes.IgnoreAttribute.html": { + "href": "api/IPA.Config.Stores.Attributes.IgnoreAttribute.html", + "title": "Class IgnoreAttribute", + "keywords": "Class IgnoreAttribute Causes a field or property in an object being wrapped by Generated(Config, Boolean) to be ignored during serialization and deserialization. Inheritance Object Attribute IgnoreAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class IgnoreAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.ModPrefs.html": { + "href": "api/IPA.Config.ModPrefs.html", + "title": "Class ModPrefs", + "keywords": "Class ModPrefs Allows to get and set preferences for your mod. Inheritance Object ModPrefs Implements IModPrefs Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [Obsolete(\"Uses IniFile, which uses 16 bit system calls. Use BS Utils INI system for now.\")] public class ModPrefs : IModPrefs Constructors | Improve this Doc View Source ModPrefs(PluginMetadata) Constructs a ModPrefs object for the provide plugin. Declaration public ModPrefs(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to get the preferences file for Methods | Improve this Doc View Source GetBool(String, String, Boolean, Boolean) Gets a bool from the ini. Declaration public static bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Boolean | Improve this Doc View Source GetFloat(String, String, Single, Boolean) Gets a float from the ini. Declaration public static float GetFloat(string section, string name, float defaultValue = 0F, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Single defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Single | Improve this Doc View Source GetInt(String, String, Int32, Boolean) Gets an int from the ini. Declaration public static int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Int32 | Improve this Doc View Source GetString(String, String, String, Boolean) Gets a string from the ini. Declaration public static string GetString(string section, string name, string defaultValue = \"\", bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. String defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description String | Improve this Doc View Source HasKey(String, String) Checks whether or not a key exists in the ini. Declaration public static bool HasKey(string section, string name) Parameters Type Name Description String section Section of the key. String name Name of the key. Returns Type Description Boolean | Improve this Doc View Source SetBool(String, String, Boolean) Sets a bool in the ini. Declaration public static void SetBool(string section, string name, bool value) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean value Value that should be written. | Improve this Doc View Source SetFloat(String, String, Single) Sets a float in the ini. Declaration public static void SetFloat(string section, string name, float value) Parameters Type Name Description String section Section of the key. String name Name of the key. Single value Value that should be written. | Improve this Doc View Source SetInt(String, String, Int32) Sets an int in the ini. Declaration public static void SetInt(string section, string name, int value) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 value Value that should be written. | Improve this Doc View Source SetString(String, String, String) Sets a string in the ini. Declaration public static void SetString(string section, string name, string value) Parameters Type Name Description String section Section of the key. String name Name of the key. String value Value that should be written. Explicit Interface Implementations | Improve this Doc View Source IModPrefs.GetBool(String, String, Boolean, Boolean) Declaration bool IModPrefs.GetBool(string section, string name, bool defaultValue, bool autoSave) Parameters Type Name Description String section String name Boolean defaultValue Boolean autoSave Returns Type Description Boolean | Improve this Doc View Source IModPrefs.GetFloat(String, String, Single, Boolean) Declaration float IModPrefs.GetFloat(string section, string name, float defaultValue, bool autoSave) Parameters Type Name Description String section String name Single defaultValue Boolean autoSave Returns Type Description Single | Improve this Doc View Source IModPrefs.GetInt(String, String, Int32, Boolean) Declaration int IModPrefs.GetInt(string section, string name, int defaultValue, bool autoSave) Parameters Type Name Description String section String name Int32 defaultValue Boolean autoSave Returns Type Description Int32 | Improve this Doc View Source IModPrefs.GetString(String, String, String, Boolean) Declaration string IModPrefs.GetString(string section, string name, string defaultValue, bool autoSave) Parameters Type Name Description String section String name String defaultValue Boolean autoSave Returns Type Description String | Improve this Doc View Source IModPrefs.HasKey(String, String) Declaration bool IModPrefs.HasKey(string section, string name) Parameters Type Name Description String section String name Returns Type Description Boolean | Improve this Doc View Source IModPrefs.SetBool(String, String, Boolean) Declaration void IModPrefs.SetBool(string section, string name, bool value) Parameters Type Name Description String section String name Boolean value | Improve this Doc View Source IModPrefs.SetFloat(String, String, Single) Declaration void IModPrefs.SetFloat(string section, string name, float value) Parameters Type Name Description String section String name Single value | Improve this Doc View Source IModPrefs.SetInt(String, String, Int32) Declaration void IModPrefs.SetInt(string section, string name, int value) Parameters Type Name Description String section String name Int32 value | Improve this Doc View Source IModPrefs.SetString(String, String, String) Declaration void IModPrefs.SetString(string section, string name, string value) Parameters Type Name Description String section String name String value Implements IModPrefs Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.IConfigProvider.html": { + "href": "api/IPA.Config.IConfigProvider.html", + "title": "Interface IConfigProvider", + "keywords": "Interface IConfigProvider An interface for configuration providers. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public interface IConfigProvider Remarks Implementers must provide a default constructor. Do not assume that File will ever be set for a given object. Implementers are expected to preserve the typing of values passed to Store(Value, FileInfo) when returned from Load(FileInfo) . The only exceptions to this are the numeric types, Integer and FloatingPoint , since they can be coerced to each other with AsFloat() and AsInteger() respectively. The provider should however store and recover Integer with as much precision as is possible. For example, a JSON provider may decide to decode all numbers that have an integral value, even if they were originally FloatingPoint , as Integer . This is reasonable, as Integer is more precise, particularly with larger values, than FloatingPoint . Properties | Improve this Doc View Source Extension Gets the extension without a dot to use for files handled by this provider. Declaration string Extension { get; } Property Value Type Description String Remarks This must work immediately, and is used to generate the FileInfo used to set File . Methods | Improve this Doc View Source Load(FileInfo) Loads a Value from disk in whatever format this provider provides and returns it. Declaration Value Load(FileInfo file) Parameters Type Name Description FileInfo file the file to read from Returns Type Description Value the Value loaded | Improve this Doc View Source Store(Value, FileInfo) Stores the Value given to disk in the format specified. Declaration void Store(Value value, FileInfo file) Parameters Type Name Description Value value the Value to store FileInfo file the file to write to Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.Config.Data.Integer.html": { "href": "api/IPA.Config.Data.Integer.html", "title": "Class Integer", "keywords": "Class Integer A Value representing an integer. This may hold a Int64 's worth of data. Inheritance Object Value Integer Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Integer : Value Properties | Improve this Doc View Source Value The actual value of the Integer object. Declaration public long Value { get; set; } Property Value Type Description Int64 Methods | Improve this Doc View Source AsFloat() Coerces this Integer into a FloatingPoint . Declaration public FloatingPoint AsFloat() Returns Type Description FloatingPoint a FloatingPoint representing the closest approximation of Value | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String the result of Value.ToString() Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Data.Boolean.html": { - "href": "api/IPA.Config.Data.Boolean.html", - "title": "Class Boolean", - "keywords": "Class Boolean A Value representing a boolean value. Inheritance Object Value Boolean Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Boolean : Value Properties | Improve this Doc View Source Value The actual value fo this Boolean object. Declaration public bool Value { get; set; } Property Value Type Description Boolean Methods | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String the result of Value.ToString().ToLower() Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Config.Config.html": { - "href": "api/IPA.Config.Config.html", - "title": "Class Config", - "keywords": "Class Config An abstraction of a config file on disk, which handles synchronizing between a memory representation and the disk representation. Inheritance Object Config Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public class Config Properties | Improve this Doc View Source Name Gets the name associated with this Config object. Declaration public string Name { get; } Property Value Type Description String | Improve this Doc View Source Provider Gets the IConfigProvider associated with this Config object. Declaration public IConfigProvider Provider { get; } Property Value Type Description IConfigProvider Methods | Improve this Doc View Source GetConfigFor(String, String[]) Gets a Config object using the specified list of preferred config types. Declaration public static Config GetConfigFor(string configName, params string[] extensions) Parameters Type Name Description String configName the name of the mod for this config String [] extensions the preferred config types to try to get Returns Type Description Config a Config using the requested format, or of type JSON. | Improve this Doc View Source LoadAsync() Forces an asynchronous load from disk. Declaration public Task LoadAsync() Returns Type Description Task | Improve this Doc View Source LoadSync() Forces a synchronous load from disk. Declaration public void LoadSync() | Improve this Doc View Source Register(Type) Registers a IConfigProvider to use for configs. Declaration public static void Register(Type type) Parameters Type Name Description Type type the type to register | Improve this Doc View Source Register() Registers a IConfigProvider to use for configs. Declaration public static void Register() where T : IConfigProvider Type Parameters Name Description T the type to register | Improve this Doc View Source SetStore(IConfigStore) Sets this object's IConfigStore . Can only be called once. Declaration public void SetStore(IConfigStore store) Parameters Type Name Description IConfigStore store the IConfigStore to add to this instance Exceptions Type Condition InvalidOperationException If this was called before. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) GeneratedStore.Generated(Config, Boolean)" - }, - "api/IPA.Config.Config.NameAttribute.html": { - "href": "api/IPA.Config.Config.NameAttribute.html", - "title": "Class Config.NameAttribute", - "keywords": "Class Config.NameAttribute Specifies a preferred config name, instead of using the plugin's name. Inheritance Object Attribute Config.NameAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Parameter)] public sealed class NameAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source NameAttribute(String) Constructs the attribute with a specific name. Declaration public NameAttribute(string name) Parameters Type Name Description String name the name to use for the config. Properties | Improve this Doc View Source Name The name to use for the config. Declaration public string Name { get; } Property Value Type Description String the name to use for the config Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/BSIPA_ModList.UI.ViewControllers.html": { - "href": "api/BSIPA_ModList.UI.ViewControllers.html", - "title": "", - "keywords": "Classes MarkdownView A UI component that renders CommonMark Markdown in-game." + "api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html": { + "href": "api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html", + "title": "Class MarkdownView", + "keywords": "Class MarkdownView A UI component that renders CommonMark Markdown in-game. Inheritance Object UnityEngine.Object UnityEngine.Component UnityEngine.Behaviour UnityEngine.MonoBehaviour MarkdownView Inherited Members UnityEngine.MonoBehaviour.IsInvoking() UnityEngine.MonoBehaviour.CancelInvoke() UnityEngine.MonoBehaviour.Invoke(System.String, System.Single) UnityEngine.MonoBehaviour.InvokeRepeating(System.String, System.Single, System.Single) UnityEngine.MonoBehaviour.CancelInvoke(System.String) UnityEngine.MonoBehaviour.IsInvoking(System.String) UnityEngine.MonoBehaviour.StartCoroutine(System.String) UnityEngine.MonoBehaviour.StartCoroutine(System.String, System.Object) UnityEngine.MonoBehaviour.StartCoroutine(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StartCoroutine_Auto(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StopCoroutine(UnityEngine.Coroutine) UnityEngine.MonoBehaviour.StopCoroutine(System.String) UnityEngine.MonoBehaviour.StopAllCoroutines() UnityEngine.MonoBehaviour.print(System.Object) UnityEngine.MonoBehaviour.useGUILayout UnityEngine.Behaviour.enabled UnityEngine.Behaviour.isActiveAndEnabled UnityEngine.Component.GetComponent(System.Type) UnityEngine.Component.GetComponent() UnityEngine.Component.TryGetComponent(System.Type, UnityEngine.Component) UnityEngine.Component.TryGetComponent(T) UnityEngine.Component.GetComponent(System.String) UnityEngine.Component.GetComponentInChildren(System.Type, System.Boolean) UnityEngine.Component.GetComponentInChildren(System.Type) UnityEngine.Component.GetComponentInChildren(System.Boolean) UnityEngine.Component.GetComponentInChildren() UnityEngine.Component.GetComponentsInChildren(System.Type, System.Boolean) UnityEngine.Component.GetComponentsInChildren(System.Type) UnityEngine.Component.GetComponentsInChildren(System.Boolean) UnityEngine.Component.GetComponentsInChildren(System.Boolean, System.Collections.Generic.List) UnityEngine.Component.GetComponentsInChildren() UnityEngine.Component.GetComponentsInChildren(System.Collections.Generic.List) UnityEngine.Component.GetComponentInParent(System.Type) UnityEngine.Component.GetComponentInParent() UnityEngine.Component.GetComponentsInParent(System.Type, System.Boolean) UnityEngine.Component.GetComponentsInParent(System.Type) UnityEngine.Component.GetComponentsInParent(System.Boolean) UnityEngine.Component.GetComponentsInParent(System.Boolean, System.Collections.Generic.List) UnityEngine.Component.GetComponentsInParent() UnityEngine.Component.GetComponents(System.Type) UnityEngine.Component.GetComponents(System.Type, System.Collections.Generic.List) UnityEngine.Component.GetComponents(System.Collections.Generic.List) UnityEngine.Component.GetComponents() UnityEngine.Component.CompareTag(System.String) UnityEngine.Component.SendMessageUpwards(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessageUpwards(System.String, System.Object) UnityEngine.Component.SendMessageUpwards(System.String) UnityEngine.Component.SendMessageUpwards(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessage(System.String, System.Object) UnityEngine.Component.SendMessage(System.String) UnityEngine.Component.SendMessage(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessage(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.BroadcastMessage(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.BroadcastMessage(System.String, System.Object) UnityEngine.Component.BroadcastMessage(System.String) UnityEngine.Component.BroadcastMessage(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.transform UnityEngine.Component.gameObject UnityEngine.Component.tag UnityEngine.Object.GetInstanceID() UnityEngine.Object.GetHashCode() UnityEngine.Object.Equals(System.Object) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform) UnityEngine.Object.Instantiate(UnityEngine.Object) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean) UnityEngine.Object.Instantiate(T) UnityEngine.Object.Instantiate(T, UnityEngine.Vector3, UnityEngine.Quaternion) UnityEngine.Object.Instantiate(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform) UnityEngine.Object.Instantiate(T, UnityEngine.Transform) UnityEngine.Object.Instantiate(T, UnityEngine.Transform, System.Boolean) UnityEngine.Object.Destroy(UnityEngine.Object, System.Single) UnityEngine.Object.Destroy(UnityEngine.Object) UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean) UnityEngine.Object.DestroyImmediate(UnityEngine.Object) UnityEngine.Object.FindObjectsOfType(System.Type) UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object) UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single) UnityEngine.Object.DestroyObject(UnityEngine.Object) UnityEngine.Object.FindSceneObjectsOfType(System.Type) UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type) UnityEngine.Object.FindObjectsOfType() UnityEngine.Object.FindObjectOfType() UnityEngine.Object.FindObjectsOfTypeAll(System.Type) UnityEngine.Object.FindObjectOfType(System.Type) UnityEngine.Object.ToString() UnityEngine.Object.name UnityEngine.Object.hideFlags Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : BSIPA_ModList.UI.ViewControllers Assembly : BSIPA-ModList.dll Syntax [RequireComponent(typeof(RectTransform))] public class MarkdownView : MonoBehaviour Constructors | Improve this Doc View Source MarkdownView() Creates a new MarkdownView . Should never be called directly. Instead, use UnityEngine.GameObject.AddComponent``1 . Declaration public MarkdownView() Fields | Improve this Doc View Source HasEmbeddedImage This function will be called whenever attempting to resolve an image URI, to ensure that the image exists in the embedded assembly. Declaration public Func HasEmbeddedImage Field Value Type Description Func < String , Boolean > a delegate for the function to call Properties | Improve this Doc View Source Markdown The text to be rendered. Declaration public string Markdown { get; set; } Property Value Type Description String the text to render as Markdown Remarks When this is assigned, the object is marked dirty. It will re-render on the next Update tick. | Improve this Doc View Source rectTransform A convenience property to access the UnityEngine.RectTransform on the UnityEngine.GameObject this is on. Declaration public RectTransform rectTransform { get; } Property Value Type Description UnityEngine.RectTransform the UnityEngine.RectTransform associated with this component Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) ReflectionUtil.CopyComponent(Component, Type, GameObject, Type) ReflectionUtil.CopyComponent(Component, GameObject, Type)" }, "api/IPA.html": { "href": "api/IPA.html", "title": "", "keywords": "Classes InitAttribute Marks a method or a constructor as an inialization method. OnDisableAttribute Indicates that the target method should be called when the plugin is disabled. OnEnableAttribute Indicates that the target method should be called when the plugin is enabled. OnExitAttribute Indicates that the target method should be called when the game exits. OnStartAttribute Indicates that the target method should be called when the game starts. PluginAttribute Marks a class as being a BSIPA plugin. Enums RuntimeOptions Options that a plugin must specify to describe how it expects to be run." }, - "api/IPA.Utilities.Async.Synchronization.html": { - "href": "api/IPA.Utilities.Async.Synchronization.html", - "title": "Class Synchronization", - "keywords": "Class Synchronization Utilities for inter-thread synchronization. All Locker method acquire their object immediately, and should only be used with langword_csharp_using to automatically release them. Inheritance Object Synchronization Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public static class Synchronization Examples The canonical usage of all of the member functions is as follows, substituting Lock(Mutex) with whichever member you want to use, according to your lock type. using var _locker = Synchronization.Lock(mutex); Methods | Improve this Doc View Source Lock(Mutex) Creates a locker for a mutex. Declaration public static Synchronization.MutexLocker Lock(Mutex mut) Parameters Type Name Description Mutex mut the mutex to acquire Returns Type Description Synchronization.MutexLocker the locker to use with langword_csharp_using | Improve this Doc View Source Lock(Semaphore) Creates a locker for a semaphore. Declaration public static Synchronization.SemaphoreLocker Lock(Semaphore sem) Parameters Type Name Description Semaphore sem the semaphore to acquire Returns Type Description Synchronization.SemaphoreLocker the locker to use with langword_csharp_using | Improve this Doc View Source Lock(SemaphoreSlim) Creates a locker for a slim semaphore. Declaration public static Synchronization.SemaphoreSlimLocker Lock(SemaphoreSlim sem) Parameters Type Name Description SemaphoreSlim sem the slim semaphore to acquire Returns Type Description Synchronization.SemaphoreSlimLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockAsync(SemaphoreSlim) Creates a locker for a slim semaphore asynchronously. Declaration public static Task LockAsync(SemaphoreSlim sem) Parameters Type Name Description SemaphoreSlim sem the slim semaphore to acquire async Returns Type Description Task < Synchronization.SemaphoreSlimAsyncLocker > the locker to use with langword_csharp_using | Improve this Doc View Source LockRead(ReaderWriterLockSlim) Creates a locker for a read lock on a ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimReadLocker LockRead(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in read mode Returns Type Description Synchronization.ReaderWriterLockSlimReadLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockReadUpgradable(ReaderWriterLockSlim) Creates a locker for an upgradable read lock on a ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimUpgradableReadLocker LockReadUpgradable(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in upgradable read mode Returns Type Description Synchronization.ReaderWriterLockSlimUpgradableReadLocker the locker to use with langword_csharp_using | Improve this Doc View Source LockWrite(ReaderWriterLockSlim) Creates a locker for a write lock ReaderWriterLockSlim . Declaration public static Synchronization.ReaderWriterLockSlimWriteLocker LockWrite(ReaderWriterLockSlim rwl) Parameters Type Name Description ReaderWriterLockSlim rwl the lock to acquire in write mode Returns Type Description Synchronization.ReaderWriterLockSlimWriteLocker the locker to use with langword_csharp_using" - }, - "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html": { - "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html", - "title": "Struct Synchronization.SemaphoreSlimLocker", - "keywords": "Struct Synchronization.SemaphoreSlimLocker A locker for a SemaphoreSlim that automatically releases when it is disposed. Create this with Lock(SemaphoreSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreSlimLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(SemaphoreSlim)" - }, - "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html": { - "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html", - "title": "Struct Synchronization.SemaphoreSlimAsyncLocker", - "keywords": "Struct Synchronization.SemaphoreSlimAsyncLocker A locker for a SemaphoreSlim that was created asynchronously and automatically releases when it is disposed. Create this with LockAsync(SemaphoreSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreSlimAsyncLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization LockAsync(SemaphoreSlim)" - }, - "api/IPA.Utilities.Async.Synchronization.MutexLocker.html": { - "href": "api/IPA.Utilities.Async.Synchronization.MutexLocker.html", - "title": "Struct Synchronization.MutexLocker", - "keywords": "Struct Synchronization.MutexLocker A locker for a Mutex that automatically releases when it is disposed. Create this with Lock(Mutex) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct MutexLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(Mutex)" - }, - "other_api/config/schema.html": { - "href": "other_api/config/schema.html", - "title": "Configuration File Schema", - "keywords": "Configuration File Schema { \"definitions\": { \"Debug_\": { \"type\": \"object\", \"properties\": { \"ShowCallSource\": { \"type\": \"boolean\" }, \"ShowDebug\": { \"type\": \"boolean\" }, \"CondenseModLogs\": { \"type\": \"boolean\" }, \"ShowHandledErrorStackTraces\": { \"type\": \"boolean\" }, \"HideMessagesForPerformance\": { \"type\": \"boolean\" }, \"HideLogThreshold\": { \"type\": \"integer\" }, \"ShowTrace\": { \"type\": \"boolean\" }, \"SyncLogging\": { \"type\": \"boolean\" } }, \"required\": [ \"ShowCallSource\", \"ShowDebug\", \"CondenseModLogs\", \"ShowHandledErrorStackTraces\", \"HideMessagesForPerformance\", \"HideLogThreshold\", \"ShowTrace\", \"SyncLogging\" ] }, \"Updates_\": { \"type\": \"object\", \"properties\": { \"AutoUpdate\": { \"type\": \"boolean\" }, \"AutoCheckUpdates\": { \"type\": \"boolean\" } }, \"required\": [ \"AutoUpdate\", \"AutoCheckUpdates\" ] } }, \"type\": \"object\", \"properties\": { \"Regenerate\": { \"type\": \"boolean\" }, \"Updates\": { \"$ref\": \"#/definitions/Updates_\" }, \"Debug\": { \"$ref\": \"#/definitions/Debug_\" }, \"YeetMods\": { \"type\": \"boolean\" }, \"GameAssemblies\": { \"type\": \"array\", \"items\": { \"type\": \"string\" } }, \"LastGameVersion\": { \"type\": \"string\" } }, \"required\": [ \"Regenerate\", \"Updates\", \"Debug\", \"YeetMods\", \"GameAssemblies\" ] }" - }, - "articles/command-line.html": { - "href": "articles/command-line.html", - "title": "The Command Line", - "keywords": "The Command Line BSIPA has 2 command lines: the installer, and the game. Their documentation is below. The Installer ( IPA.exe ) The Game The installer has quite a few options, which are documented inline with the -h or --help flag. This is what it currently looks like: usage: IPA.exe [FLAGS] [ARGUMENTS] flags: -h, --help prints this message -w, --waitfor=PID waits for the specified PID to exit -f, --force forces the operation to go through -r, --revert reverts the IPA installation -n, --nowait doesn't wait for user input after the operation -s, --start=ARGUMENTS uses the specified arguments to start the game after the patch/unpatch -l, --launch uses positional parameters as arguments to start the game after patch/unpatch -R, --no-revert prevents a normal installation from first reverting The game also gets quite a few command line options, though there isn't anything as convenient as a help page for them. Here's a quick list of what they are and what they do. --verbose Makes a console appear with log information at startup. --debug Enables the loading of debug information in Mono. The debugging information must be in the portable PDB format, in the same location as the DLL that it's for. This option also forces BSIPA to show all debug messages in the console, as well as where they were called. This overrides the config settings Debug.ShowDebug and Debug.ShowCallSource . --trace Enables trace level messages. By default, they do not ever enter the message queue, and thus cost almost nothing. When this or the config option is used, they are added and logged with the same rules as Debug messages. This overrides the config setting Debug.ShowTrace . --mono-debug Enables the built-in Mono soft debugger engine. By default, it acts as a client, and requires that there be a soft debugger server running on port 10000 on localhost . Implies --debug . --server Does nothing on its own. When paired with --mono-debug , this option makes the Mono soft debugger act in server mode. It begins listening on port 10000 on any address, and will pause startup (with no window) until a debugger is connected. I recommend using SDB, but that is a command line debugger and a lot of people don't care for those. --no-yeet Disables mod yeeting. By default, whenever BSIPA detects that the game is now running a newer version than previous runs, it will move all mods to another folder and not load them. (They still get checked for updates though.) When this is enabled, that behaviour is disabled. Overrides the config setting YeetMods . --condense-logs Reduces the number of log files BSIPA will output for a given session. By default, BSIPA will create a subfolder in the Logs folder for each mod sublog, as well as each mod. This disables that behaviour, and restricts it to only create a global log and mod logs. Overrides the config setting Debug.CondenseModLogs . --no-updates Disables automatic updating. By default, BSIPA will check BeatMods for all of the loaded mods to see if there is a new version avaliable. If there is, it will be downloaded and installed on the next run. This flag disables that behaviour. Overrides the config settings Updates.AutoCheckUpdates and Updates.AutoUpdate ." - }, - "index.html": { - "href": "index.html", - "title": "BSIPA - Home", - "keywords": "BSIPA - The Unity mod injector for the new age (pending confirmation). Assuming, that is, that Unity 2017 is \"new age\". How To Install See Installing How To Uninstall See Uninstalling Arguments See The Command Line . How To Develop See Developing for more information. How To Keep The Game Patched BSIPA will automatically repatch the game when it updates, as long as winhttp.dll is present in the install directory." - }, - "api/index.html": { - "href": "api/index.html", - "title": "BSIPA API Documentation", - "keywords": "BSIPA API Documentation Welcome to the full class documentation! To see guides, head over to the Articles tab . Select a namespace and a class on the left to get started." - }, - "other_api/index.html": { - "href": "other_api/index.html", + "api/IPA.Utilities.html": { + "href": "api/IPA.Utilities.html", "title": "", - "keywords": "" - }, - "articles/dev-resources/description.html": { - "href": "articles/dev-resources/description.html", - "title": "Demo Plugin", - "keywords": "Demo Plugin A little demo for the BSIPA modding introduction. WE CAN USE MARKDOWN!!!" - }, - "articles/start-user.html": { - "href": "articles/start-user.html", - "title": "Installing BSIPA", - "keywords": "Installing BSIPA Note This guide assumes that you are starting completely fresh. Grab a release from the GitHub Releases page . Make sure to download one of the BSIPA-*.zip s, as ModList.zip contains the Beat Saber mod for showing your mods in-game, not the loader itself. Note The specific ZIP you need to download varies on the game you will be patching. For example, if you are patching Beat Saber, you will need the file BSIPA-x64-Net4.zip . This is because Beat Saber is a 64 bit game running .NET 4. If you are patching Muse Dash, however, you nee the file BSIPA-x86-Net3.zip . Tip There are a few tricks for figuring out which file you need. If the game has a folder called MonoBleedingEdge in the install directory, then you need one of the Net4 builds. To determine which build to use, right click on the game executable, go to the Compatability tab, check the Run this program in compatability mode for checkbox, and look and see if the dropdown has any Windows XP emulation options. If it does, the application is 32 bit, and you need to get one of the x86 builds. Otherwise, get one of the x64 builds. Make sure to uncheck that checkbox before leaving the menu. Extract the zip into your game installation directory. There should now be a folder named IPA and a file named IPA.exe in the same folder as the game executable. For example, if you are installing BSIPA in Beat Saber, it might look like this after extraction: Run IPA.exe by double clicking it. A console window should pop up, and eventually, a gold message asking you to press a key will appear. Here is an example of a successful installation: Note In some cases, this may fail, something like this: In these cases, try dragging the game executable over IPA.exe . After installing, your game directory should look something like this: Note At this point it is recommended to run the game once before continuing, to ensure that things are installed correctly. The first run should create a UserData folder with Beat Saber IPA.json and Disabled Mods.json , as well as a Logs folder with several subfolders with their own files. If these are created, then the installation was very likely successful. Tip If you are not installing BSIPA on Beat Saber, you probably want to go to the config at UserData/Beat Saber IPA.json and set both of the following to false : { ... \"Updates\": { \"AutoUpdate\": false, \"AutoCheckUpdates\": false }, ... } Tip Depending on the game, you may have to set the config member GameAssemblies to the names of the assemblies that the game uses for BSIPA to virtualize them properly. For Beat Saber distrobutions, this will be set according to the version that it was built for by default. Otherwise, it will contain just Assembly-CSharp.dll since most games use that default. From here, just place all of your plugins in the Plugins folder, and you're all set! Many plugins will come in a zip such that the root of the zip represents the game install directory, so all you may have to do is extract the plugin into the game installation folder. Note For some reason, by default, Wine does not load DLLs in quite the same way that Windows does, causing issues with the injection. To make the injection work with Wine, winhttp has to have a DLL override set to native,builtin . This can be set either through Protontricks, or with the following .reg file. REGEDIT4 [HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] \"winhttp\"=\"native,builtin\" For Steam there's a per-game Wine prefix under compatdata . In this case SteamLibrary/steamapps/compatdata/620980/pfx/user.reg . Changes to this file will likely be ovewritten when the game updates or if local files are validated through Steam. Thats really all you have to do! The installation should persist across game updates for as long as winhttp.dll is present in the game directory, though your plugins will be moved to a different folder when it does update so things don't break horribly. Uninstalling Uninstalling is fairly simple, and can be done one of two ways: Drag the game executable over IPA.exe while holding Alt . Open a command prompt or Powershell terminal and run .\\IPA.exe -rn . (see The Command Line for what those options mean)" - }, - "articles/start-dev.html": { - "href": "articles/start-dev.html", - "title": "Making your own mod", - "keywords": "Making a mod Overview What follows is a very barebones, and frankly not very useful plugin class, even as a starting point, but it should be enough to give a decent idea of how to do quick upgrades of existing mods for those who want to. using System; using IPA; using IPA.Logging; namespace Demo { [Plugin(RuntimeOptions.SingleStartInit)] internal class Plugin { public static Logger log { get; private set; } [Init] public Plugin(Logger logger) { log = logger; log.Debug(\"Basic plugin running!\"); // setup that does not require game code // this is only called once ever, so do once-ever initialization } [OnStart] public void OnStart() { // setup that requires game code } [OnExit] public void OnExit() { // teardown } } } There are basically 4 major concepts here: Logger , the logging system. PluginAttribute , which declares that this class is a plugin and how it should behave. InitAttribute , which declares the constructor (and optionally other methods) as being used for initialization. The lifecycle event attributes OnStartAttribute and OnExitAttribute . I reccommend you read the docs for each of those to get an idea for what they do. It is worth noting that this example is of a mod that cannot be enabled and disabled at runtime, as marked by RuntimeOptions.SingleStartInit . What can be changed Before we go adding more functionality, its worth mentioning that that is not the only way to have a plugin set up. For starters, we can add another method marked [Init] , and it will be called after the constructor, with the same injected parameters, if those are applicable. [Init] public void Init(Logger logger) { // logger will be the same instance as log currently is } If you only had a method marked [Init] , and no constructors marked [Init] , then the plugin type must expose a public default constructor. If multiple constructors are marked [Init] , only the one with the most parameters will be called. You may also mark as many methods as you wish with [Init] and all of them will be called, in no well-defined order on initialization. The same is true for [OnStart] and [OnExit] , respectively. From Scratch If you are starting from scratch, you will need one other thing to get your plugin up and running: a manifest. A basic manifest for that might look a little like this: { \"author\": \"ExampleMan\", \"description\": [ \"A demo plugin written for the BSIPA basic tutorial.\" ], \"gameVersion\": \"1.6.0\", \"id\": null, \"name\": \"Demo Plugin\", \"version\": \"0.0.1\", \"features\": [ ], \"links\": { \"project-home\": \"https://example.com/demo-plugin\", \"project-source\": \"https://github.com/exampleman/demo-plugin/\", \"donate\": \"https://ko-fi.com/exampleman\" }, } There is a lot going on there, but most of it should be decently obvious. Among the things that aren't immediately obvious, are id : This represents a unique identifier for the mod, for use by package managers such as BeatMods. It may be null if the mod chooses not to support those. features : Don't worry about this for now, this is a not-very-simple thing that will be touched on later. In addition, there are a few gatchas with it: description : This can be either a string or an array representing different lines. Markdown formatting is permitted. gameVersion : This should match exactly with the application version of the game being targeted. While this is not enforced by BSIPA, mod repositories like BeatMods may require it match, and it is good practice regardless. version : This must be a valid SemVer version number for your mod. In order for your plugin to load, the manifest must be embedded into the plugin DLL as an embedded resource. This can be set in the Visual Studio file properties panel under Build Action , or in the .csproj like so: At this point, if the main plugin source file and the manifest are in the same source location, and the plugin class is using the project's default namespace, the plugin will load just fine. However, this is somewhat difficult both to explain and verify, so I recommend you use the the misc.plugin-hint field in your manifest. It can be used like so: \"misc\": { \"plugin-hint\": \"Demo.Plugin\" } With this, you can set plugin-hint to the full typename of your plugin type, and it will correctly load. This is a hint though, and will also try it as a namespace if it fails to find the plugin type. If that fails, it will then fall back to using the manifest's embedded namespace. A less painful description If you want to have a relatively long or well-formatted description for your mod, it may start to become painful to embed it in a list of JSON strings in the manifest. Luckily, there is a way to handle this. The first step is to create another embedded file, but this time it should be a Markdown file, perhaps description.md . It may contain something like this: # Demo Plugin A little demo for the BSIPA modding introduction. --- WE CAN USE MARKDOWN!!! Then, in your manifest description, have the first line be something look like this, but replacing Demo.description.md with the fully namespaced name of the resource: \"#![Demo.description.md]\", Now, when loaded into memory, if anything reads your description metadata, they get the content of that file instead of the content of the manifest key. Configuring your plugin Something that many plugins want and need is configuration. Fortunately, BSIPA provides a fairly powerful configuration system out of the box. To start using it, first create a config class of some kind. Lets take a look at a fairly simple example of this: namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public int IntValue { get; set; } = 42; public float FloatValue { get; set; } = 3.14159f; } } Notice how the class is both marked public and is not marked sealed . For the moment, both of these are necessary. Also notice that all of the members are properties. While this doesn't change much now, it will be significant in the near future. Now, how do we get this object off of disk? Simple. Back in your plugin class, change your [Init] constructor to look like this: [Init] public Plugin(Logger logger, Config conf) { log = logger; PluginConfig.Instance = conf.Generated(); log.Debug(\"Config loaded\"); // setup that does not require game code } For this to compile, though, we will need to add a few using s: using IPA.Config; using IPA.Config.Stores; With just this, you have your config automatically loading from disk! It's even reloaded when it gets changed mid-game! You can now access it from anywhere by simply accessing PluginConfig.Instance . Make sure you don't accidentally reassign this though, as then you will loose your only interaction with the user's preferences. By default, it will be named the same as is in your plugin's manifest's name field, and will use the built-in json provider. This means that the file that will be loaded from will be UserData/Demo Plugin.json for our demo plugin. You can, however, control both of those by applying attributes to the Config parameter, namely Config.NameAttribute to control the name, and Config.PreferAttribute to control the type. If the type preferences aren't registered though, it will just fall back to JSON. The config's behaviour can be found either later here, or in the remarks section of Generated(Config, Boolean) . At this point, your main plugin file should look something like this: using System; using IPA; using IPA.Logging; using IPA.Config; using IPA.Config.Stores; namespace Demo { [Plugin(RuntimeOptions.SingleStartInit)] internal class Plugin { public static Logger log { get; private set; } [Init] public Plugin(Logger logger, Config conf) { log = logger; PluginConfig.Instance = conf.Generated(); log.Debug(\"Config loaded\"); // setup that does not require game code } [OnStart] public void OnStart() { // setup that requires game code } [OnExit] public void OnExit() { // teardown } } } But what about more complex types than just int and float ? What if you want sub-objects? Those are supported natively, and so are very easy to set up. We just add this to the config class: public class SubThingsObject { public double DoubleValue { get; set; } = 2.718281828459045; } public SubThingsObject SubThings { get; set; } = new SubThingsObject(); Now this object will be automatically read from disk too. But there is one caveat to this: because SubThingsObject is a reference type, SubThings can be null . This is often undesireable. The obvious solution may be to simply change it to a struct , but that is both not supported and potentially undesirable for other reasons we'll get to later. Instead, you can use NonNullableAttribute . Change the definition of SubThings to this: [NonNullable] public SubThingsObject SubThings { get; set; } = new SubThingsObject(); And add this to the using s: using IPA.Config.Stores.Attributes; This attribute tells the serializer that null is an invalid value for the config object. This does, however, require that you take extra care ensure that it never becomes null in code, as that will break the serializer. What about collection types? Well, you can use those too, but you have to use something new: a converter. You may be familiar with them if you have used something like the popular Newtonsoft.Json library before. In BSIPA, they lie in the IPA.Config.Stores.Converters namespace. All converters either implement IValueConverter or derive from ValueConverter . You will mostly use them with an UseConverterAttribute . To use them, we'll want to import them: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Converters; Then add a field, for example a list field: [UseConverter(typeof(ListConverter))] public List ListValue { get; set; } = new List(); This uses a converter that is provided with BSIPA for List s specifically. It converts the list to an ordered array, which is then written to disk as a JSON array. We could also potentially want use something like a HashSet . Lets start by looking at the definition for such a member, then deciphering what exactly it means: [UseConverter(typeof(CollectionConverter>))] public HashSet SetValue { get; set; } = new HashSet(); The converter we're using here is CollectionConverter , a base type for converters of all kinds of collections. In fact, the ListConverter is derived from this, and uses it for most of its implementation. If a type implements ICollection , CollectionConverter can convert it. It, like most other BSIPA provided aggregate converters, provides a type argument overload CollectionConverter to compose other converters with it to handle unusual element types. Now after all that, your plugin class has not changed, and your config class should look something like this: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public double DoubleValue { get; set; } = 2.718281828459045; } public int IntValue { get; set; } = 42; public float FloatValue { get; set; } = 3.14159f; [NonNullable] public SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public HashSet SetValue { get; set; } = new HashSet(); } } I mentioned earlier that your config file will be automatically reloaded -- but isn't that a bad thing? Doesn't that mean that the config could change under your feet without you having a way to tell? Not so- I just haven't introduced the mechanism. Define a public or protected virtual method named OnReload : public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } This method will be called whenever BSIPA reloads your config from disk. When it is called, the object will already have been populated. Use it to notify all of your systems that configuration has changed. Now, we know how to read from disk, and how to use unusual types, but how do we write it back to disk? This config system is based on automatic saving (though we haven't quite gotten to the automatic part), and so the config is written to disk whenever the system recognizes that something has changed. To tell is as much, define a public or protected virtual method named Changed : public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } This method can be called to tell BSIPA that this config object has changed. Later, when we enable automated change tracking, this will also be called when one of the config's members changes. You can use this body to validate something or, for example, write a timestamp for last change. I just mentioned automated change tracking -- lets add that now. To do this, just make all of the properties virtual, like so: public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); Now, whenever you assign to any of those properties, your Changed method will be called, and the config object will be marked as changed and will be written to disk. Unfortunately, any properties that can be modified while only using the property getter do not trigger this, and so if you change any collections for example, you will have to manually call Changed . After doing all this, your config class should look something like this: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } } } There is one more major problem with this though: the main class is still public. Most configs shouldn't be. Lets make it internal. So we make it internal: internal class PluginConfig But to make it actually work, we add this outside the namespace declaration: using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)] And now our full file looks like this: using System.Collections.Generic; using System.Runtime.CompilerServices; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; [assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)] namespace Demo { internal class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } } }" - }, - "articles/index.html": { - "href": "articles/index.html", - "title": "Getting Started", - "keywords": "Getting Started Starting out is quite simple. Just follow one of the following guides: Installing BSIPA Making your own mod Or, if you want to contribute, see Contributing ." - }, - "articles/contributing.html": { - "href": "articles/contributing.html", - "title": "Contributing", - "keywords": "Contributing Prerequisites Microsoft Visual Studio 2019 or later (2017 may work, no guarantees) Tools for C/C++ (MSVC) v141 .NET 4.6.1 SDK and .NET 4.7.2 SDK Beat Saber (if developing for .NET 4.5+) Muse Dash (if developing for .NET 3.5) Building Clone with git clone https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded.git --recursive Create a file, bsinstalldir.txt in the solution root. Do NOT create this in Visual Studio; VS adds a BOM at the begginning of the file that the tools used cannot read. It should contain the path to your Beat Saber installation, using forward slashes with a trailing slash. e.g. C:/Program Files (x86)/Steam/steamapps/common/Beat Saber/ If you intend to be doing .NET 3.5 centric development, you must put your Muse Dash installation folder in a file named mdinstalldir.txt that is otherwise identical to bsinstalldir.txt . Open BSIPA.sln in Visual Studio. Choose the configuration that you intend to target during development. Rebuild all. When you make a change somewhere in BSIPA itself, right click on BSIPA-Meta and click Build or Rebuild . This sets up the output in path/to/solution/BSIPA-Meta/bin/ to be what should be copied to the game directory. When making a change to Mod List, you only need to build Mod List itself. Install by copying everything in path/to/solution/BSIPA-ModList/bin/ to your game directory. When building a Debug build, all referenced assemblies from Beat Saber will be copied from the install directory provided in bsinstalldir.txt into Refs/ . Any new references should reference the copy in there. When building for Release, it just uses the files already in Refs/ ." - }, - "api/IPA.Utilities.AlmostVersion.html": { - "href": "api/IPA.Utilities.AlmostVersion.html", - "title": "Class AlmostVersion", - "keywords": "Class AlmostVersion A type that wraps so that the string of the version is stored when the string is not a valid . Inheritance Object AlmostVersion Implements IComparable < AlmostVersion > IComparable < SemVer.Version > Inherited Members Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public class AlmostVersion : IComparable, IComparable Constructors | Improve this Doc View Source AlmostVersion(SemVer.Version) Creates an AlmostVersion from the provided in ver . Declaration public AlmostVersion(SemVer.Version ver) Parameters Type Name Description SemVer.Version ver the to store | Improve this Doc View Source AlmostVersion(String) Creates a new AlmostVersion with the version string provided in vertext . Declaration public AlmostVersion(string vertext) Parameters Type Name Description String vertext the version string to store | Improve this Doc View Source AlmostVersion(String, AlmostVersion) Creates a new AlmostVersion from the version string in vertext stored the same way as the AlmostVersion passed in copyMode . Declaration public AlmostVersion(string vertext, AlmostVersion copyMode) Parameters Type Name Description String vertext the text to parse as an AlmostVersion AlmostVersion copyMode an AlmostVersion to copy the storage mode of | Improve this Doc View Source AlmostVersion(String, AlmostVersion.StoredAs) Creates an AlmostVersion from the version string in vertext stored using the storage mode specified in mode . Declaration public AlmostVersion(string vertext, AlmostVersion.StoredAs mode) Parameters Type Name Description String vertext the text to parse as an AlmostVersion AlmostVersion.StoredAs mode the storage mode to store the version in Properties | Improve this Doc View Source SemverValue The value of the AlmostVersion if it was stored as a . Declaration public SemVer.Version SemverValue { get; } Property Value Type Description SemVer.Version the stored value as a , or null if not stored as a version. | Improve this Doc View Source StorageMode The way the value is stored, whether it be as a or a String . Declaration public AlmostVersion.StoredAs StorageMode { get; } Property Value Type Description AlmostVersion.StoredAs the storage mode used to store this value | Improve this Doc View Source StringValue The value of the AlmostVersion if it was stored as a String . Declaration public string StringValue { get; } Property Value Type Description String the stored value as a String , or null if not stored as a string. Methods | Improve this Doc View Source CompareTo(AlmostVersion) Compares langword_csharp_this to the AlmostVersion in other using or CompareTo(String) , depending on the current store. Declaration public int CompareTo(AlmostVersion other) Parameters Type Name Description AlmostVersion other the AlmostVersion to compare to Returns Type Description Int32 less than 0 if other is considered bigger than langword_csharp_this , 0 if equal, and greater than zero if smaller Remarks The storage methods of the two objects must be the same, or this will throw an InvalidOperationException . See Also CompareTo(SemVer.Version) | Improve this Doc View Source CompareTo(SemVer.Version) Compares langword_csharp_this to the in other using . Declaration public int CompareTo(SemVer.Version other) Parameters Type Name Description SemVer.Version other the to compare to Returns Type Description Int32 less than 0 if other is considered bigger than langword_csharp_this , 0 if equal, and greater than zero if smaller Remarks The storage method of langword_csharp_this must be SemVer , else an InvalidOperationException will be thrown. See Also CompareTo(AlmostVersion) | Improve this Doc View Source Equals(Object) Performs a strict equality check between langword_csharp_this and obj . Declaration public override bool Equals(object obj) Parameters Type Name Description Object obj the object to compare to Returns Type Description Boolean true if they are equal, false otherwise Overrides Object.Equals(Object) Remarks This may return false where Equality(AlmostVersion, AlmostVersion) returns true See Also Equals ( Object ) | Improve this Doc View Source GetHashCode() Default generated hash code function generated by VS. Declaration public override int GetHashCode() Returns Type Description Int32 a value unique to each object, except those that are considered equal by Equals(Object) Overrides Object.GetHashCode() See Also GetHashCode () | Improve this Doc View Source ToString() Gets a string representation of the current version. If the value is stored as a string, this returns it. If it is stored as a , it is equivalent to calling . Declaration public override string ToString() Returns Type Description String a string representation of the current version Overrides Object.ToString() See Also ToString () Operators | Improve this Doc View Source Equality(AlmostVersion, AlmostVersion) Compares two versions, only taking into account the numeric part of the version if they are stored as s, or strict equality if they are stored as String s. Declaration public static bool operator ==(AlmostVersion l, AlmostVersion r) Parameters Type Name Description AlmostVersion l the first value to compare AlmostVersion r the second value to compare Returns Type Description Boolean true if they are mostly equal, false otherwise Remarks This is a looser equality than Equals(Object) , meaning that this may return true where Equals(Object) does not. See Also Equals(Object) | Improve this Doc View Source Implicit(AlmostVersion to SemVer.Version) Implicitly converts an AlmostVersion to , if applicable, using SemverValue . If not applicable, returns null Declaration public static implicit operator SemVer.Version(AlmostVersion av) Parameters Type Name Description AlmostVersion av the AlmostVersion to convert to a Returns Type Description SemVer.Version See Also SemverValue | Improve this Doc View Source Implicit(SemVer.Version to AlmostVersion) Implicitly converts a to AlmostVersion using AlmostVersion(SemVer.Version) . Declaration public static implicit operator AlmostVersion(SemVer.Version ver) Parameters Type Name Description SemVer.Version ver the to convert Returns Type Description AlmostVersion See Also AlmostVersion(SemVer.Version) | Improve this Doc View Source Inequality(AlmostVersion, AlmostVersion) The opposite of Equality(AlmostVersion, AlmostVersion) . Equivalent to !(l == r) . Declaration public static bool operator !=(AlmostVersion l, AlmostVersion r) Parameters Type Name Description AlmostVersion l the first value to compare AlmostVersion r the second value to compare Returns Type Description Boolean true if they are not mostly equal, false otherwise See Also Equality(AlmostVersion, AlmostVersion) Implements System.IComparable System.IComparable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "keywords": "Classes AlmostVersion A type that wraps so that the string of the version is stored when the string is not a valid . AlmostVersionConverter A ValueConverter for AlmostVersion s. CriticalSection Provides utilities for managing various critical sections. EnumerableExtensions Extensions for IEnumerable that don't currently exist in System.Linq . Extensions A class providing various extension methods. FieldAccessor A type containing utilities for accessing non-public fields of objects. MethodAccessor A type containing utilities for calling non-public methods on an object. PropertyAccessor A type containing utilities for accessing non-public properties of an object. Ref Utilities to create Ref using type inference. Ref A class to store a reference for passing to methods which cannot take ref parameters. ReflectionUtil A utility class providing reflection helper methods. UnityGame Provides some basic utility methods and properties of Beat Saber Utils A class providing static utility functions that in any other language would just exist . Structs CriticalSection.AutoExecuteSection A struct that allows using blocks to manage an execute section. Utils.ScopeGuardObject An object used to manage scope guards. Enums AlmostVersion.StoredAs Represents a storage type of either parsed object or raw String . UnityGame.Release The different types of releases of the game. Delegates FieldAccessor.Accessor A delegate for a field accessor taking a T ref and returning a U ref. PropertyAccessor.Getter A getter for a property. PropertyAccessor.Setter A setter for a property." }, - "api/IPA.Utilities.AlmostVersion.StoredAs.html": { - "href": "api/IPA.Utilities.AlmostVersion.StoredAs.html", - "title": "Enum AlmostVersion.StoredAs", - "keywords": "Enum AlmostVersion.StoredAs Represents a storage type of either parsed object or raw String . Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public enum StoredAs Fields Name Description SemVer The version was stored as a . String The version was stored as a String . Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + "api/IPA.Utilities.Utils.html": { + "href": "api/IPA.Utilities.Utils.html", + "title": "Class Utils", + "keywords": "Class Utils A class providing static utility functions that in any other language would just exist . Inheritance Object Utils Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class Utils Properties | Improve this Doc View Source CanUseDateTimeNowSafely Whether you can safely use Now without Mono throwing a fit. Declaration public static bool CanUseDateTimeNowSafely { get; } Property Value Type Description Boolean true if you can use Now safely, false otherwise Methods | Improve this Doc View Source ByteArrayToString(Byte[]) Converts a byte array to a hex string. Declaration public static string ByteArrayToString(byte[] ba) Parameters Type Name Description Byte [] ba the byte array Returns Type Description String the hex form of the array | Improve this Doc View Source CopyAll(DirectoryInfo, DirectoryInfo, String, Func) Copies all files from source to target . Declaration public static void CopyAll(DirectoryInfo source, DirectoryInfo target, string appendFileName = \"\", Func onCopyException = null) Parameters Type Name Description DirectoryInfo source the source directory DirectoryInfo target the destination directory String appendFileName the filename of the file to append together Func < Exception , FileInfo , Boolean > onCopyException a delegate called when there is an error copying. Return true to keep going. | Improve this Doc View Source CurrentTime() Returns Now if supported, otherwise UtcNow . Declaration public static DateTime CurrentTime() Returns Type Description DateTime the current DateTime if supported, otherwise some indeterminant increasing value. | Improve this Doc View Source GetRelativePath(String, String) Gets a path relative to the provided folder. Declaration public static string GetRelativePath(string file, string folder) Parameters Type Name Description String file the file to relativize String folder the source folder Returns Type Description String a path to get from folder to file | Improve this Doc View Source ScopeGuard(Action) Creates a scope guard for a given Action . Declaration public static Utils.ScopeGuardObject ScopeGuard(Action action) Parameters Type Name Description Action action the Action to run on dispose Returns Type Description Utils.ScopeGuardObject a Utils.ScopeGuardObject that will run action on disposal Examples using var _ = Utils.ScopeGuard(() => RunOnScopeExit(value)); | Improve this Doc View Source StringToByteArray(String) Converts a hex string to a byte array. Declaration public static byte[] StringToByteArray(string hex) Parameters Type Name Description String hex the hex stream Returns Type Description Byte [] the corresponding byte array | Improve this Doc View Source UnsafeCompare(Byte[], Byte[]) Uses unsafe code to compare 2 byte arrays quickly. Declaration public static bool UnsafeCompare(byte[] a1, byte[] a2) Parameters Type Name Description Byte [] a1 array 1 Byte [] a2 array 2 Returns Type Description Boolean whether or not they are byte-for-byte equal | Improve this Doc View Source VersionCompareNoPrerelease(SemVer.Version, SemVer.Version) Compares a pair of s ignoring both the prerelease and build fields. Declaration public static int VersionCompareNoPrerelease(SemVer.Version l, SemVer.Version r) Parameters Type Name Description SemVer.Version l the left value SemVer.Version r the right value Returns Type Description Int32 < 0 if l is less than r, 0 if they are equal in the numeric portion, or > 0 if l is greater than r" }, - "api/IPA.RuntimeOptions.html": { - "href": "api/IPA.RuntimeOptions.html", - "title": "Enum RuntimeOptions", - "keywords": "Enum RuntimeOptions Options that a plugin must specify to describe how it expects to be run. Namespace : IPA Assembly : IPA.Loader.dll Syntax public enum RuntimeOptions Fields Name Description DynamicInit Indicates that this plugin supports runtime enabling and disabling. When this is set, the plugin may be disabled at reasonable points during runtime. As with SingleStartInit , it will be initialized and enabled with the game if it is enabled on startup, and disabled with the game if it is enabled on shutdown. When a plugin with this set is enabled mid-game, the first time it is enabled, its initialization methods will be called, then its enable methods. All subsequent enables will NOT re-initialize, however the enable methods will be called. When a plugin with this set is disabled mid-game, the plugin instance will NOT be destroyed, and will instead be re-used for subsequent enables. The plugin is expected to handle this gracefully, and behave in a way that makes sense. SingleStartInit Indicates that this plugin expects to be initialized and enabled with the game, and disabled with the game. With this option set, whether or not the plugin is disabled during a given run is constant for that entire run. See Also PluginAttribute InitAttribute OnEnableAttribute OnDisableAttribute OnStartAttribute OnExitAttribute Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + "api/IPA.OnEnableAttribute.html": { + "href": "api/IPA.OnEnableAttribute.html", + "title": "Class OnEnableAttribute", + "keywords": "Class OnEnableAttribute Indicates that the target method should be called when the plugin is enabled. Inheritance Object Attribute OnEnableAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class OnEnableAttribute : Attribute, _Attribute, IEdgeLifecycleAttribute Remarks This attribute is interchangable with OnStartAttribute , and is treated identically. They are seperate to allow plugin code to more clearly describe the intent of the methods. Typically, this will be used when the RuntimeOptions parameter of the plugins's PluginAttribute is DynamicInit . The method marked by this attribute will always be called from the Unity main thread. Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute OnStartAttribute" }, "api/IPA.OnDisableAttribute.html": { "href": "api/IPA.OnDisableAttribute.html", @@ -429,26 +214,6 @@ "title": "", "keywords": "Interfaces IEnhancedPlugin An enhanced version of the standard IPA plugin. IPlugin Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed in Plugins." }, - "api/IPA.Old.IPlugin.html": { - "href": "api/IPA.Old.IPlugin.html", - "title": "Interface IPlugin", - "keywords": "Interface IPlugin Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed in Plugins. Namespace : IPA.Old Assembly : IPA.Loader.dll Syntax [Obsolete(\"When building plugins for Beat Saber, use the plugin attributes starting with PluginAttribute\")] public interface IPlugin Properties | Improve this Doc View Source Name Gets the name of the plugin. Declaration string Name { get; } Property Value Type Description String | Improve this Doc View Source Version Gets the version of the plugin. Declaration string Version { get; } Property Value Type Description String Methods | Improve this Doc View Source OnApplicationQuit() Gets invoked when the application is closed. Declaration void OnApplicationQuit() | Improve this Doc View Source OnApplicationStart() Gets invoked when the application is started. Declaration void OnApplicationStart() | Improve this Doc View Source OnFixedUpdate() Gets invoked on ever physics update. Declaration void OnFixedUpdate() | Improve this Doc View Source OnLevelWasInitialized(Int32) Gets invoked after the first update cycle after a level was loaded. Declaration void OnLevelWasInitialized(int level) Parameters Type Name Description Int32 level | Improve this Doc View Source OnLevelWasLoaded(Int32) Gets invoked whenever a level is loaded. Declaration void OnLevelWasLoaded(int level) Parameters Type Name Description Int32 level | Improve this Doc View Source OnUpdate() Gets invoked on every graphic update. Declaration void OnUpdate() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Old.IEnhancedPlugin.html": { - "href": "api/IPA.Old.IEnhancedPlugin.html", - "title": "Interface IEnhancedPlugin", - "keywords": "Interface IEnhancedPlugin An enhanced version of the standard IPA plugin. Inherited Members IPlugin.Name IPlugin.Version IPlugin.OnApplicationStart() IPlugin.OnApplicationQuit() IPlugin.OnLevelWasLoaded(Int32) IPlugin.OnLevelWasInitialized(Int32) IPlugin.OnUpdate() IPlugin.OnFixedUpdate() Namespace : IPA.Old Assembly : IPA.Loader.dll Syntax [Obsolete(\"When building plugins for Beat Saber, use IPA.IEnhancedPlugin\")] public interface IEnhancedPlugin : IPlugin Properties | Improve this Doc View Source Filter Gets a list of executables this plugin should be executed on (without the file ending) Declaration string[] Filter { get; } Property Value Type Description String [] Examples { \"PlayClub\", \"PlayClubStudio\" } Methods | Improve this Doc View Source OnLateUpdate() Called after Update. Declaration void OnLateUpdate() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Logging.html": { - "href": "api/IPA.Logging.html", - "title": "", - "keywords": "Classes Logger The logger base class. Provides the format for console logs. LoggerExtensions A class providing extensions for various loggers. LogPrinter The log printer's base class. StandardLogger The default (and standard) Logger implementation. Enums Logger.Level An enum specifying the level of the message. Resembles Syslog. Logger.LogLevel An enum providing log level filters." - }, - "api/IPA.Logging.StandardLogger.html": { - "href": "api/IPA.Logging.StandardLogger.html", - "title": "Class StandardLogger", - "keywords": "Class StandardLogger The default (and standard) Logger implementation. Inheritance Object Logger StandardLogger Inherited Members Logger.LogFormat Logger.Log(Logger.Level, Exception) Logger.Trace(String) Logger.Trace(Exception) Logger.Debug(Exception) Logger.Info(String) Logger.Info(Exception) Logger.Notice(String) Logger.Notice(Exception) Logger.Warn(String) Logger.Warn(Exception) Logger.Error(String) Logger.Error(Exception) Logger.Critical(String) Logger.Critical(Exception) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public class StandardLogger : Logger Remarks StandardLogger uses a multi-threaded approach to logging. All actual I/O is done on another thread, where all messaged are guaranteed to be logged in the order they appeared. It is up to the printers to format them. This logger supports child loggers. Use GetChildLogger(Logger, String) to safely get a child. The modification of printers on a parent are reflected down the chain. Properties | Improve this Doc View Source ConsoleWriter The TextWriter for writing directly to the console window, or stdout if no window open. Declaration public static TextWriter ConsoleWriter { get; } Property Value Type Description TextWriter a TextWriter for the current primary text output | Improve this Doc View Source IsOnLoggerThread Whether or not the calling thread is the logger thread. Declaration public static bool IsOnLoggerThread { get; } Property Value Type Description Boolean true if the current thread is the logger thread, false otherwise | Improve this Doc View Source PrintFilter All levels defined by this filter will be sent to loggers. All others will be ignored. Declaration public static Logger.LogLevel PrintFilter { get; } Property Value Type Description Logger.LogLevel the global filter level Methods | Improve this Doc View Source AddPrinter(LogPrinter) Adds a log printer to the logger. Declaration public void AddPrinter(LogPrinter printer) Parameters Type Name Description LogPrinter printer the printer to add | Improve this Doc View Source Debug(String) An override to Debug(String) which shows the method that called it. Declaration public override void Debug(string message) Parameters Type Name Description String message the message to log Overrides Logger.Debug(String) See Also Log ( Logger.Level , String ) | Improve this Doc View Source Log(Logger.Level, String) Logs a specific message at a given level. Declaration public override void Log(Logger.Level level, string message) Parameters Type Name Description Logger.Level level the message level String message the message to log Overrides Logger.Log(Logger.Level, String) Extension Methods LoggerExtensions.GetChildLogger(Logger, String) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, "api/IPA.Logging.Printers.html": { "href": "api/IPA.Logging.Printers.html", "title": "", @@ -459,15 +224,15 @@ "title": "Class PluginSubLogPrinter", "keywords": "Class PluginSubLogPrinter Prints log messages to the file specified by the name. Inheritance Object LogPrinter GZFilePrinter PluginSubLogPrinter Implements IDisposable Inherited Members GZFilePrinter.FileWriter GZFilePrinter.StartPrint() GZFilePrinter.EndPrint() GZFilePrinter.Dispose() GZFilePrinter.Dispose(Boolean) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class PluginSubLogPrinter : GZFilePrinter, IDisposable Constructors | Improve this Doc View Source PluginSubLogPrinter(String, String) Creates a new printer with the given name. Declaration public PluginSubLogPrinter(string mainname, string name) Parameters Type Name Description String mainname the name of the main logger String name the name of the logger Properties | Improve this Doc View Source Filter Provides a filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the target file. Declaration protected override FileInfo GetFileInfo() Returns Type Description FileInfo the file to write to Overrides GZFilePrinter.GetFileInfo() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the associated file. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Logging.Printers.ColoredConsolePrinter.html": { - "href": "api/IPA.Logging.Printers.ColoredConsolePrinter.html", - "title": "Class ColoredConsolePrinter", - "keywords": "Class ColoredConsolePrinter Prints a pretty message to the console. Inheritance Object LogPrinter ColoredConsolePrinter Inherited Members LogPrinter.StartPrint() LogPrinter.EndPrint() Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class ColoredConsolePrinter : LogPrinter Properties | Improve this Doc View Source Color The color to print messages as. Declaration public ConsoleColor Color { get; set; } Property Value Type Description ConsoleColor the color to print this message as | Improve this Doc View Source Filter A filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter to apply to this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the console window. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Logging.Printers.PluginLogFilePrinter.html": { + "href": "api/IPA.Logging.Printers.PluginLogFilePrinter.html", + "title": "Class PluginLogFilePrinter", + "keywords": "Class PluginLogFilePrinter Prints log messages to the file specified by the name. Inheritance Object LogPrinter GZFilePrinter PluginLogFilePrinter Implements IDisposable Inherited Members GZFilePrinter.FileWriter GZFilePrinter.StartPrint() GZFilePrinter.EndPrint() GZFilePrinter.Dispose() GZFilePrinter.Dispose(Boolean) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class PluginLogFilePrinter : GZFilePrinter, IDisposable Constructors | Improve this Doc View Source PluginLogFilePrinter(String) Creates a new printer with the given name. Declaration public PluginLogFilePrinter(string name) Parameters Type Name Description String name the name of the logger Properties | Improve this Doc View Source Filter Provides a filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the target file. Declaration protected override FileInfo GetFileInfo() Returns Type Description FileInfo the file to write to Overrides GZFilePrinter.GetFileInfo() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the associated file. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Logging.LogPrinter.html": { - "href": "api/IPA.Logging.LogPrinter.html", - "title": "Class LogPrinter", - "keywords": "Class LogPrinter The log printer's base class. Inheritance Object LogPrinter ColoredConsolePrinter ColorlessConsolePrinter GZFilePrinter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public abstract class LogPrinter Properties | Improve this Doc View Source Filter Provides a filter for which log levels to allow through. Declaration public abstract Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the level to filter to Methods | Improve this Doc View Source EndPrint() Called after the last print in a group. May be called multiple times. Use this to dispose file handles and the like. Declaration public virtual void EndPrint() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints a provided message from a given log at the specified time. Declaration public abstract void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the log level DateTime time the time the message was composed String logName the name of the log that created this message String message the message | Improve this Doc View Source StartPrint() Called before the first print in a group. May be called multiple times. Use this to create file handles and the like. Declaration public virtual void StartPrint() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Logging.Printers.GZFilePrinter.html": { + "href": "api/IPA.Logging.Printers.GZFilePrinter.html", + "title": "Class GZFilePrinter", + "keywords": "Class GZFilePrinter A LogPrinter abstract class that provides the utilities to write to a GZip file. Inheritance Object LogPrinter GZFilePrinter GlobalLogFilePrinter PluginLogFilePrinter PluginSubLogPrinter Implements IDisposable Inherited Members LogPrinter.Filter LogPrinter.Print(Logger.Level, DateTime, String, String) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public abstract class GZFilePrinter : LogPrinter, IDisposable Fields | Improve this Doc View Source FileWriter The StreamWriter that writes to the GZip file. Declaration protected StreamWriter FileWriter Field Value Type Description StreamWriter the writer to the underlying filestream Methods | Improve this Doc View Source Dispose() Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes the file printer. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing does nothing | Improve this Doc View Source EndPrint() Called at the end of any print session. Declaration public override sealed void EndPrint() Overrides LogPrinter.EndPrint() | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the file to write to. Declaration protected abstract FileInfo GetFileInfo() Returns Type Description FileInfo the file to write to | Improve this Doc View Source StartPrint() Called at the start of any print session. Declaration public override sealed void StartPrint() Overrides LogPrinter.StartPrint() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.Logging.LoggerExtensions.html": { "href": "api/IPA.Logging.LoggerExtensions.html", @@ -479,15 +244,20 @@ "title": "Class Logger", "keywords": "Class Logger The logger base class. Provides the format for console logs. Inheritance Object Logger StandardLogger Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public abstract class Logger Properties | Improve this Doc View Source LogFormat The standard format for log messages. Declaration public static string LogFormat { get; protected set; } Property Value Type Description String the format for the standard loggers to print in Methods | Improve this Doc View Source Critical(Exception) Sends an exception as a critical message. Equivalent to Log(Level.Critical, e); Declaration public virtual void Critical(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Critical(String) Sends a critical message. Equivalent to Log(Level.Critical, message); Declaration public virtual void Critical(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Debug(Exception) Sends an exception as a debug message. Equivalent to Log(Level.Debug, e); Declaration public virtual void Debug(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Debug(String) Sends a debug message. Equivalent to Log(Level.Debug, message); Declaration public virtual void Debug(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Error(Exception) Sends an exception as an error message. Equivalent to Log(Level.Error, e); Declaration public virtual void Error(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Error(String) Sends an error message. Equivalent to Log(Level.Error, message); Declaration public virtual void Error(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Info(Exception) Sends an exception as an info message. Equivalent to Log(Level.Info, e); Declaration public virtual void Info(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Info(String) Sends an info message. Equivalent to Log(Level.Info, message); Declaration public virtual void Info(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Log(Logger.Level, Exception) A basic log function taking an exception to log. Declaration public virtual void Log(Logger.Level level, Exception e) Parameters Type Name Description Logger.Level level the level of the message Exception e the exception to log | Improve this Doc View Source Log(Logger.Level, String) A basic log function. Declaration public abstract void Log(Logger.Level level, string message) Parameters Type Name Description Logger.Level level the level of the message String message the message to log | Improve this Doc View Source Notice(Exception) Sends an exception as a notice message. Equivalent to Log(Level.Notice, e); Declaration public virtual void Notice(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Notice(String) Sends a notice message. Equivalent to Log(Level.Notice, message); Declaration public virtual void Notice(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Trace(Exception) Sends an exception as a trace message. Equivalent to Log(Level.Trace, e); Declaration public virtual void Trace(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Trace(String) Sends a trace message. Equivalent to Log(Level.Trace, message); Declaration public virtual void Trace(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) | Improve this Doc View Source Warn(Exception) Sends an exception as a warning message. Equivalent to Log(Level.Warning, e); Declaration public virtual void Warn(Exception e) Parameters Type Name Description Exception e the exception to log See Also Log(Logger.Level, Exception) | Improve this Doc View Source Warn(String) Sends a warning message. Equivalent to Log(Level.Warning, message); Declaration public virtual void Warn(string message) Parameters Type Name Description String message the message to log See Also Log(Logger.Level, String) Extension Methods LoggerExtensions.GetChildLogger(Logger, String) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Loader.PluginMetadata.html": { - "href": "api/IPA.Loader.PluginMetadata.html", - "title": "Class PluginMetadata", - "keywords": "Class PluginMetadata A class which describes a loaded plugin. Inheritance Object PluginMetadata Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public class PluginMetadata Properties | Improve this Doc View Source Assembly The assembly the plugin was loaded from. Declaration public Assembly Assembly { get; } Property Value Type Description Assembly the loaded Assembly that contains the plugin main type | Improve this Doc View Source AssociatedFiles A list of files (that aren't File ) that are associated with this plugin. Declaration public IReadOnlyList AssociatedFiles { get; } Property Value Type Description IReadOnlyList < FileInfo > a list of associated files | Improve this Doc View Source Features The features this plugin requests. Declaration public IReadOnlyList Features { get; } Property Value Type Description IReadOnlyList < Feature > the list of features requested by the plugin | Improve this Doc View Source File The file the plugin was loaded from. Declaration public FileInfo File { get; } Property Value Type Description FileInfo the file the plugin was loaded from | Improve this Doc View Source Id The BeatMods ID of the plugin, or null if it doesn't have one. Declaration public string Id { get; } Property Value Type Description String the updater ID of the plugin | Improve this Doc View Source IsBare Whether or not this metadata object represents a bare manifest. Declaration public bool IsBare { get; } Property Value Type Description Boolean true if it is bare, false otherwise | Improve this Doc View Source Name The human readable name of the plugin. Declaration public string Name { get; } Property Value Type Description String the name of the plugin | Improve this Doc View Source PluginType The TypeDefinition for the main type of the plugin. Declaration public TypeDefinition PluginType { get; } Property Value Type Description TypeDefinition the Cecil definition for the plugin main type | Improve this Doc View Source RuntimeOptions The RuntimeOptions that the plugin specified in its PluginAttribute . Declaration public RuntimeOptions RuntimeOptions { get; } Property Value Type Description RuntimeOptions | Improve this Doc View Source Version The version of the plugin. Declaration public SemVer.Version Version { get; } Property Value Type Description SemVer.Version the version of the plugin Methods | Improve this Doc View Source ToString() Gets all of the metadata as a readable string. Declaration public override string ToString() Returns Type Description String the readable printable metadata string Overrides Object.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Logging.Logger.LogLevel.html": { + "href": "api/IPA.Logging.Logger.LogLevel.html", + "title": "Enum Logger.LogLevel", + "keywords": "Enum Logger.LogLevel An enum providing log level filters. Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax [Flags] public enum LogLevel : byte Fields Name Description All Shows all messages. CriticalOnly Only shows Critical messages. DebugOnly Only shows Debug messages. DebugUp Shows all messages debug and up. ErrorOnly Only shows Error messages. ErrorUp Shows all messages error and up. InfoOnly Only shows info messages. InfoUp Shows all messages info and up. None Allow no messages through. NoticeOnly Only shows notice messages. NoticeUp Shows all messages Notice and up. TraceOnly Only shows Trace messages. Undefined Used for when the level is undefined. WarningOnly Only shows Warning messages. WarningUp Shows all messages warning and up. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + }, + "api/IPA.Logging.Logger.Level.html": { + "href": "api/IPA.Logging.Logger.Level.html", + "title": "Enum Logger.Level", + "keywords": "Enum Logger.Level An enum specifying the level of the message. Resembles Syslog. Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public enum Level : byte Fields Name Description Critical A critical error message. Debug A debug message. Error An error message. Info An informational message. None No associated level. These never get shown. Notice A notice. More significant than Info, but less than a warning. Trace A trace message. These are ignored incredibly early. Warning A warning message. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" }, "api/IPA.Loader.PluginManager.html": { "href": "api/IPA.Loader.PluginManager.html", "title": "Class PluginManager", - "keywords": "Class PluginManager The manager class for all plugins. Inheritance Object PluginManager Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public static class PluginManager Properties | Improve this Doc View Source AllPlugins Gets a list of all enabled BSIPA plugins. Declaration public static IEnumerable AllPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > a collection of all enabled plugins as PluginMetadata s | Improve this Doc View Source DisabledPlugins Gets a list of disabled BSIPA plugins. Declaration public static IEnumerable DisabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > a collection of all disabled plugins as PluginMetadata | Improve this Doc View Source Plugins An IEnumerable of old IPA plugins. Declaration [Obsolete(\"I mean, IPlugin shouldn't be used, so why should this? Not renaming to extend support for old plugins.\")] public static IEnumerable Plugins { get; } Property Value Type Description IEnumerable < IPlugin > all legacy plugin instances Methods | Improve this Doc View Source GetDisabledPlugin(String) Gets a disabled plugin's metadata by its name. Declaration public static PluginMetadata GetDisabledPlugin(string name) Parameters Type Name Description String name the name of the disabled plugin to get Returns Type Description PluginMetadata the metadata for the corresponding plugin | Improve this Doc View Source GetDisabledPluginFromId(String) Gets a disabled plugin's metadata by its ID. Declaration public static PluginMetadata GetDisabledPluginFromId(string name) Parameters Type Name Description String name the ID of the disabled plugin to get Returns Type Description PluginMetadata the metadata for the corresponding plugin | Improve this Doc View Source GetPlugin(String) Gets info about the enabled plugin with the specified name. Declaration public static PluginMetadata GetPlugin(string name) Parameters Type Name Description String name the name of the plugin to get (must be an exact match) Returns Type Description PluginMetadata the plugin metadata for the requested plugin or null if it doesn't exist or is disabled | Improve this Doc View Source GetPluginFromId(String) Gets info about the enabled plugin with the specified ID. Declaration public static PluginMetadata GetPluginFromId(string name) Parameters Type Name Description String name the ID name of the plugin to get (must be an exact match) Returns Type Description PluginMetadata the plugin metadata for the requested plugin or null if it doesn't exist or is disabled | Improve this Doc View Source IsDisabled(PluginMetadata) Checks if a given plugin is disabled. Declaration public static bool IsDisabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is disabled, false otherwise. | Improve this Doc View Source IsEnabled(PluginMetadata) Checks if a given plugin is enabled. Declaration public static bool IsEnabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is enabled, false otherwise. | Improve this Doc View Source PluginStateTransaction() Creates a new transaction for mod enabling and disabling mods simultaneously. Declaration public static StateTransitionTransaction PluginStateTransaction() Returns Type Description StateTransitionTransaction a new StateTransitionTransaction that captures the current state of loaded mods Events | Improve this Doc View Source PluginDisabled Called whenever a plugin is disabled. Declaration public static event PluginManager.PluginDisableDelegate PluginDisabled Event Type Type Description PluginManager.PluginDisableDelegate | Improve this Doc View Source PluginEnabled Called whenever a plugin is enabled. Declaration public static event PluginManager.PluginEnableDelegate PluginEnabled Event Type Type Description PluginManager.PluginEnableDelegate" + "keywords": "Class PluginManager The manager class for all plugins. Inheritance Object PluginManager Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public static class PluginManager Properties | Improve this Doc View Source AllPlugins Gets a list of all enabled BSIPA plugins. Use EnabledPlugins instead of this. Declaration [Obsolete(\"This is an old name that no longer accurately represents its value. Use EnabledPlugins instead.\")] public static IEnumerable AllPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > a collection of all enabled plugins as PluginMetadata s | Improve this Doc View Source DisabledPlugins Gets a list of disabled BSIPA plugins. Declaration public static IEnumerable DisabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > a collection of all disabled plugins as PluginMetadata | Improve this Doc View Source EnabledPlugins Gets a collection of all enabled plugins, as represented by PluginMetadata . Declaration public static IEnumerable EnabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > a collection of all enabled plugins | Improve this Doc View Source Plugins An IEnumerable of old IPA plugins. Declaration [Obsolete(\"This exists only to provide support for legacy IPA plugins based on the IPlugin interface.\")] public static IEnumerable Plugins { get; } Property Value Type Description IEnumerable < IPlugin > all legacy plugin instances Methods | Improve this Doc View Source GetDisabledPlugin(String) Gets a disabled plugin's metadata by its name. Declaration public static PluginMetadata GetDisabledPlugin(string name) Parameters Type Name Description String name the name of the disabled plugin to get Returns Type Description PluginMetadata the metadata for the corresponding plugin | Improve this Doc View Source GetDisabledPluginFromId(String) Gets a disabled plugin's metadata by its ID. Declaration public static PluginMetadata GetDisabledPluginFromId(string name) Parameters Type Name Description String name the ID of the disabled plugin to get Returns Type Description PluginMetadata the metadata for the corresponding plugin | Improve this Doc View Source GetPlugin(String) Gets info about the enabled plugin with the specified name. Declaration public static PluginMetadata GetPlugin(string name) Parameters Type Name Description String name the name of the plugin to get (must be an exact match) Returns Type Description PluginMetadata the plugin metadata for the requested plugin or null if it doesn't exist or is disabled | Improve this Doc View Source GetPluginFromId(String) Gets info about the enabled plugin with the specified ID. Declaration public static PluginMetadata GetPluginFromId(string name) Parameters Type Name Description String name the ID name of the plugin to get (must be an exact match) Returns Type Description PluginMetadata the plugin metadata for the requested plugin or null if it doesn't exist or is disabled | Improve this Doc View Source IsDisabled(PluginMetadata) Checks if a given plugin is disabled. Declaration public static bool IsDisabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is disabled, false otherwise. | Improve this Doc View Source IsEnabled(PluginMetadata) Checks if a given plugin is enabled. Declaration public static bool IsEnabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is enabled, false otherwise. | Improve this Doc View Source PluginStateTransaction() Creates a new transaction for mod enabling and disabling mods simultaneously. Declaration public static StateTransitionTransaction PluginStateTransaction() Returns Type Description StateTransitionTransaction a new StateTransitionTransaction that captures the current state of loaded mods Events | Improve this Doc View Source PluginDisabled Called whenever a plugin is disabled. Declaration public static event PluginManager.PluginDisableDelegate PluginDisabled Event Type Type Description PluginManager.PluginDisableDelegate | Improve this Doc View Source PluginEnabled Called whenever a plugin is enabled. Declaration public static event PluginManager.PluginEnableDelegate PluginEnabled Event Type Type Description PluginManager.PluginEnableDelegate" }, "api/IPA.Loader.PluginManager.PluginEnableDelegate.html": { "href": "api/IPA.Loader.PluginManager.PluginEnableDelegate.html", @@ -499,95 +269,125 @@ "title": "Delegate PluginManager.PluginDisableDelegate", "keywords": "Delegate PluginManager.PluginDisableDelegate An invoker for the PluginDisabled event. Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public delegate void PluginDisableDelegate(PluginMetadata plugin, bool needsRestart); Parameters Type Name Description PluginMetadata plugin the plugin that was disabled Boolean needsRestart whether it needs a restart to take effect Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, + "api/IPA.Loader.PluginInitInjector.html": { + "href": "api/IPA.Loader.PluginInitInjector.html", + "title": "Class PluginInitInjector", + "keywords": "Class PluginInitInjector The type that handles value injecting into a plugin's initialization methods. Inheritance Object PluginInitInjector Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public static class PluginInitInjector Remarks The default injectors and what they provide are shown in this table. Parameter Type Injected Value Logger A StandardLogger specialized for the plugin being injected PluginMetadata The PluginMetadata of the plugin being injected Config A Config object for the plugin being injected. These parameters may have Config.NameAttribute and Config.PreferAttribute to control how it is constructed. For all of the default injectors, only one of each will be generated, and any later parameters will recieve the same value as the first one. Methods | Improve this Doc View Source AddInjector(Type, PluginInitInjector.InjectParameter) Adds an injector to be used when calling future plugins' Init methods. Declaration public static void AddInjector(Type type, PluginInitInjector.InjectParameter injector) Parameters Type Name Description Type type the type of the parameter. PluginInitInjector.InjectParameter injector the function to call for injection." + }, "api/IPA.Loader.CannotRuntimeDisableException.html": { "href": "api/IPA.Loader.CannotRuntimeDisableException.html", "title": "Class CannotRuntimeDisableException", - "keywords": "Class CannotRuntimeDisableException Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however. Inheritance Object Exception CannotRuntimeDisableException Implements ISerializable _Exception Inherited Members Exception.GetBaseException() Exception.ToString() Exception.GetObjectData(SerializationInfo, StreamingContext) Exception.GetType() Exception.Message Exception.Data Exception.InnerException Exception.TargetSite Exception.StackTrace Exception.HelpLink Exception.Source Exception.HResult Exception.SerializeObjectState Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax [Serializable] public class CannotRuntimeDisableException : Exception, ISerializable, _Exception Constructors | Improve this Doc View Source CannotRuntimeDisableException(PluginMetadata) Creates an exception for the given plugin metadata. Declaration public CannotRuntimeDisableException(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin that cannot be disabled | Improve this Doc View Source CannotRuntimeDisableException(SerializationInfo, StreamingContext) Creates an exception from a serialization context. Not currently implemented. Declaration protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext) Parameters Type Name Description SerializationInfo serializationInfo StreamingContext streamingContext Exceptions Type Condition NotImplementedException Properties | Improve this Doc View Source Plugin The plugin that cannot be disabled at runtime. Declaration public PluginMetadata Plugin { get; } Property Value Type Description PluginMetadata Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "keywords": "Class CannotRuntimeDisableException Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however. Inheritance Object Exception CannotRuntimeDisableException Implements ISerializable _Exception Inherited Members Exception.GetBaseException() Exception.ToString() Exception.GetObjectData(SerializationInfo, StreamingContext) Exception.GetType() Exception.Message Exception.Data Exception.InnerException Exception.TargetSite Exception.StackTrace Exception.HelpLink Exception.Source Exception.HResult Exception.SerializeObjectState Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax [Serializable] public class CannotRuntimeDisableException : Exception, ISerializable, _Exception Constructors | Improve this Doc View Source CannotRuntimeDisableException(PluginMetadata) Creates an exception for the given plugin metadata. Declaration public CannotRuntimeDisableException(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin that cannot be disabled | Improve this Doc View Source CannotRuntimeDisableException(PluginMetadata, String) Creats an exception with the given plugin metadata and message information. Declaration public CannotRuntimeDisableException(PluginMetadata plugin, string message) Parameters Type Name Description PluginMetadata plugin the plugin that cannot be disabled String message the message to associate with it | Improve this Doc View Source CannotRuntimeDisableException(SerializationInfo, StreamingContext) Creates an exception from a serialization context. Not currently implemented. Declaration protected CannotRuntimeDisableException(SerializationInfo serializationInfo, StreamingContext streamingContext) Parameters Type Name Description SerializationInfo serializationInfo StreamingContext streamingContext Exceptions Type Condition NotImplementedException Properties | Improve this Doc View Source Plugin The plugin that cannot be disabled at runtime. Declaration public PluginMetadata Plugin { get; } Property Value Type Description PluginMetadata Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.InitAttribute.html": { - "href": "api/IPA.InitAttribute.html", - "title": "Class InitAttribute", - "keywords": "Class InitAttribute Marks a method or a constructor as an inialization method. Inheritance Object Attribute InitAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class InitAttribute : Attribute, _Attribute Remarks If more than one constructor is marked with this attribute, the one with the most parameters, whether or not they can be injected, will be used. Parameter injection is done with PluginInitInjector . Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute PluginInitInjector" + "api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html": { + "href": "api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html", + "title": "Class IDictionaryConverter", + "keywords": "Class IDictionaryConverter A converter for instances of IDictionary , specifying a value converter as a type parameter. Inheritance Object ValueConverter < IDictionary < String , TValue>> IDictionaryConverter IDictionaryConverter Implements IValueConverter Inherited Members IDictionaryConverter.BaseConverter IDictionaryConverter.FromValue(Value, Object) IDictionaryConverter.ToValue(IDictionary, Object) ValueConverter>.ToValue(IDictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class IDictionaryConverter : IDictionaryConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description TValue the value type of the dictionary TConverter the converter type for values Constructors | Improve this Doc View Source IDictionaryConverter() Constructs a new IDictionaryConverter with a new instance of TConverter as the value converter. Declaration public IDictionaryConverter() Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.html": { - "href": "api/IPA.Config.html", - "title": "", - "keywords": "Classes Config An abstraction of a config file on disk, which handles synchronizing between a memory representation and the disk representation. Config.NameAttribute Specifies a preferred config name, instead of using the plugin's name. Config.PreferAttribute Specifies that a particular parameter is preferred to use a particular IConfigProvider . If it is not available, also specifies backups. If none are available, the default is used. ConfigProvider A wrapper for an IConfigProvider and the FileInfo to use with it. ModPrefs Allows to get and set preferences for your mod. Interfaces IConfigProvider An interface for configuration providers. IConfigStore A storage for a config structure. IModPrefs Allows to get and set preferences for your mod." + "api/IPA.Config.Stores.Converters.DictionaryConverter-2.html": { + "href": "api/IPA.Config.Stores.Converters.DictionaryConverter-2.html", + "title": "Class DictionaryConverter", + "keywords": "Class DictionaryConverter A converter for instances of Dictionary , specifying a value converter as a type parameter. Inheritance Object ValueConverter < Dictionary < String , TValue>> DictionaryConverter DictionaryConverter Implements IValueConverter Inherited Members DictionaryConverter.BaseConverter DictionaryConverter.FromValue(Value, Object) DictionaryConverter.ToValue(Dictionary, Object) ValueConverter>.ToValue(Dictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class DictionaryConverter : DictionaryConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description TValue the value type of the dictionary TConverter the converter type for values Constructors | Improve this Doc View Source DictionaryConverter() Constructs a new IDictionaryConverter with a new instance of TConverter as the value converter. Declaration public DictionaryConverter() Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Stores.html": { - "href": "api/IPA.Config.Stores.html", - "title": "", - "keywords": "Classes GeneratedStore A class providing an extension for Config to make it easy to use generated config stores. ValueConverter A strongly-typed IValueConverter . Interfaces IValueConverter The base interface for a value converter for use by objects generated by Generated(Config, Boolean) ." + "api/IPA.Config.Stores.Converters.DictionaryConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.DictionaryConverter-1.html", + "title": "Class DictionaryConverter", + "keywords": "Class DictionaryConverter A converter for instances of Dictionary . Inheritance Object ValueConverter < Dictionary < String , TValue>> DictionaryConverter DictionaryConverter Implements IValueConverter Inherited Members ValueConverter>.ToValue(Dictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class DictionaryConverter : ValueConverter>, IValueConverter Type Parameters Name Description TValue the value type of the dictionary Constructors | Improve this Doc View Source DictionaryConverter() Constructs an IDictionaryConverter using the default converter for the value type. Declaration public DictionaryConverter() | Improve this Doc View Source DictionaryConverter(ValueConverter) Constructs an IDictionaryConverter using the specified converter for the value. Declaration public DictionaryConverter(ValueConverter converter) Parameters Type Name Description ValueConverter converter the converter for the value Properties | Improve this Doc View Source BaseConverter Gets the converter for the dictionary's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Map to a Dictionary that is represented by it. Declaration public override Dictionary FromValue(Value value, object parent) Parameters Type Name Description Value value the Map to convert Object parent the parent that will own the resulting object Returns Type Description Dictionary < String , TValue> the deserialized dictionary Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(Dictionary, Object) Serializes a Dictionary into a Map containing its values. Declaration public override Value ToValue(Dictionary obj, object parent) Parameters Type Name Description Dictionary < String , TValue> obj the dictionary to serialize Object parent the object that owns the dictionary Returns Type Description Value the dictionary serialized as a Map Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Collections.Generic.Dictionary, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html", - "title": "Class NumericEnumConverter", - "keywords": "Class NumericEnumConverter A converter for an enum of type T , that converts the enum to its underlying value for serialization. Inheritance Object ValueConverter NumericEnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class NumericEnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a numeric node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a numeric node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value an Integer node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Config.Stores.Converters.Converter.html": { + "href": "api/IPA.Config.Stores.Converters.Converter.html", + "title": "Class Converter", + "keywords": "Class Converter Provides utility functions for custom converters. Inheritance Object Converter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public static class Converter Methods | Improve this Doc View Source FloatValue(Value) Gets the floaing point value of a Value , coercing an Integer if necessary, or null if val is not an Integer or FloatingPoint . Declaration public static decimal? FloatValue(Value val) Parameters Type Name Description Value val the Value to get the floaing point value of Returns Type Description Nullable < Decimal > the floaing point value of val , or null | Improve this Doc View Source IntValue(Value) Gets the integral value of a Value , coercing a FloatingPoint if necessary, or null if val is not an Integer or FloatingPoint . Declaration public static long? IntValue(Value val) Parameters Type Name Description Value val the Value to get the integral value of Returns Type Description Nullable < Int64 > the integral value of val , or null" }, - "api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html": { - "href": "api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html", - "title": "Class CustomObjectConverter", - "keywords": "Class CustomObjectConverter A ValueConverter for objects normally serialized to config via Generated(Config, Boolean) . Inheritance Object ValueConverter CustomObjectConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class CustomObjectConverter : ValueConverter, IValueConverter where T : class Type Parameters Name Description T the same type parameter that would be passed into Generated(Config, Boolean) Methods | Improve this Doc View Source Deserialize(Value, Object) Deserializes value into a T with the given parent . Declaration public static T Deserialize(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value See Also FromValue ( Value , Object ) | Improve this Doc View Source FromValue(Value, Object) Deserializes value into a T with the given parent . Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the parent object that will own the deserialized value Returns Type Description T the deserialized value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) See Also FromValue ( Value , Object ) | Improve this Doc View Source Serialize(T, Object) Serializes obj into a Value structure, given parent . Declaration public static Value Serialize(T obj, object parent) Parameters Type Name Description T obj the object to serialize Object parent the parent object that owns obj Returns Type Description Value the Value tree that represents obj See Also ToValue (T, Object ) | Improve this Doc View Source ToValue(T, Object) Serializes obj into a Value structure, given parent . Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the object to serialize Object parent the parent object that owns obj Returns Type Description Value the Value tree that represents obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) See Also ToValue (T, Object ) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Generated ( Config , Boolean )" + "api/IPA.Config.Stores.Converters.Converter-1.html": { + "href": "api/IPA.Config.Stores.Converters.Converter-1.html", + "title": "Class Converter", + "keywords": "Class Converter Provides generic utilities for converters for certain types. Inheritance Object Converter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public static class Converter Type Parameters Name Description T the type of the ValueConverter that this works on Properties | Improve this Doc View Source Default Gets the default ValueConverter for the current type. Declaration public static ValueConverter Default { get; } Property Value Type Description ValueConverter " }, - "api/IPA.Config.Stores.Converters.CollectionConverter-3.html": { - "href": "api/IPA.Config.Stores.Converters.CollectionConverter-3.html", - "title": "Class CollectionConverter", - "keywords": "Class CollectionConverter A CollectionConverter which default constructs a converter for use as the value converter. Inheritance Object ValueConverter CollectionConverter CollectionConverter Implements IValueConverter Inherited Members CollectionConverter.BaseConverter CollectionConverter.Create(Int32, Object) CollectionConverter.PopulateFromValue(TCollection, List, Object) CollectionConverter.FromValue(Value, Object) CollectionConverter.ToValue(TCollection, Object) ValueConverter.ToValue(TCollection, Object) ValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class CollectionConverter : CollectionConverter, IValueConverter where TCollection : ICollection where TConverter : ValueConverter, new() Type Parameters Name Description T the value type of the collection TCollection the type of the colleciton TConverter the type of the converter to use for T Constructors | Improve this Doc View Source CollectionConverter() Creates a CollectionConverter using a default constructed TConverter element type. Equivalent to calling CollectionConverter(ValueConverter) with a default-constructed TConverter . Declaration public CollectionConverter() See Also CollectionConverter(ValueConverter) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also CollectionConverter " + "api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html", + "title": "Class CaseInsensitiveEnumConverter", + "keywords": "Class CaseInsensitiveEnumConverter A converter for an enum of type T , that converts the enum to its string representation and back, ignoring the case of the serialized value for deseiralization. Inheritance Object ValueConverter CaseInsensitiveEnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class CaseInsensitiveEnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a Text node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a Text node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/IPA.Config.Stores.Converters.CollectionConverter-2.html": { - "href": "api/IPA.Config.Stores.Converters.CollectionConverter-2.html", - "title": "Class CollectionConverter", - "keywords": "Class CollectionConverter A base class for all ICollection type converters, providing most of the functionality. Inheritance Object ValueConverter CollectionConverter CollectionConverter IListConverter ISetConverter ListConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class CollectionConverter : ValueConverter, IValueConverter where TCollection : ICollection Type Parameters Name Description T the type of the items in the collection TCollection the instantiated type of collection Constructors | Improve this Doc View Source CollectionConverter() Creates a CollectionConverter using the default converter for the element type. Equivalent to calling CollectionConverter(ValueConverter) with Default . Declaration public CollectionConverter() See Also CollectionConverter(ValueConverter) | Improve this Doc View Source CollectionConverter(ValueConverter) Creates a CollectionConverter using the specified underlying converter. Declaration public CollectionConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the ValueConverter to use to convert the values Properties | Improve this Doc View Source BaseConverter Gets the converter for the collection's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source Create(Int32, Object) Creates a collection of type TCollection using the size and parent . Declaration protected virtual TCollection Create(int size, object parent) Parameters Type Name Description Int32 size the initial size of the collecion Object parent the object that will own the new collection Returns Type Description TCollection a new instance of TCollection See Also FromValue ( Value , Object ) | Improve this Doc View Source FromValue(Value, Object) Deserializes a List in value into a new TCollection owned by parent . Declaration public override TCollection FromValue(Value value, object parent) Parameters Type Name Description Value value the List to convert to a TCollection Object parent the object that will own the resulting TCollection Returns Type Description TCollection a new TCollection holding the deserialized content of value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) See Also FromValue ( Value , Object ) | Improve this Doc View Source PopulateFromValue(TCollection, List, Object) Populates the colleciton col with the deserialized values from list with the parent parent . Declaration protected void PopulateFromValue(TCollection col, List list, object parent) Parameters Type Name Description TCollection col the collection to populate List list the values to populate it with Object parent the object that will own the new objects See Also FromValue ( Value , Object ) | Improve this Doc View Source ToValue(TCollection, Object) Serializes a TCollection into a List . Declaration public override Value ToValue(TCollection obj, object parent) Parameters Type Name Description TCollection obj the TCollection to serialize Object parent the object owning obj Returns Type Description Value the List that obj was serialized into Overrides IPA.Config.Stores.ValueConverter.ToValue(TCollection, System.Object) See Also ToValue (T, Object ) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Config.Stores.Attributes.html": { + "href": "api/IPA.Config.Stores.Attributes.html", + "title": "", + "keywords": "Classes IgnoreAttribute Causes a field or property in an object being wrapped by Generated(Config, Boolean) to be ignored during serialization and deserialization. NonNullableAttribute Indicates that a field or property in an object being wrapped by Generated(Config, Boolean) that would otherwise be nullable (i.e. a reference type or a Nullable type) should never be null, and the member will be ignored if the deserialized value is null . NotifyPropertyChangesAttribute Indicates that the generated subclass of the attribute's target should implement INotifyPropertyChanged . If the type this is applied to already inherits it, this is implied. SerializedNameAttribute Specifies a name for the serialized field or property in an object being wrapped by Generated(Config, Boolean) that is different from the member name itself. UseConverterAttribute Indicates that a given field or property in an object being wrapped by Generated(Config, Boolean) should be serialized and deserialized using the provided converter instead of the default mechanism." }, - "api/IPA.Config.Stores.Attributes.UseConverterAttribute.html": { - "href": "api/IPA.Config.Stores.Attributes.UseConverterAttribute.html", - "title": "Class UseConverterAttribute", - "keywords": "Class UseConverterAttribute Indicates that a given field or property in an object being wrapped by Generated(Config, Boolean) should be serialized and deserialized using the provided converter instead of the default mechanism. Inheritance Object Attribute UseConverterAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class UseConverterAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source UseConverterAttribute() Creates a new UseConverterAttribute specifying to use the default converter type for the target member. Declaration public UseConverterAttribute() | Improve this Doc View Source UseConverterAttribute(Type) Creates a new UseConverterAttribute with a given ConverterType . Declaration public UseConverterAttribute(Type converterType) Parameters Type Name Description Type converterType the type to assign to ConverterType Properties | Improve this Doc View Source ConverterTargetType Gets the target type of the converter if it is avaliable at instantiation time, otherwise null . Declaration public Type ConverterTargetType { get; } Property Value Type Description Type | Improve this Doc View Source ConverterType Gets the type of the converter to use. Declaration public Type ConverterType { get; } Property Value Type Description Type | Improve this Doc View Source IsGenericConverter Gets whether or not this converter is a generic ValueConverter . Declaration public bool IsGenericConverter { get; } Property Value Type Description Boolean | Improve this Doc View Source UseDefaultConverterForType Gets whether or not to use the default converter for the member type instead of the specified type. Declaration public bool UseDefaultConverterForType { get; } Property Value Type Description Boolean Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "articles/dev-resources/description.html": { + "href": "articles/dev-resources/description.html", + "title": "Demo Plugin", + "keywords": "Demo Plugin A little demo for the BSIPA modding introduction. WE CAN USE MARKDOWN!!!" }, - "api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html": { - "href": "api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html", - "title": "Class SerializedNameAttribute", - "keywords": "Class SerializedNameAttribute Specifies a name for the serialized field or property in an object being wrapped by Generated(Config, Boolean) that is different from the member name itself. Inheritance Object Attribute SerializedNameAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class SerializedNameAttribute : Attribute, _Attribute Examples When serializing the following object, we might get the JSON that follows. public class PluginConfig { public virtual bool BooleanField { get; set; } = true; } { \"BooleanField\": true } However, if we were to add a SerializedNameAttribute to that field, we would get the following. public class PluginConfig { [SerializedName(\"bool\")] public virtual bool BooleanField { get; set; } = true; } { \"bool\": true } Constructors | Improve this Doc View Source SerializedNameAttribute(String) Creates a new SerializedNameAttribute with the given Name . Declaration public SerializedNameAttribute(string name) Parameters Type Name Description String name the value to assign to Name Properties | Improve this Doc View Source Name Gets the name to replace the member name with. Declaration public string Name { get; } Property Value Type Description String Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "articles/start-user.html": { + "href": "articles/start-user.html", + "title": "Installing BSIPA", + "keywords": "Installing BSIPA Note This guide assumes that you are starting completely fresh. Grab a release from the GitHub Releases page . Make sure to download one of the BSIPA-*.zip s, as ModList.zip contains the Beat Saber mod for showing your mods in-game, not the loader itself. Note The specific ZIP you need to download varies on the game you will be patching. For example, if you are patching Beat Saber, you will need the file BSIPA-x64-Net4.zip . This is because Beat Saber is a 64 bit game running .NET 4. If you are patching Muse Dash, however, you nee the file BSIPA-x86-Net3.zip . Tip There are a few tricks for figuring out which file you need. If the game has a folder called MonoBleedingEdge in the install directory, then you need one of the Net4 builds. To determine which build to use, right click on the game executable, go to the Compatability tab, check the Run this program in compatability mode for checkbox, and look and see if the dropdown has any Windows XP emulation options. If it does, the application is 32 bit, and you need to get one of the x86 builds. Otherwise, get one of the x64 builds. Make sure to uncheck that checkbox before leaving the menu. Extract the zip into your game installation directory. There should now be a folder named IPA and a file named IPA.exe in the same folder as the game executable. For example, if you are installing BSIPA in Beat Saber, it might look like this after extraction: Run IPA.exe by double clicking it. A console window should pop up, and eventually, a gold message asking you to press a key will appear. Here is an example of a successful installation: Note In some cases, this may fail, something like this: In these cases, try dragging the game executable over IPA.exe . After installing, your game directory should look something like this: Note At this point it is recommended to run the game once before continuing, to ensure that things are installed correctly. The first run should create a UserData folder with Beat Saber IPA.json and Disabled Mods.json , as well as a Logs folder with several subfolders with their own files. If these are created, then the installation was very likely successful. Tip If you are not installing BSIPA on Beat Saber, you probably want to go to the config at UserData/Beat Saber IPA.json and set both of the following to false : { ... \"Updates\": { \"AutoUpdate\": false, \"AutoCheckUpdates\": false }, ... } Tip Depending on the game, you may have to set the config member GameAssemblies to the names of the assemblies that the game uses for BSIPA to virtualize them properly. For Beat Saber distrobutions, this will be set according to the version that it was built for by default. Otherwise, it will contain just Assembly-CSharp.dll since most games use that default. From here, just place all of your plugins in the Plugins folder, and you're all set! Many plugins will come in a zip such that the root of the zip represents the game install directory, so all you may have to do is extract the plugin into the game installation folder. Note For some reason, by default, Wine does not load DLLs in quite the same way that Windows does, causing issues with the injection. To make the injection work with Wine, winhttp has to have a DLL override set to native,builtin . This can be set either through Protontricks, or with the following .reg file. REGEDIT4 [HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides] \"winhttp\"=\"native,builtin\" For Steam there's a per-game Wine prefix under compatdata . In this case SteamLibrary/steamapps/compatdata/620980/pfx/user.reg . Changes to this file will likely be ovewritten when the game updates or if local files are validated through Steam. Thats really all you have to do! The installation should persist across game updates for as long as winhttp.dll is present in the game directory, though your plugins will be moved to a different folder when it does update so things don't break horribly. Uninstalling Uninstalling is fairly simple, and can be done one of two ways: Drag the game executable over IPA.exe while holding Alt . Open a command prompt or Powershell terminal and run .\\IPA.exe -rn . (see The Command Line for what those options mean)" }, - "api/IPA.Config.Stores.Attributes.IgnoreAttribute.html": { - "href": "api/IPA.Config.Stores.Attributes.IgnoreAttribute.html", - "title": "Class IgnoreAttribute", - "keywords": "Class IgnoreAttribute Causes a field or property in an object being wrapped by Generated(Config, Boolean) to be ignored during serialization and deserialization. Inheritance Object Attribute IgnoreAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class IgnoreAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "articles/start-dev.html": { + "href": "articles/start-dev.html", + "title": "Making your own mod", + "keywords": "Making a mod Overview What follows is a very barebones, and frankly not very useful plugin class, even as a starting point, but it should be enough to give a decent idea of how to do quick upgrades of existing mods for those who want to. using System; using IPA; using IPA.Logging; namespace Demo { [Plugin(RuntimeOptions.SingleStartInit)] internal class Plugin { public static Logger log { get; private set; } [Init] public Plugin(Logger logger) { log = logger; log.Debug(\"Basic plugin running!\"); // setup that does not require game code // this is only called once ever, so do once-ever initialization } [OnStart] public void OnStart() { // setup that requires game code } [OnExit] public void OnExit() { // teardown } } } There are basically 4 major concepts here: Logger , the logging system. PluginAttribute , which declares that this class is a plugin and how it should behave. InitAttribute , which declares the constructor (and optionally other methods) as being used for initialization. The lifecycle event attributes OnStartAttribute and OnExitAttribute . I reccommend you read the docs for each of those to get an idea for what they do. It is worth noting that this example is of a mod that cannot be enabled and disabled at runtime, as marked by RuntimeOptions.SingleStartInit . What can be changed Before we go adding more functionality, its worth mentioning that that is not the only way to have a plugin set up. For starters, we can add another method marked [Init] , and it will be called after the constructor, with the same injected parameters, if those are applicable. [Init] public void Init(Logger logger) { // logger will be the same instance as log currently is } If you only had a method marked [Init] , and no constructors marked [Init] , then the plugin type must expose a public default constructor. If multiple constructors are marked [Init] , only the one with the most parameters will be called. You may also mark as many methods as you wish with [Init] and all of them will be called, in no well-defined order on initialization. The same is true for [OnStart] and [OnExit] , respectively. From Scratch If you are starting from scratch, you will need one other thing to get your plugin up and running: a manifest. A basic manifest for that might look a little like this: { \"author\": \"ExampleMan\", \"description\": [ \"A demo plugin written for the BSIPA basic tutorial.\" ], \"gameVersion\": \"1.6.0\", \"id\": null, \"name\": \"Demo Plugin\", \"version\": \"0.0.1\", \"features\": [ ], \"links\": { \"project-home\": \"https://example.com/demo-plugin\", \"project-source\": \"https://github.com/exampleman/demo-plugin/\", \"donate\": \"https://ko-fi.com/exampleman\" }, } There is a lot going on there, but most of it should be decently obvious. Among the things that aren't immediately obvious, are id : This represents a unique identifier for the mod, for use by package managers such as BeatMods. It may be null if the mod chooses not to support those. features : Don't worry about this for now, this is a not-very-simple thing that will be touched on later. In addition, there are a few gatchas with it: description : This can be either a string or an array representing different lines. Markdown formatting is permitted. gameVersion : This should match exactly with the application version of the game being targeted. While this is not enforced by BSIPA, mod repositories like BeatMods may require it match, and it is good practice regardless. version : This must be a valid SemVer version number for your mod. In order for your plugin to load, the manifest must be embedded into the plugin DLL as an embedded resource. This can be set in the Visual Studio file properties panel under Build Action , or in the .csproj like so: At this point, if the main plugin source file and the manifest are in the same source location, and the plugin class is using the project's default namespace, the plugin will load just fine. However, this is somewhat difficult both to explain and verify, so I recommend you use the the misc.plugin-hint field in your manifest. It can be used like so: \"misc\": { \"plugin-hint\": \"Demo.Plugin\" } With this, you can set plugin-hint to the full typename of your plugin type, and it will correctly load. This is a hint though, and will also try it as a namespace if it fails to find the plugin type. If that fails, it will then fall back to using the manifest's embedded namespace. A less painful description If you want to have a relatively long or well-formatted description for your mod, it may start to become painful to embed it in a list of JSON strings in the manifest. Luckily, there is a way to handle this. The first step is to create another embedded file, but this time it should be a Markdown file, perhaps description.md . It may contain something like this: # Demo Plugin A little demo for the BSIPA modding introduction. --- WE CAN USE MARKDOWN!!! Then, in your manifest description, have the first line be something look like this, but replacing Demo.description.md with the fully namespaced name of the resource: \"#![Demo.description.md]\", Now, when loaded into memory, if anything reads your description metadata, they get the content of that file instead of the content of the manifest key. Configuring your plugin Something that many plugins want and need is configuration. Fortunately, BSIPA provides a fairly powerful configuration system out of the box. To start using it, first create a config class of some kind. Lets take a look at a fairly simple example of this: namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public int IntValue { get; set; } = 42; public float FloatValue { get; set; } = 3.14159f; } } Notice how the class is both marked public and is not marked sealed . For the moment, both of these are necessary. Also notice that all of the members are properties. While this doesn't change much now, it will be significant in the near future. Now, how do we get this object off of disk? Simple. Back in your plugin class, change your [Init] constructor to look like this: [Init] public Plugin(Logger logger, Config conf) { log = logger; PluginConfig.Instance = conf.Generated(); log.Debug(\"Config loaded\"); // setup that does not require game code } For this to compile, though, we will need to add a few using s: using IPA.Config; using IPA.Config.Stores; With just this, you have your config automatically loading from disk! It's even reloaded when it gets changed mid-game! You can now access it from anywhere by simply accessing PluginConfig.Instance . Make sure you don't accidentally reassign this though, as then you will loose your only interaction with the user's preferences. By default, it will be named the same as is in your plugin's manifest's name field, and will use the built-in json provider. This means that the file that will be loaded from will be UserData/Demo Plugin.json for our demo plugin. You can, however, control both of those by applying attributes to the Config parameter, namely Config.NameAttribute to control the name, and Config.PreferAttribute to control the type. If the type preferences aren't registered though, it will just fall back to JSON. The config's behaviour can be found either later here, or in the remarks section of Generated(Config, Boolean) . At this point, your main plugin file should look something like this: using System; using IPA; using IPA.Logging; using IPA.Config; using IPA.Config.Stores; namespace Demo { [Plugin(RuntimeOptions.SingleStartInit)] internal class Plugin { public static Logger log { get; private set; } [Init] public Plugin(Logger logger, Config conf) { log = logger; PluginConfig.Instance = conf.Generated(); log.Debug(\"Config loaded\"); // setup that does not require game code } [OnStart] public void OnStart() { // setup that requires game code } [OnExit] public void OnExit() { // teardown } } } But what about more complex types than just int and float ? What if you want sub-objects? Those are supported natively, and so are very easy to set up. We just add this to the config class: public class SubThingsObject { public double DoubleValue { get; set; } = 2.718281828459045; } public SubThingsObject SubThings { get; set; } = new SubThingsObject(); Now this object will be automatically read from disk too. But there is one caveat to this: because SubThingsObject is a reference type, SubThings can be null . This is often undesireable. The obvious solution may be to simply change it to a struct , but that is both not supported and potentially undesirable for other reasons we'll get to later. Instead, you can use NonNullableAttribute . Change the definition of SubThings to this: [NonNullable] public SubThingsObject SubThings { get; set; } = new SubThingsObject(); And add this to the using s: using IPA.Config.Stores.Attributes; This attribute tells the serializer that null is an invalid value for the config object. This does, however, require that you take extra care ensure that it never becomes null in code, as that will break the serializer. What about collection types? Well, you can use those too, but you have to use something new: a converter. You may be familiar with them if you have used something like the popular Newtonsoft.Json library before. In BSIPA, they lie in the IPA.Config.Stores.Converters namespace. All converters either implement IValueConverter or derive from ValueConverter . You will mostly use them with an UseConverterAttribute . To use them, we'll want to import them: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Converters; Then add a field, for example a list field: [UseConverter(typeof(ListConverter))] public List ListValue { get; set; } = new List(); This uses a converter that is provided with BSIPA for List s specifically. It converts the list to an ordered array, which is then written to disk as a JSON array. We could also potentially want use something like a HashSet . Lets start by looking at the definition for such a member, then deciphering what exactly it means: [UseConverter(typeof(CollectionConverter>))] public HashSet SetValue { get; set; } = new HashSet(); The converter we're using here is CollectionConverter , a base type for converters of all kinds of collections. In fact, the ListConverter is derived from this, and uses it for most of its implementation. If a type implements ICollection , CollectionConverter can convert it. It, like most other BSIPA provided aggregate converters, provides a type argument overload CollectionConverter to compose other converters with it to handle unusual element types. Now after all that, your plugin class has not changed, and your config class should look something like this: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public double DoubleValue { get; set; } = 2.718281828459045; } public int IntValue { get; set; } = 42; public float FloatValue { get; set; } = 3.14159f; [NonNullable] public SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public HashSet SetValue { get; set; } = new HashSet(); } } I mentioned earlier that your config file will be automatically reloaded -- but isn't that a bad thing? Doesn't that mean that the config could change under your feet without you having a way to tell? Not so- I just haven't introduced the mechanism. Define a public or protected virtual method named OnReload : public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } This method will be called whenever BSIPA reloads your config from disk. When it is called, the object will already have been populated. Use it to notify all of your systems that configuration has changed. Now, we know how to read from disk, and how to use unusual types, but how do we write it back to disk? This config system is based on automatic saving (though we haven't quite gotten to the automatic part), and so the config is written to disk whenever the system recognizes that something has changed. To tell is as much, define a public or protected virtual method named Changed : public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } This method can be called to tell BSIPA that this config object has changed. Later, when we enable automated change tracking, this will also be called when one of the config's members changes. You can use this body to validate something or, for example, write a timestamp for last change. I just mentioned automated change tracking -- lets add that now. To do this, just make all of the properties virtual, like so: public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); Now, whenever you assign to any of those properties, your Changed method will be called, and the config object will be marked as changed and will be written to disk. Unfortunately, any properties that can be modified while only using the property getter do not trigger this, and so if you change any collections for example, you will have to manually call Changed . After doing all this, your config class should look something like this: using System.Collections.Generic; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; namespace Demo { public class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } } } There is one more major problem with this though: the main class is still public. Most configs shouldn't be. Lets make it internal. So we make it internal: internal class PluginConfig But to make it actually work, we add this outside the namespace declaration: using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)] And now our full file looks like this: using System.Collections.Generic; using System.Runtime.CompilerServices; using IPA.Config.Stores; using IPA.Config.Stores.Attributes; using IPA.Config.Stores.Converters; [assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)] namespace Demo { internal class PluginConfig { public static PluginConfig Instance { get; set; } public class SubThingsObject { public virtual double DoubleValue { get; set; } = 2.718281828459045; } public virtual int IntValue { get; set; } = 42; public virtual float FloatValue { get; set; } = 3.14159f; [NonNullable] public virtual SubThingsObject SubThings { get; set; } = new SubThingsObject(); [UseConverter(typeof(ListConverter))] public virtual List ListValue { get; set; } = new List(); [UseConverter(typeof(CollectionConverter>))] public virtual HashSet SetValue { get; set; } = new HashSet(); public virtual void Changed() { // this is called whenever one of the virtual properties is changed // can be called to signal that the content has been changed } public virtual void OnReload() { // this is called whenever the config file is reloaded from disk // use it to tell all of your systems that something has changed // this is called off of the main thread, and is not safe to interact // with Unity in } } }" }, - "api/IPA.Config.ModPrefs.html": { - "href": "api/IPA.Config.ModPrefs.html", - "title": "Class ModPrefs", - "keywords": "Class ModPrefs Allows to get and set preferences for your mod. Inheritance Object ModPrefs Implements IModPrefs Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [Obsolete(\"Uses IniFile, which uses 16 bit system calls. Use BS Utils INI system for now.\")] public class ModPrefs : IModPrefs Constructors | Improve this Doc View Source ModPrefs(PluginMetadata) Constructs a ModPrefs object for the provide plugin. Declaration public ModPrefs(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to get the preferences file for Methods | Improve this Doc View Source GetBool(String, String, Boolean, Boolean) Gets a bool from the ini. Declaration public static bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Boolean | Improve this Doc View Source GetFloat(String, String, Single, Boolean) Gets a float from the ini. Declaration public static float GetFloat(string section, string name, float defaultValue = 0F, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Single defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Single | Improve this Doc View Source GetInt(String, String, Int32, Boolean) Gets an int from the ini. Declaration public static int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Int32 | Improve this Doc View Source GetString(String, String, String, Boolean) Gets a string from the ini. Declaration public static string GetString(string section, string name, string defaultValue = \"\", bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. String defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description String | Improve this Doc View Source HasKey(String, String) Checks whether or not a key exists in the ini. Declaration public static bool HasKey(string section, string name) Parameters Type Name Description String section Section of the key. String name Name of the key. Returns Type Description Boolean | Improve this Doc View Source SetBool(String, String, Boolean) Sets a bool in the ini. Declaration public static void SetBool(string section, string name, bool value) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean value Value that should be written. | Improve this Doc View Source SetFloat(String, String, Single) Sets a float in the ini. Declaration public static void SetFloat(string section, string name, float value) Parameters Type Name Description String section Section of the key. String name Name of the key. Single value Value that should be written. | Improve this Doc View Source SetInt(String, String, Int32) Sets an int in the ini. Declaration public static void SetInt(string section, string name, int value) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 value Value that should be written. | Improve this Doc View Source SetString(String, String, String) Sets a string in the ini. Declaration public static void SetString(string section, string name, string value) Parameters Type Name Description String section Section of the key. String name Name of the key. String value Value that should be written. Explicit Interface Implementations | Improve this Doc View Source IModPrefs.GetBool(String, String, Boolean, Boolean) Declaration bool IModPrefs.GetBool(string section, string name, bool defaultValue, bool autoSave) Parameters Type Name Description String section String name Boolean defaultValue Boolean autoSave Returns Type Description Boolean | Improve this Doc View Source IModPrefs.GetFloat(String, String, Single, Boolean) Declaration float IModPrefs.GetFloat(string section, string name, float defaultValue, bool autoSave) Parameters Type Name Description String section String name Single defaultValue Boolean autoSave Returns Type Description Single | Improve this Doc View Source IModPrefs.GetInt(String, String, Int32, Boolean) Declaration int IModPrefs.GetInt(string section, string name, int defaultValue, bool autoSave) Parameters Type Name Description String section String name Int32 defaultValue Boolean autoSave Returns Type Description Int32 | Improve this Doc View Source IModPrefs.GetString(String, String, String, Boolean) Declaration string IModPrefs.GetString(string section, string name, string defaultValue, bool autoSave) Parameters Type Name Description String section String name String defaultValue Boolean autoSave Returns Type Description String | Improve this Doc View Source IModPrefs.HasKey(String, String) Declaration bool IModPrefs.HasKey(string section, string name) Parameters Type Name Description String section String name Returns Type Description Boolean | Improve this Doc View Source IModPrefs.SetBool(String, String, Boolean) Declaration void IModPrefs.SetBool(string section, string name, bool value) Parameters Type Name Description String section String name Boolean value | Improve this Doc View Source IModPrefs.SetFloat(String, String, Single) Declaration void IModPrefs.SetFloat(string section, string name, float value) Parameters Type Name Description String section String name Single value | Improve this Doc View Source IModPrefs.SetInt(String, String, Int32) Declaration void IModPrefs.SetInt(string section, string name, int value) Parameters Type Name Description String section String name Int32 value | Improve this Doc View Source IModPrefs.SetString(String, String, String) Declaration void IModPrefs.SetString(string section, string name, string value) Parameters Type Name Description String section String name String value Implements IModPrefs Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "articles/index.html": { + "href": "articles/index.html", + "title": "Getting Started", + "keywords": "Getting Started Starting out is quite simple. Just follow one of the following guides: Installing BSIPA Making your own mod Or, if you want to contribute, see Contributing ." }, - "api/IPA.Config.IConfigProvider.html": { - "href": "api/IPA.Config.IConfigProvider.html", - "title": "Interface IConfigProvider", - "keywords": "Interface IConfigProvider An interface for configuration providers. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public interface IConfigProvider Remarks Implementers must provide a default constructor. Do not assume that File will ever be set for a given object. Implementers are expected to preserve the typing of values passed to Store(Value, FileInfo) when returned from Load(FileInfo) . The only exceptions to this are the numeric types, Integer and FloatingPoint , since they can be coerced to each other with AsFloat() and AsInteger() respectively. The provider should however store and recover Integer with as much precision as is possible. For example, a JSON provider may decide to decode all numbers that have an integral value, even if they were originally FloatingPoint , as Integer . This is reasonable, as Integer is more precise, particularly with larger values, than FloatingPoint . Properties | Improve this Doc View Source Extension Gets the extension without a dot to use for files handled by this provider. Declaration string Extension { get; } Property Value Type Description String Remarks This must work immediately, and is used to generate the FileInfo used to set File . Methods | Improve this Doc View Source Load(FileInfo) Loads a Value from disk in whatever format this provider provides and returns it. Declaration Value Load(FileInfo file) Parameters Type Name Description FileInfo file the file to read from Returns Type Description Value the Value loaded | Improve this Doc View Source Store(Value, FileInfo) Stores the Value given to disk in the format specified. Declaration void Store(Value value, FileInfo file) Parameters Type Name Description Value value the Value to store FileInfo file the file to write to Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "articles/contributing.html": { + "href": "articles/contributing.html", + "title": "Contributing", + "keywords": "Contributing Prerequisites Microsoft Visual Studio 2019 or later (2017 may work, no guarantees) Tools for C/C++ (MSVC) v141 .NET 4.6.1 SDK and .NET 4.7.2 SDK Beat Saber (if developing for .NET 4.5+) Muse Dash (if developing for .NET 3.5) Building Clone with git clone https://github.com/beat-saber-modding-group/BeatSaber-IPA-Reloaded.git --recursive Create a file, bsinstalldir.txt in the solution root. Do NOT create this in Visual Studio; VS adds a BOM at the begginning of the file that the tools used cannot read. It should contain the path to your Beat Saber installation, using forward slashes with a trailing slash. e.g. C:/Program Files (x86)/Steam/steamapps/common/Beat Saber/ If you intend to be doing .NET 3.5 centric development, you must put your Muse Dash installation folder in a file named mdinstalldir.txt that is otherwise identical to bsinstalldir.txt . Open BSIPA.sln in Visual Studio. Choose the configuration that you intend to target during development. Rebuild all. When you make a change somewhere in BSIPA itself, right click on BSIPA-Meta and click Build or Rebuild . This sets up the output in path/to/solution/BSIPA-Meta/bin/ to be what should be copied to the game directory. When making a change to Mod List, you only need to build Mod List itself. Install by copying everything in path/to/solution/BSIPA-ModList/bin/ to your game directory. When building a Debug build, all referenced assemblies from Beat Saber will be copied from the install directory provided in bsinstalldir.txt into Refs/ . Any new references should reference the copy in there. When building for Release, it just uses the files already in Refs/ ." }, - "api/IPA.Utilities.html": { - "href": "api/IPA.Utilities.html", + "articles/command-line.html": { + "href": "articles/command-line.html", + "title": "The Command Line", + "keywords": "The Command Line BSIPA has 2 command lines: the installer, and the game. Their documentation is below. The Installer ( IPA.exe ) The Game The installer has quite a few options, which are documented inline with the -h or --help flag. This is what it currently looks like: usage: IPA.exe [FLAGS] [ARGUMENTS] flags: -h, --help prints this message -w, --waitfor=PID waits for the specified PID to exit -f, --force forces the operation to go through -r, --revert reverts the IPA installation -n, --nowait doesn't wait for user input after the operation -s, --start=ARGUMENTS uses the specified arguments to start the game after the patch/unpatch -l, --launch uses positional parameters as arguments to start the game after patch/unpatch -R, --no-revert prevents a normal installation from first reverting The game also gets quite a few command line options, though there isn't anything as convenient as a help page for them. Here's a quick list of what they are and what they do. --verbose Makes a console appear with log information at startup. --debug Enables the loading of debug information in Mono. The debugging information must be in the portable PDB format, in the same location as the DLL that it's for. This option also forces BSIPA to show all debug messages in the console, as well as where they were called. This overrides the config settings Debug.ShowDebug and Debug.ShowCallSource . --trace Enables trace level messages. By default, they do not ever enter the message queue, and thus cost almost nothing. When this or the config option is used, they are added and logged with the same rules as Debug messages. This overrides the config setting Debug.ShowTrace . --mono-debug Enables the built-in Mono soft debugger engine. By default, it acts as a client, and requires that there be a soft debugger server running on port 10000 on localhost . Implies --debug . --server Does nothing on its own. When paired with --mono-debug , this option makes the Mono soft debugger act in server mode. It begins listening on port 10000 on any address, and will pause startup (with no window) until a debugger is connected. I recommend using SDB, but that is a command line debugger and a lot of people don't care for those. --no-yeet Disables mod yeeting. By default, whenever BSIPA detects that the game is now running a newer version than previous runs, it will move all mods to another folder and not load them. (They still get checked for updates though.) When this is enabled, that behaviour is disabled. Overrides the config setting YeetMods . --condense-logs Reduces the number of log files BSIPA will output for a given session. By default, BSIPA will create a subfolder in the Logs folder for each mod sublog, as well as each mod. This disables that behaviour, and restricts it to only create a global log and mod logs. Overrides the config setting Debug.CondenseModLogs . --no-updates Disables automatic updating. By default, BSIPA will check BeatMods for all of the loaded mods to see if there is a new version avaliable. If there is, it will be downloaded and installed on the next run. This flag disables that behaviour. Overrides the config settings Updates.AutoCheckUpdates and Updates.AutoUpdate ." + }, + "other_api/config/schema.html": { + "href": "other_api/config/schema.html", + "title": "Configuration File Schema", + "keywords": "Configuration File Schema { \"definitions\": { \"Debug_\": { \"type\": \"object\", \"properties\": { \"ShowCallSource\": { \"type\": \"boolean\" }, \"ShowDebug\": { \"type\": \"boolean\" }, \"CondenseModLogs\": { \"type\": \"boolean\" }, \"ShowHandledErrorStackTraces\": { \"type\": \"boolean\" }, \"HideMessagesForPerformance\": { \"type\": \"boolean\" }, \"HideLogThreshold\": { \"type\": \"integer\" }, \"ShowTrace\": { \"type\": \"boolean\" }, \"SyncLogging\": { \"type\": \"boolean\" } }, \"required\": [ \"ShowCallSource\", \"ShowDebug\", \"CondenseModLogs\", \"ShowHandledErrorStackTraces\", \"HideMessagesForPerformance\", \"HideLogThreshold\", \"ShowTrace\", \"SyncLogging\" ] }, \"Updates_\": { \"type\": \"object\", \"properties\": { \"AutoUpdate\": { \"type\": \"boolean\" }, \"AutoCheckUpdates\": { \"type\": \"boolean\" } }, \"required\": [ \"AutoUpdate\", \"AutoCheckUpdates\" ] } }, \"type\": \"object\", \"properties\": { \"Regenerate\": { \"type\": \"boolean\" }, \"Updates\": { \"$ref\": \"#/definitions/Updates_\" }, \"Debug\": { \"$ref\": \"#/definitions/Debug_\" }, \"YeetMods\": { \"type\": \"boolean\" }, \"GameAssemblies\": { \"type\": \"array\", \"items\": { \"type\": \"string\" } }, \"LastGameVersion\": { \"type\": \"string\" } }, \"required\": [ \"Regenerate\", \"Updates\", \"Debug\", \"YeetMods\", \"GameAssemblies\" ] }" + }, + "other_api/index.html": { + "href": "other_api/index.html", "title": "", - "keywords": "Classes AlmostVersion A type that wraps so that the string of the version is stored when the string is not a valid . AlmostVersionConverter A ValueConverter for AlmostVersion s. CriticalSection Provides utilities for managing various critical sections. EnumerableExtensions Extensions for IEnumerable that don't currently exist in System.Linq . Extensions A class providing various extension methods. FieldAccessor A type containing utilities for accessing non-public fields of objects. MethodAccessor A type containing utilities for calling non-public methods on an object. PropertyAccessor A type containing utilities for accessing non-public properties of an object. Ref Utilities to create Ref using type inference. Ref A class to store a reference for passing to methods which cannot take ref parameters. ReflectionUtil A utility class providing reflection helper methods. UnityGame Provides some basic utility methods and properties of Beat Saber Utils A class providing static utility functions that in any other language would just exist . Structs CriticalSection.AutoExecuteSection A struct that allows using blocks to manage an execute section. Utils.ScopeGuardObject An object used to manage scope guards. Enums AlmostVersion.StoredAs Represents a storage type of either parsed object or raw String . UnityGame.Release The different types of releases of the game. Delegates FieldAccessor.Accessor A delegate for a field accessor taking a T ref and returning a U ref. PropertyAccessor.Getter A getter for a property. PropertyAccessor.Setter A setter for a property." + "keywords": "" }, - "api/IPA.Utilities.Utils.html": { - "href": "api/IPA.Utilities.Utils.html", - "title": "Class Utils", - "keywords": "Class Utils A class providing static utility functions that in any other language would just exist . Inheritance Object Utils Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class Utils Properties | Improve this Doc View Source CanUseDateTimeNowSafely Whether you can safely use Now without Mono throwing a fit. Declaration public static bool CanUseDateTimeNowSafely { get; } Property Value Type Description Boolean true if you can use Now safely, false otherwise Methods | Improve this Doc View Source ByteArrayToString(Byte[]) Converts a byte array to a hex string. Declaration public static string ByteArrayToString(byte[] ba) Parameters Type Name Description Byte [] ba the byte array Returns Type Description String the hex form of the array | Improve this Doc View Source CopyAll(DirectoryInfo, DirectoryInfo, String, Func) Copies all files from source to target . Declaration public static void CopyAll(DirectoryInfo source, DirectoryInfo target, string appendFileName = \"\", Func onCopyException = null) Parameters Type Name Description DirectoryInfo source the source directory DirectoryInfo target the destination directory String appendFileName the filename of the file to append together Func < Exception , FileInfo , Boolean > onCopyException a delegate called when there is an error copying. Return true to keep going. | Improve this Doc View Source CurrentTime() Returns Now if supported, otherwise UtcNow . Declaration public static DateTime CurrentTime() Returns Type Description DateTime the current DateTime if supported, otherwise some indeterminant increasing value. | Improve this Doc View Source GetRelativePath(String, String) Gets a path relative to the provided folder. Declaration public static string GetRelativePath(string file, string folder) Parameters Type Name Description String file the file to relativize String folder the source folder Returns Type Description String a path to get from folder to file | Improve this Doc View Source ScopeGuard(Action) Creates a scope guard for a given Action . Declaration public static Utils.ScopeGuardObject ScopeGuard(Action action) Parameters Type Name Description Action action the Action to run on dispose Returns Type Description Utils.ScopeGuardObject a Utils.ScopeGuardObject that will run action on disposal Examples using var _ = Utils.ScopeGuard(() => RunOnScopeExit(value)); | Improve this Doc View Source StringToByteArray(String) Converts a hex string to a byte array. Declaration public static byte[] StringToByteArray(string hex) Parameters Type Name Description String hex the hex stream Returns Type Description Byte [] the corresponding byte array | Improve this Doc View Source UnsafeCompare(Byte[], Byte[]) Uses unsafe code to compare 2 byte arrays quickly. Declaration public static bool UnsafeCompare(byte[] a1, byte[] a2) Parameters Type Name Description Byte [] a1 array 1 Byte [] a2 array 2 Returns Type Description Boolean whether or not they are byte-for-byte equal | Improve this Doc View Source VersionCompareNoPrerelease(SemVer.Version, SemVer.Version) Compares a pair of s ignoring both the prerelease and build fields. Declaration public static int VersionCompareNoPrerelease(SemVer.Version l, SemVer.Version r) Parameters Type Name Description SemVer.Version l the left value SemVer.Version r the right value Returns Type Description Int32 < 0 if l is less than r, 0 if they are equal in the numeric portion, or > 0 if l is greater than r" + "api/index.html": { + "href": "api/index.html", + "title": "BSIPA API Documentation", + "keywords": "BSIPA API Documentation Welcome to the full class documentation! To see guides, head over to the Articles tab . Select a namespace and a class on the left to get started." + }, + "index.html": { + "href": "index.html", + "title": "BSIPA - Home", + "keywords": "BSIPA - The Unity mod injector for the new age (pending confirmation). Assuming, that is, that Unity 2017 is \"new age\". How To Install See Installing How To Uninstall See Uninstalling Arguments See The Command Line . How To Develop See Developing for more information. How To Keep The Game Patched BSIPA will automatically repatch the game when it updates, as long as winhttp.dll is present in the install directory." + }, + "api/IPA.Config.Config.html": { + "href": "api/IPA.Config.Config.html", + "title": "Class Config", + "keywords": "Class Config An abstraction of a config file on disk, which handles synchronizing between a memory representation and the disk representation. Inheritance Object Config Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public class Config Properties | Improve this Doc View Source Name Gets the name associated with this Config object. Declaration public string Name { get; } Property Value Type Description String | Improve this Doc View Source Provider Gets the IConfigProvider associated with this Config object. Declaration public IConfigProvider Provider { get; } Property Value Type Description IConfigProvider Methods | Improve this Doc View Source GetConfigFor(String, String[]) Gets a Config object using the specified list of preferred config types. Declaration public static Config GetConfigFor(string configName, params string[] extensions) Parameters Type Name Description String configName the name of the mod for this config String [] extensions the preferred config types to try to get Returns Type Description Config a Config using the requested format, or of type JSON. | Improve this Doc View Source LoadAsync() Forces an asynchronous load from disk. Declaration public Task LoadAsync() Returns Type Description Task | Improve this Doc View Source LoadSync() Forces a synchronous load from disk. Declaration public void LoadSync() | Improve this Doc View Source Register(Type) Registers a IConfigProvider to use for configs. Declaration public static void Register(Type type) Parameters Type Name Description Type type the type to register | Improve this Doc View Source Register() Registers a IConfigProvider to use for configs. Declaration public static void Register() where T : IConfigProvider Type Parameters Name Description T the type to register | Improve this Doc View Source SetStore(IConfigStore) Sets this object's IConfigStore . Can only be called once. Declaration public void SetStore(IConfigStore store) Parameters Type Name Description IConfigStore store the IConfigStore to add to this instance Exceptions Type Condition InvalidOperationException If this was called before. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) GeneratedStore.Generated(Config, Boolean)" + }, + "api/IPA.Config.Config.NameAttribute.html": { + "href": "api/IPA.Config.Config.NameAttribute.html", + "title": "Class Config.NameAttribute", + "keywords": "Class Config.NameAttribute Specifies a preferred config name, instead of using the plugin's name. Inheritance Object Attribute Config.NameAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Parameter)] public sealed class NameAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source NameAttribute(String) Constructs the attribute with a specific name. Declaration public NameAttribute(string name) Parameters Type Name Description String name the name to use for the config. Properties | Improve this Doc View Source Name The name to use for the config. Declaration public string Name { get; } Property Value Type Description String the name to use for the config Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.Utilities.Utils.ScopeGuardObject.html": { "href": "api/IPA.Utilities.Utils.ScopeGuardObject.html", "title": "Struct Utils.ScopeGuardObject", "keywords": "Struct Utils.ScopeGuardObject An object used to manage scope guards. Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public struct ScopeGuardObject : IDisposable Examples using var _ = new Utils.ScopeGuardObject(() => RunOnScopeExit(value)); Constructors | Improve this Doc View Source ScopeGuardObject(Action) Creates a new scope guard that will invoke action when disposed. Declaration public ScopeGuardObject(Action action) Parameters Type Name Description Action action the action to run on dispose Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also ScopeGuard(Action)" }, - "api/IPA.Utilities.MethodAccessor-2.html": { - "href": "api/IPA.Utilities.MethodAccessor-2.html", - "title": "Class MethodAccessor", - "keywords": "Class MethodAccessor A type containing utilities for calling non-public methods on an object. Inheritance Object MethodAccessor Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class MethodAccessor where TDelegate : Delegate Type Parameters Name Description T the type to find the methods on TDelegate the delegate type to create, and to use as a signature to search for Methods | Improve this Doc View Source GetDelegate(String) Gets a delegate to the named method with the signature specified by TDelegate . Declaration public static TDelegate GetDelegate(string name) Parameters Type Name Description String name the name of the method to get Returns Type Description TDelegate a delegate that can call the specified method Exceptions Type Condition MissingMethodException if name does not represent the name of a method with the given signature ArgumentException if the method found returns a type incompatable with the return type of TDelegate" + "api/IPA.Utilities.UnityGame.html": { + "href": "api/IPA.Utilities.UnityGame.html", + "title": "Class UnityGame", + "keywords": "Class UnityGame Provides some basic utility methods and properties of Beat Saber Inheritance Object UnityGame Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class UnityGame Properties | Improve this Doc View Source GameVersion Provides the current game version. Declaration public static AlmostVersion GameVersion { get; } Property Value Type Description AlmostVersion the SemVer version of the game | Improve this Doc View Source InstallPath Gets the path to the game's install directory. Declaration public static string InstallPath { get; } Property Value Type Description String the path of the game install directory | Improve this Doc View Source LibraryPath The path to the Libs folder. Use only if necessary. Declaration public static string LibraryPath { get; } Property Value Type Description String the path to the library directory | Improve this Doc View Source NativeLibraryPath The path to the Libs\\Native folder. Use only if necessary. Declaration public static string NativeLibraryPath { get; } Property Value Type Description String the path to the native library directory | Improve this Doc View Source OnMainThread Checks if the currently running code is running on the Unity main thread. Declaration public static bool OnMainThread { get; } Property Value Type Description Boolean true if the curent thread is the Unity main thread, false otherwise | Improve this Doc View Source PluginsPath The directory to load plugins from. Declaration public static string PluginsPath { get; } Property Value Type Description String the path to the plugin directory | Improve this Doc View Source ReleaseType Gets the UnityGame.Release type of this installation of Beat Saber Declaration public static UnityGame.Release ReleaseType { get; } Property Value Type Description UnityGame.Release the type of release this is Remarks This only gives a | Improve this Doc View Source UserDataPath The path to the UserData folder. Declaration public static string UserDataPath { get; } Property Value Type Description String the path to the user data directory" }, - "api/IPA.Utilities.FieldAccessor-2.html": { - "href": "api/IPA.Utilities.FieldAccessor-2.html", - "title": "Class FieldAccessor", - "keywords": "Class FieldAccessor A type containing utilities for accessing non-public fields of objects. Inheritance Object FieldAccessor Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class FieldAccessor Type Parameters Name Description T the type that the fields are on U the type of the field to access Methods | Improve this Doc View Source Access(ref T, String) Accesses a field for an object by name. Declaration public static U Access(ref T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U a reference to the object at the field Exceptions Type Condition MissingFieldException if the field does not exist on T See Also GetAccessor(String) | Improve this Doc View Source Get(T, String) Gets the value of a field of an object by name. Declaration public static U Get(T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U the value of the field Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Get(ref T, String) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source Get(ref T, String) Gets the value of a field of an object by name. Declaration public static U Get(ref T obj, string name) Parameters Type Name Description T obj the object to access the field of String name the name of the field to access Returns Type Description U the value of the field Remarks The only good reason to use this over Get(T, String) is when you are working with a value type, as it prevents a copy. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Get(T, String) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source GetAccessor(String) Gets an FieldAccessor.Accessor for the field named name on T . Declaration public static FieldAccessor.Accessor GetAccessor(string name) Parameters Type Name Description String name the field name Returns Type Description FieldAccessor.Accessor <> an accessor for the field Exceptions Type Condition MissingFieldException if the field does not exist on T | Improve this Doc View Source Set(T, String, U) Sets the value of a field for an object by name. Declaration public static void Set(T obj, string name, U value) Parameters Type Name Description T obj the object to set the field of String name the name of the field U value the value to set it to Remarks This overload cannot be safely used for value types. Use Set(ref T, String, U) instead. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Set(ref T, String, U) Access(ref T, String) GetAccessor(String) | Improve this Doc View Source Set(ref T, String, U) Sets the value of a field for an object by name. Declaration public static void Set(ref T obj, string name, U value) Parameters Type Name Description T obj the object to set the field of String name the name of the field U value the value to set it to Remarks This overload must be used for value types. Exceptions Type Condition MissingFieldException if the field does not exist on T See Also Set(T, String, U) Access(ref T, String) GetAccessor(String) See Also PropertyAccessor " + "api/IPA.Utilities.UnityGame.Release.html": { + "href": "api/IPA.Utilities.UnityGame.Release.html", + "title": "Enum UnityGame.Release", + "keywords": "Enum UnityGame.Release The different types of releases of the game. Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public enum Release Fields Name Description Other Indicates a non-Steam release. Steam Indicates a Steam release. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" }, "api/IPA.Utilities.FieldAccessor-2.Accessor.html": { "href": "api/IPA.Utilities.FieldAccessor-2.Accessor.html", @@ -599,50 +399,80 @@ "title": "Class Extensions", "keywords": "Class Extensions A class providing various extension methods. Inheritance Object Extensions Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class Extensions Methods | Improve this Doc View Source GetDefault(Type) Gets the default value for a given Type . Declaration public static object GetDefault(this Type type) Parameters Type Name Description Type type the Type to get the default value for Returns Type Description Object the default value of type | Improve this Doc View Source IsSubPathOf(String, String) Returns true if path starts with the path baseDirPath . The comparison is case-insensitive, handles / and \\ slashes as folder separators and only matches if the base dir folder name is matched exactly (\"c:\\foobar\\file.txt\" is not a sub path of \"c:\\foo\"). Declaration public static bool IsSubPathOf(this string path, string baseDirPath) Parameters Type Name Description String path String baseDirPath Returns Type Description Boolean | Improve this Doc View Source Right(String, Int32) Gets the rightmost length characters from a string. Declaration public static string Right(this string value, int length) Parameters Type Name Description String value The string to retrieve the substring from. Int32 length The number of characters to retrieve. Returns Type Description String The substring. | Improve this Doc View Source Unwrap(Nullable) Unwraps a Nullable where T is Boolean such that if the value is null, it gives false . Declaration public static bool Unwrap(this bool? self) Parameters Type Name Description Nullable < Boolean > self the bool? to unwrap Returns Type Description Boolean the unwrapped value, or false if it was null | Improve this Doc View Source WithEnding(String, String) Returns str with the minimal concatenation of ending (starting from end) that results in satisfying .EndsWith(ending). Declaration public static string WithEnding(this string str, string ending) Parameters Type Name Description String str String ending Returns Type Description String Examples \"hel\".WithEnding(\"llo\") returns \"hello\", which is the result of \"hel\" + \"lo\"." }, - "api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html": { - "href": "api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html", - "title": "Class UnityMainThreadTaskScheduler", - "keywords": "Class UnityMainThreadTaskScheduler A task scheduler that runs tasks on the Unity main thread via coroutines. Inheritance Object TaskScheduler UnityMainThreadTaskScheduler Implements IDisposable Inherited Members TaskScheduler.TryDequeue(Task) TaskScheduler.FromCurrentSynchronizationContext() TaskScheduler.TryExecuteTask(Task) TaskScheduler.MaximumConcurrencyLevel TaskScheduler.Current TaskScheduler.Id TaskScheduler.UnobservedTaskException Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class UnityMainThreadTaskScheduler : TaskScheduler, IDisposable Properties | Improve this Doc View Source Cancelling Gets whether or not this scheduler is in the process of shutting down. Declaration public bool Cancelling { get; } Property Value Type Description Boolean true if the scheduler is shutting down, false otherwise | Improve this Doc View Source Default Gets the default main thread scheduler that is managed by BSIPA. Declaration public static TaskScheduler Default { get; } Property Value Type Description TaskScheduler a scheduler that is managed by BSIPA | Improve this Doc View Source Factory Gets a factory for creating tasks on Default . Declaration public static TaskFactory Factory { get; } Property Value Type Description TaskFactory a factory for creating tasks on the default scheduler | Improve this Doc View Source IsRunning Gets whether or not this scheduler is currently executing tasks. Declaration public bool IsRunning { get; } Property Value Type Description Boolean true if the scheduler is running, false otherwise | Improve this Doc View Source YieldAfterTasks Gets or sets the number of tasks to execute before yielding back to Unity. Declaration public int YieldAfterTasks { get; set; } Property Value Type Description Int32 the number of tasks to execute per resume | Improve this Doc View Source YieldAfterTime Gets or sets the amount of time to execute tasks for before yielding back to Unity. Default is 0.5ms. Declaration public TimeSpan YieldAfterTime { get; set; } Property Value Type Description TimeSpan the amount of time to execute tasks for before yielding back to Unity Methods | Improve this Doc View Source Cancel() Cancels the scheduler. If the scheduler is currently executing tasks, that batch will finish first. All remaining tasks will be left in the queue. Declaration public void Cancel() Exceptions Type Condition ObjectDisposedException if this scheduler is disposed InvalidOperationException if the scheduler is not running | Improve this Doc View Source Coroutine() When used as a Unity coroutine, runs the scheduler. Otherwise, this is an invalid call. Declaration public IEnumerator Coroutine() Returns Type Description IEnumerator a Unity coroutine Remarks Do not ever call UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator) on this coroutine, nor UnityEngine.MonoBehaviour.StopAllCoroutines() on the behaviour hosting this coroutine. This has no way to detect this, and this object will become invalid. If you need to stop this coroutine, first call Cancel() , then wait for it to exit on its own. Exceptions Type Condition ObjectDisposedException if this scheduler is disposed InvalidOperationException if the scheduler is already running | Improve this Doc View Source Dispose() Disposes this object. This puts the object into an unusable state. Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes this object. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing whether or not to dispose managed objects | Improve this Doc View Source GetScheduledTasks() Throws a NotSupportedException . Declaration protected override IEnumerable GetScheduledTasks() Returns Type Description IEnumerable < Task > nothing Overrides TaskScheduler.GetScheduledTasks() Exceptions Type Condition NotSupportedException Always. | Improve this Doc View Source QueueTask(Task) Queues a given Task to this scheduler. The Task must> be scheduled for this TaskScheduler by the runtime. Declaration protected override void QueueTask(Task task) Parameters Type Name Description Task task the Task to queue Overrides TaskScheduler.QueueTask(Task) Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source TryExecuteTaskInline(Task, Boolean) Rejects any attempts to execute a task inline. Declaration protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued) Parameters Type Name Description Task task the task to attempt to execute Boolean taskWasPreviouslyQueued whether the task was previously queued to this scheduler Returns Type Description Boolean false Overrides TaskScheduler.TryExecuteTaskInline(Task, Boolean) Remarks This task scheduler always runs its tasks on the thread that it manages, therefore it doesn't make sense to run it inline. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Utilities.EnumerableExtensions.html": { + "href": "api/IPA.Utilities.EnumerableExtensions.html", + "title": "Class EnumerableExtensions", + "keywords": "Class EnumerableExtensions Extensions for IEnumerable that don't currently exist in System.Linq . Inheritance Object EnumerableExtensions Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class EnumerableExtensions Methods | Improve this Doc View Source Append(IEnumerable, T) Adds a value to the end of the sequence. Declaration public static IEnumerable Append(this IEnumerable seq, T app) Parameters Type Name Description IEnumerable seq a sequence of values T app the value to append to seq Returns Type Description IEnumerable a new sequence ending with app Type Parameters Name Description T the type of the elements of seq | Improve this Doc View Source NonNull(IEnumerable) LINQ-style extension method that filters null elements out of an enumeration. Declaration public static IEnumerable NonNull(this IEnumerable self) where T : class Parameters Type Name Description IEnumerable self the enumeration to filter Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration | Improve this Doc View Source NonNull(IEnumerable>) LINQ-style extension method that filters null elements from an enumeration of nullable types. Declaration public static IEnumerable NonNull(this IEnumerable self) where T : struct Parameters Type Name Description IEnumerable < Nullable > self the enumeration to filter Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the underlying type of the nullable enumeration | Improve this Doc View Source NonNull(IEnumerable, Func) LINQ-style extension method that filters null elements out of an enumeration based on a converter. Declaration public static IEnumerable NonNull(this IEnumerable self, Func pred) where U : class Parameters Type Name Description IEnumerable self the enumeration to filter Func pred the predicate to select for filtering Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration U the type to compare to null | Improve this Doc View Source NonNull(IEnumerable, Func>) LINQ-style extension method that filters null elements out of an enumeration based on a converter to a nullable type. Declaration public static IEnumerable NonNull(this IEnumerable self, Func pred) where U : struct Parameters Type Name Description IEnumerable self the enumeration to filter Func > pred the predicate to select for filtering Returns Type Description IEnumerable a filtered enumerable Type Parameters Name Description T the type of the enumeration U the type of the predicate's resulting nullable | Improve this Doc View Source Prepend(IEnumerable, T) Adds a value to the beginning of the sequence. Declaration public static IEnumerable Prepend(this IEnumerable seq, T prep) Parameters Type Name Description IEnumerable seq a sequence of values T prep the value to prepend to seq Returns Type Description IEnumerable a new sequence beginning with prep Type Parameters Name Description T the type of the elements of seq" }, - "api/IPA.OnStartAttribute.html": { - "href": "api/IPA.OnStartAttribute.html", - "title": "Class OnStartAttribute", - "keywords": "Class OnStartAttribute Indicates that the target method should be called when the game starts. Inheritance Object Attribute OnStartAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class OnStartAttribute : Attribute, _Attribute, IEdgeLifecycleAttribute Remarks This attribute is interchangable with OnEnableAttribute , and is treated identically. They are seperate to allow plugin code to more clearly describe the intent of the methods. Typically, this will be used when the RuntimeOptions parameter of the plugins's PluginAttribute is SingleStartInit . The method marked by this attribute will always be called from the Unity main thread. Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute OnEnableAttribute" + "api/IPA.Utilities.CriticalSection.html": { + "href": "api/IPA.Utilities.CriticalSection.html", + "title": "Class CriticalSection", + "keywords": "Class CriticalSection Provides utilities for managing various critical sections. Inheritance Object CriticalSection Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public static class CriticalSection Methods | Improve this Doc View Source EnterExecuteSection() Enters a critical execution section. Does not nest. Declaration public static void EnterExecuteSection() | Improve this Doc View Source ExecuteSection() Creates an CriticalSection.AutoExecuteSection for automated management of an execute section. Declaration public static CriticalSection.AutoExecuteSection ExecuteSection() Returns Type Description CriticalSection.AutoExecuteSection the new CriticalSection.AutoExecuteSection that manages the section | Improve this Doc View Source ExitExecuteSection() Exits a critical execution section. Does not nest. Declaration public static void ExitExecuteSection()" + }, + "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html": { + "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html", + "title": "Struct Synchronization.SemaphoreSlimLocker", + "keywords": "Struct Synchronization.SemaphoreSlimLocker A locker for a SemaphoreSlim that automatically releases when it is disposed. Create this with Lock(SemaphoreSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreSlimLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(SemaphoreSlim)" + }, + "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html": { + "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html", + "title": "Struct Synchronization.SemaphoreSlimAsyncLocker", + "keywords": "Struct Synchronization.SemaphoreSlimAsyncLocker A locker for a SemaphoreSlim that was created asynchronously and automatically releases when it is disposed. Create this with LockAsync(SemaphoreSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreSlimAsyncLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization LockAsync(SemaphoreSlim)" + }, + "api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html": { + "href": "api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html", + "title": "Struct Synchronization.SemaphoreLocker", + "keywords": "Struct Synchronization.SemaphoreLocker A locker for a Semaphore that automatically releases when it is disposed. Create this with Lock(Semaphore) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct SemaphoreLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(Semaphore)" + }, + "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html": { + "href": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html", + "title": "Struct Synchronization.ReaderWriterLockSlimWriteLocker", + "keywords": "Struct Synchronization.ReaderWriterLockSlimWriteLocker A locker for a write lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockWrite(ReaderWriterLockSlim) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct ReaderWriterLockSlimWriteLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization LockWrite(ReaderWriterLockSlim)" + }, + "api/IPA.Utilities.Async.SingleCreationValueCache-2.html": { + "href": "api/IPA.Utilities.Async.SingleCreationValueCache-2.html", + "title": "Class SingleCreationValueCache", + "keywords": "Class SingleCreationValueCache A dictionary-like type intended for thread-safe value caches whose values are created only once ever. Inheritance Object SingleCreationValueCache Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class SingleCreationValueCache Type Parameters Name Description TKey the key type of the cache TValue the value type of the cache Remarks This object basically wraps a ConcurrentDictionary with some special handling to ensure that values are only created once ever, without having multiple parallel constructions. Constructors | Improve this Doc View Source SingleCreationValueCache() Initializes a new instance of the SingleCreationValueCache class that is empty, has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. Declaration public SingleCreationValueCache() | Improve this Doc View Source SingleCreationValueCache(IEnumerable>) Initializes a new instance of the SingleCreationValueCache class that contains elements copied from the specified IEnumerable , has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. Declaration public SingleCreationValueCache(IEnumerable> collection) Parameters Type Name Description IEnumerable < KeyValuePair > collection the IEnumerable whose element are to be used for the new cache Exceptions Type Condition ArgumentNullException when any arguments are null ArgumentException collection contains duplicate keys | Improve this Doc View Source SingleCreationValueCache(IEnumerable>, IEqualityComparer) Initializes a new instance of the SingleCreationValueCache class that contains elements copied from the specified IEnumerable has the default concurrency level, has the default initial capacity, and uses the specified IEqualityComparer . Declaration public SingleCreationValueCache(IEnumerable> collection, IEqualityComparer comparer) Parameters Type Name Description IEnumerable < KeyValuePair > collection the IEnumerable whose elements are to be used for the new cache IEqualityComparer comparer the equality comparer to use when comparing keys Exceptions Type Condition ArgumentNullException collection or comparer is null | Improve this Doc View Source SingleCreationValueCache(IEqualityComparer) Initializes a new instance of the SingleCreationValueCache class that is empty, has the default concurrency level and capacity, and uses the specified IEqualityComparer . Declaration public SingleCreationValueCache(IEqualityComparer comparer) Parameters Type Name Description IEqualityComparer comparer the equality comparer to use when comparing keys Exceptions Type Condition ArgumentNullException comparer is null Properties | Improve this Doc View Source Count Gets the number of elements that this cache contains. Declaration public int Count { get; } Property Value Type Description Int32 | Improve this Doc View Source IsEmpty Gets a value that indicates whether this cache is empty. Declaration public bool IsEmpty { get; } Property Value Type Description Boolean Methods | Improve this Doc View Source Clear() Clears the cache. Declaration public void Clear() | Improve this Doc View Source ContainsKey(TKey) Gets a value indicating whether or not this cache contains key . Declaration public bool ContainsKey(TKey key) Parameters Type Name Description TKey key the key to search for Returns Type Description Boolean true if the cache contains the key, false otherwise | Improve this Doc View Source GetOrAdd(TKey, Func) Gets the value associated with the specified key from the cache. If it does not exist, and no creators are currently running for this key, then the creator is called to create the value and the value is added to the cache. If there is a creator currently running for the key, then this waits for the creator to finish and retrieves the value. Declaration public TValue GetOrAdd(TKey key, Func creator) Parameters Type Name Description TKey key the key to search for Func creator the delegate to use to create the value if it does not exist Returns Type Description TValue the value that was found, or the result of creator | Improve this Doc View Source ToArray() Copies the key-value pairs stored by the cache to a new array, filtering all elements that are currently being created. Declaration public KeyValuePair[] ToArray() Returns Type Description KeyValuePair [] an array containing a snapshot of the key-value pairs contained in this cache | Improve this Doc View Source TryGetValue(TKey, out TValue) Attempts to get the value associated with the specified key from the cache. Declaration public bool TryGetValue(TKey key, out TValue value) Parameters Type Name Description TKey key the key to search for TValue value the value retrieved, if any Returns Type Description Boolean true if the value was found, false otherwise Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Utilities.Async.Coroutines.html": { + "href": "api/IPA.Utilities.Async.Coroutines.html", + "title": "Class Coroutines", + "keywords": "Class Coroutines A class providing coroutine helpers. Inheritance Object Coroutines Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public static class Coroutines Methods | Improve this Doc View Source WaitForTask(Task) Stalls the coroutine until task completes, faults, or is canceled. Declaration public static IEnumerator WaitForTask(Task task) Parameters Type Name Description Task task the Task to wait for Returns Type Description IEnumerator a coroutine waiting for the given task" + }, + "api/IPA.Utilities.AlmostVersionConverter.html": { + "href": "api/IPA.Utilities.AlmostVersionConverter.html", + "title": "Class AlmostVersionConverter", + "keywords": "Class AlmostVersionConverter A ValueConverter for AlmostVersion s. Inheritance Object ValueConverter < AlmostVersion > AlmostVersionConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public sealed class AlmostVersionConverter : ValueConverter, IValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Text node into an AlmostVersion . Declaration public override AlmostVersion FromValue(Value value, object parent) Parameters Type Name Description Value value the Text node to convert Object parent the owner of the new object Returns Type Description AlmostVersion Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(AlmostVersion, Object) Converts an AlmostVersion to a Text node. Declaration public override Value ToValue(AlmostVersion obj, object parent) Parameters Type Name Description AlmostVersion obj the AlmostVersion to convert Object parent the parent of obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(IPA.Utilities.AlmostVersion, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Utilities.AlmostVersion.html": { + "href": "api/IPA.Utilities.AlmostVersion.html", + "title": "Class AlmostVersion", + "keywords": "Class AlmostVersion A type that wraps so that the string of the version is stored when the string is not a valid . Inheritance Object AlmostVersion Implements IComparable < AlmostVersion > IComparable < SemVer.Version > Inherited Members Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public class AlmostVersion : IComparable, IComparable Constructors | Improve this Doc View Source AlmostVersion(SemVer.Version) Creates an AlmostVersion from the provided in ver . Declaration public AlmostVersion(SemVer.Version ver) Parameters Type Name Description SemVer.Version ver the to store | Improve this Doc View Source AlmostVersion(String) Creates a new AlmostVersion with the version string provided in vertext . Declaration public AlmostVersion(string vertext) Parameters Type Name Description String vertext the version string to store | Improve this Doc View Source AlmostVersion(String, AlmostVersion) Creates a new AlmostVersion from the version string in vertext stored the same way as the AlmostVersion passed in copyMode . Declaration public AlmostVersion(string vertext, AlmostVersion copyMode) Parameters Type Name Description String vertext the text to parse as an AlmostVersion AlmostVersion copyMode an AlmostVersion to copy the storage mode of | Improve this Doc View Source AlmostVersion(String, AlmostVersion.StoredAs) Creates an AlmostVersion from the version string in vertext stored using the storage mode specified in mode . Declaration public AlmostVersion(string vertext, AlmostVersion.StoredAs mode) Parameters Type Name Description String vertext the text to parse as an AlmostVersion AlmostVersion.StoredAs mode the storage mode to store the version in Properties | Improve this Doc View Source SemverValue The value of the AlmostVersion if it was stored as a . Declaration public SemVer.Version SemverValue { get; } Property Value Type Description SemVer.Version the stored value as a , or null if not stored as a version. | Improve this Doc View Source StorageMode The way the value is stored, whether it be as a or a String . Declaration public AlmostVersion.StoredAs StorageMode { get; } Property Value Type Description AlmostVersion.StoredAs the storage mode used to store this value | Improve this Doc View Source StringValue The value of the AlmostVersion if it was stored as a String . Declaration public string StringValue { get; } Property Value Type Description String the stored value as a String , or null if not stored as a string. Methods | Improve this Doc View Source CompareTo(AlmostVersion) Compares langword_csharp_this to the AlmostVersion in other using or CompareTo(String) , depending on the current store. Declaration public int CompareTo(AlmostVersion other) Parameters Type Name Description AlmostVersion other the AlmostVersion to compare to Returns Type Description Int32 less than 0 if other is considered bigger than langword_csharp_this , 0 if equal, and greater than zero if smaller Remarks The storage methods of the two objects must be the same, or this will throw an InvalidOperationException . See Also CompareTo(SemVer.Version) | Improve this Doc View Source CompareTo(SemVer.Version) Compares langword_csharp_this to the in other using . Declaration public int CompareTo(SemVer.Version other) Parameters Type Name Description SemVer.Version other the to compare to Returns Type Description Int32 less than 0 if other is considered bigger than langword_csharp_this , 0 if equal, and greater than zero if smaller Remarks The storage method of langword_csharp_this must be SemVer , else an InvalidOperationException will be thrown. See Also CompareTo(AlmostVersion) | Improve this Doc View Source Equals(Object) Performs a strict equality check between langword_csharp_this and obj . Declaration public override bool Equals(object obj) Parameters Type Name Description Object obj the object to compare to Returns Type Description Boolean true if they are equal, false otherwise Overrides Object.Equals(Object) Remarks This may return false where Equality(AlmostVersion, AlmostVersion) returns true See Also Equals ( Object ) | Improve this Doc View Source GetHashCode() Default generated hash code function generated by VS. Declaration public override int GetHashCode() Returns Type Description Int32 a value unique to each object, except those that are considered equal by Equals(Object) Overrides Object.GetHashCode() See Also GetHashCode () | Improve this Doc View Source ToString() Gets a string representation of the current version. If the value is stored as a string, this returns it. If it is stored as a , it is equivalent to calling . Declaration public override string ToString() Returns Type Description String a string representation of the current version Overrides Object.ToString() See Also ToString () Operators | Improve this Doc View Source Equality(AlmostVersion, AlmostVersion) Compares two versions, only taking into account the numeric part of the version if they are stored as s, or strict equality if they are stored as String s. Declaration public static bool operator ==(AlmostVersion l, AlmostVersion r) Parameters Type Name Description AlmostVersion l the first value to compare AlmostVersion r the second value to compare Returns Type Description Boolean true if they are mostly equal, false otherwise Remarks This is a looser equality than Equals(Object) , meaning that this may return true where Equals(Object) does not. See Also Equals(Object) | Improve this Doc View Source Implicit(AlmostVersion to SemVer.Version) Implicitly converts an AlmostVersion to , if applicable, using SemverValue . If not applicable, returns null Declaration public static implicit operator SemVer.Version(AlmostVersion av) Parameters Type Name Description AlmostVersion av the AlmostVersion to convert to a Returns Type Description SemVer.Version See Also SemverValue | Improve this Doc View Source Implicit(SemVer.Version to AlmostVersion) Implicitly converts a to AlmostVersion using AlmostVersion(SemVer.Version) . Declaration public static implicit operator AlmostVersion(SemVer.Version ver) Parameters Type Name Description SemVer.Version ver the to convert Returns Type Description AlmostVersion See Also AlmostVersion(SemVer.Version) | Improve this Doc View Source Inequality(AlmostVersion, AlmostVersion) The opposite of Equality(AlmostVersion, AlmostVersion) . Equivalent to !(l == r) . Declaration public static bool operator !=(AlmostVersion l, AlmostVersion r) Parameters Type Name Description AlmostVersion l the first value to compare AlmostVersion r the second value to compare Returns Type Description Boolean true if they are not mostly equal, false otherwise See Also Equality(AlmostVersion, AlmostVersion) Implements System.IComparable System.IComparable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.OnExitAttribute.html": { "href": "api/IPA.OnExitAttribute.html", "title": "Class OnExitAttribute", "keywords": "Class OnExitAttribute Indicates that the target method should be called when the game exits. Inheritance Object Attribute OnExitAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class OnExitAttribute : Attribute, _Attribute, IEdgeLifecycleAttribute Remarks This attribute is interchangable with OnDisableAttribute , and is treated identically. They are seperate to allow plugin code to more clearly describe the intent of the methods. Typically, this will be used when the RuntimeOptions parameter of the plugins's PluginAttribute is SingleStartInit . The method marked by this attribute will always be called from the Unity main thread. Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute OnDisableAttribute" }, - "api/IPA.OnEnableAttribute.html": { - "href": "api/IPA.OnEnableAttribute.html", - "title": "Class OnEnableAttribute", - "keywords": "Class OnEnableAttribute Indicates that the target method should be called when the plugin is enabled. Inheritance Object Attribute OnEnableAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class OnEnableAttribute : Attribute, _Attribute, IEdgeLifecycleAttribute Remarks This attribute is interchangable with OnStartAttribute , and is treated identically. They are seperate to allow plugin code to more clearly describe the intent of the methods. Typically, this will be used when the RuntimeOptions parameter of the plugins's PluginAttribute is DynamicInit . The method marked by this attribute will always be called from the Unity main thread. Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute OnStartAttribute" - }, - "api/IPA.Logging.Printers.PluginLogFilePrinter.html": { - "href": "api/IPA.Logging.Printers.PluginLogFilePrinter.html", - "title": "Class PluginLogFilePrinter", - "keywords": "Class PluginLogFilePrinter Prints log messages to the file specified by the name. Inheritance Object LogPrinter GZFilePrinter PluginLogFilePrinter Implements IDisposable Inherited Members GZFilePrinter.FileWriter GZFilePrinter.StartPrint() GZFilePrinter.EndPrint() GZFilePrinter.Dispose() GZFilePrinter.Dispose(Boolean) Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class PluginLogFilePrinter : GZFilePrinter, IDisposable Constructors | Improve this Doc View Source PluginLogFilePrinter(String) Creates a new printer with the given name. Declaration public PluginLogFilePrinter(string name) Parameters Type Name Description String name the name of the logger Properties | Improve this Doc View Source Filter Provides a filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter level for this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source GetFileInfo() Gets the FileInfo for the target file. Declaration protected override FileInfo GetFileInfo() Returns Type Description FileInfo the file to write to Overrides GZFilePrinter.GetFileInfo() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the associated file. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" - }, - "api/IPA.Logging.Logger.Level.html": { - "href": "api/IPA.Logging.Logger.Level.html", - "title": "Enum Logger.Level", - "keywords": "Enum Logger.Level An enum specifying the level of the message. Resembles Syslog. Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public enum Level : byte Fields Name Description Critical A critical error message. Debug A debug message. Error An error message. Info An informational message. None No associated level. These never get shown. Notice A notice. More significant than Info, but less than a warning. Trace A trace message. These are ignored incredibly early. Warning A warning message. Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + "api/IPA.InitAttribute.html": { + "href": "api/IPA.InitAttribute.html", + "title": "Class InitAttribute", + "keywords": "Class InitAttribute Marks a method or a constructor as an inialization method. Inheritance Object Attribute InitAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class InitAttribute : Attribute, _Attribute Remarks If more than one constructor is marked with this attribute, the one with the most parameters, whether or not they can be injected, will be used. Parameter injection is done with PluginInitInjector . Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute PluginInitInjector" }, - "api/IPA.Loader.html": { - "href": "api/IPA.Loader.html", + "api/IPA.Config.html": { + "href": "api/IPA.Config.html", "title": "", - "keywords": "Classes CannotRuntimeDisableException Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however. PluginInitInjector The type that handles value injecting into a plugin's initialization methods. PluginManager The manager class for all plugins. PluginMetadata A class which describes a loaded plugin. StateTransitionTransaction A class to represent a transaction for changing the state of loaded mods. Delegates PluginInitInjector.InjectParameter A typed injector for a plugin's Init method. When registered, called for all associated types. If it returns null, the default for the type will be used. PluginManager.PluginDisableDelegate An invoker for the PluginDisabled event. PluginManager.PluginEnableDelegate An invoker for the PluginEnabled event." + "keywords": "Classes Config An abstraction of a config file on disk, which handles synchronizing between a memory representation and the disk representation. Config.NameAttribute Specifies a preferred config name, instead of using the plugin's name. Config.PreferAttribute Specifies that a particular parameter is preferred to use a particular IConfigProvider . If it is not available, also specifies backups. If none are available, the default is used. ConfigProvider A wrapper for an IConfigProvider and the FileInfo to use with it. ModPrefs Allows to get and set preferences for your mod. Interfaces IConfigProvider An interface for configuration providers. IConfigStore A storage for a config structure. IModPrefs Allows to get and set preferences for your mod." }, - "api/IPA.Loader.StateTransitionTransaction.html": { - "href": "api/IPA.Loader.StateTransitionTransaction.html", - "title": "Class StateTransitionTransaction", - "keywords": "Class StateTransitionTransaction A class to represent a transaction for changing the state of loaded mods. Inheritance Object StateTransitionTransaction Implements IDisposable Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public sealed class StateTransitionTransaction : IDisposable Properties | Improve this Doc View Source DisabledPlugins Gets a list of plugins that are disabled according to this transaction's current state. Declaration public IEnumerable DisabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source EnabledPlugins Gets a list of plugins that are enabled according to this transaction's current state. Declaration public IEnumerable EnabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source WillNeedRestart Gets whether or not a game restart will be necessary to fully apply this transaction. Declaration public bool WillNeedRestart { get; } Property Value Type Description Boolean true if any mod who's state is changed cannot be changed at runtime, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed Methods | Improve this Doc View Source Commit() Commits this transaction to actual state, enabling and disabling plugins as necessary. Declaration public Task Commit() Returns Type Description Task a Task which completes whenever all disables complete Remarks After this completes, this transaction will be disposed. The Task that is returned will error if any of the mods being disabled error. It is up to the caller to handle these in a sane way, like logging them. If nothing else, do something like this: // get your transaction... var complete = transaction.Commit(); await complete.ContinueWith(t => { if (t.IsFaulted) Logger.log.Error($\"Error disabling plugins: {t.Exception}\"); }); If you are running in a coroutine, you can use WaitForTask(Task) instead of await . If you are running on the Unity main thread, this will block until all enabling is done, and will return a task representing the disables. Otherwise, the task returned represents both, and will not complete until Unity has done (possibly) several updates, depending on the number of plugins being disabled, and the time they take. Exceptions Type Condition ObjectDisposedException if this object has been disposed InvalidOperationException if the plugins' state no longer matches this transaction's original state | Improve this Doc View Source Disable(PluginMetadata, Boolean) Disables a plugin in this transaction. Declaration public bool Disable(PluginMetadata meta, bool autoDependents = true) Parameters Type Name Description PluginMetadata meta the plugin to disable Boolean autoDependents whether or not to automatically disable all dependents of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable See Also Disable(PluginMetadata, out IEnumerable, Boolean) | Improve this Doc View Source Disable(PluginMetadata, out IEnumerable, Boolean) Disables a plugin in this transaction. Declaration public bool Disable(PluginMetadata meta, out IEnumerable enabledDependents, bool autoDependents = false) Parameters Type Name Description PluginMetadata meta the plugin to disable IEnumerable < PluginMetadata > enabledDependents null if successful, otherwise a set of plugins that need to be disabled first Boolean autoDependents whether or not to automatically disable all dependents of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Remarks enabledDependents will only be set when autoDependents is false . Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable | Improve this Doc View Source Dispose() Disposes and discards this transaction without committing it. Declaration public void Dispose() | Improve this Doc View Source Enable(PluginMetadata, Boolean) Enables a plugin in this transaction. Declaration public bool Enable(PluginMetadata meta, bool autoDeps = true) Parameters Type Name Description PluginMetadata meta the plugin to enable Boolean autoDeps whether or not to automatically enable all dependencies of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable See Also Enable(PluginMetadata, out IEnumerable, Boolean) | Improve this Doc View Source Enable(PluginMetadata, out IEnumerable, Boolean) Enables a plugin in this transaction. Declaration public bool Enable(PluginMetadata meta, out IEnumerable disabledDeps, bool autoDeps = false) Parameters Type Name Description PluginMetadata meta the plugin to enable IEnumerable < PluginMetadata > disabledDeps null if successful, otherwise a set of plugins that need to be enabled first Boolean autoDeps whether or not to automatically enable all dependencies Returns Type Description Boolean true if the transaction's state was changed, false otherwise Remarks disabledDeps will only be set when autoDeps is false . Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable | Improve this Doc View Source IsDisabled(PluginMetadata) Checks if a plugin is disabled according to this transaction's current state. Declaration public bool IsDisabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is disabled, false otherwise Remarks This should be roughly equivalent to DisabledPlugins.Contains(meta) , but more performant. This should also always return the inverse of IsEnabled(PluginMetadata) for valid plugins. Exceptions Type Condition ObjectDisposedException if this object has been disposed See Also DisabledPlugins IsEnabled(PluginMetadata) | Improve this Doc View Source IsEnabled(PluginMetadata) Checks if a plugin is enabled according to this transaction's current state. Declaration public bool IsEnabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is enabled, false otherwise Remarks This should be roughly equivalent to EnabledPlugins.Contains(meta) , but more performant. This should also always return the inverse of IsDisabled(PluginMetadata) for valid plugins. Exceptions Type Condition ObjectDisposedException if this object has been disposed See Also EnabledPlugins IsDisabled(PluginMetadata) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + "api/IPA.Config.Stores.html": { + "href": "api/IPA.Config.Stores.html", + "title": "", + "keywords": "Classes GeneratedStore A class providing an extension for Config to make it easy to use generated config stores. ValueConverter A strongly-typed IValueConverter . Interfaces IValueConverter The base interface for a value converter for use by objects generated by Generated(Config, Boolean) ." }, - "api/IPA.Loader.PluginInitInjector.html": { - "href": "api/IPA.Loader.PluginInitInjector.html", - "title": "Class PluginInitInjector", - "keywords": "Class PluginInitInjector The type that handles value injecting into a plugin's initialization methods. Inheritance Object PluginInitInjector Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public static class PluginInitInjector Remarks The default injectors and what they provide are shown in this table. Parameter Type Injected Value Logger A StandardLogger specialized for the plugin being injected PluginMetadata The PluginMetadata of the plugin being injected Config A Config object for the plugin being injected. These parameters may have Config.NameAttribute and Config.PreferAttribute to control how it is constructed. For all of the default injectors, only one of each will be generated, and any later parameters will recieve the same value as the first one. Methods | Improve this Doc View Source AddInjector(Type, PluginInitInjector.InjectParameter) Adds an injector to be used when calling future plugins' Init methods. Declaration public static void AddInjector(Type type, PluginInitInjector.InjectParameter injector) Parameters Type Name Description Type type the type of the parameter. PluginInitInjector.InjectParameter injector the function to call for injection." + "api/IPA.Config.Stores.Converters.NullableConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.NullableConverter-1.html", + "title": "Class NullableConverter", + "keywords": "Class NullableConverter A converter for a Nullable . Inheritance Object ValueConverter < Nullable > NullableConverter NullableConverter Implements IValueConverter Inherited Members ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class NullableConverter : ValueConverter, IValueConverter where T : struct Type Parameters Name Description T the underlying type of the Nullable Constructors | Improve this Doc View Source NullableConverter() Creates a converter with the default converter for the base type. Equivalent to new NullableConverter(Converter.Default) Declaration public NullableConverter() See Also NullableConverter(ValueConverter) Default | Improve this Doc View Source NullableConverter(ValueConverter) Creates a converter with the given underlying ValueConverter . Declaration public NullableConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the undlerlying ValueConverter to use Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value tree to a value. Declaration public override T? FromValue(Value value, object parent) Parameters Type Name Description Value value the Value tree to convert Object parent the object which will own the created object Returns Type Description Nullable the object represented by value Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(Nullable, Object) Converts a nullable T to a Value tree. Declaration public override Value ToValue(T? obj, object parent) Parameters Type Name Description Nullable obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Value tree representing obj . Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Nullable, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, "api/IPA.Config.Stores.Converters.ListConverter-2.html": { "href": "api/IPA.Config.Stores.Converters.ListConverter-2.html", @@ -659,9 +489,189 @@ "title": "Class IReadOnlyDictionaryConverter", "keywords": "Class IReadOnlyDictionaryConverter A converter for instances of IReadOnlyDictionary , specifying a value converter as a type parameter. Inheritance Object ValueConverter < IReadOnlyDictionary < String , TValue>> IReadOnlyDictionaryConverter IReadOnlyDictionaryConverter Implements IValueConverter Inherited Members IReadOnlyDictionaryConverter.BaseConverter IReadOnlyDictionaryConverter.FromValue(Value, Object) IReadOnlyDictionaryConverter.ToValue(IReadOnlyDictionary, Object) ValueConverter>.ToValue(IReadOnlyDictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class IReadOnlyDictionaryConverter : IReadOnlyDictionaryConverter, IValueConverter where TConverter : ValueConverter, new() Type Parameters Name Description TValue the value type of the dictionary TConverter the converter type for values Constructors | Improve this Doc View Source IReadOnlyDictionaryConverter() Constructs a new IReadOnlyDictionaryConverter with a new instance of TConverter as the value converter. Declaration public IReadOnlyDictionaryConverter() Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" }, - "api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html": { - "href": "api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html", - "title": "Class MarkdownView", - "keywords": "Class MarkdownView A UI component that renders CommonMark Markdown in-game. Inheritance Object UnityEngine.Object UnityEngine.Component UnityEngine.Behaviour UnityEngine.MonoBehaviour MarkdownView Inherited Members UnityEngine.MonoBehaviour.IsInvoking() UnityEngine.MonoBehaviour.CancelInvoke() UnityEngine.MonoBehaviour.Invoke(System.String, System.Single) UnityEngine.MonoBehaviour.InvokeRepeating(System.String, System.Single, System.Single) UnityEngine.MonoBehaviour.CancelInvoke(System.String) UnityEngine.MonoBehaviour.IsInvoking(System.String) UnityEngine.MonoBehaviour.StartCoroutine(System.String) UnityEngine.MonoBehaviour.StartCoroutine(System.String, System.Object) UnityEngine.MonoBehaviour.StartCoroutine(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StartCoroutine_Auto(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator) UnityEngine.MonoBehaviour.StopCoroutine(UnityEngine.Coroutine) UnityEngine.MonoBehaviour.StopCoroutine(System.String) UnityEngine.MonoBehaviour.StopAllCoroutines() UnityEngine.MonoBehaviour.print(System.Object) UnityEngine.MonoBehaviour.useGUILayout UnityEngine.Behaviour.enabled UnityEngine.Behaviour.isActiveAndEnabled UnityEngine.Component.GetComponent(System.Type) UnityEngine.Component.GetComponent() UnityEngine.Component.TryGetComponent(System.Type, UnityEngine.Component) UnityEngine.Component.TryGetComponent(T) UnityEngine.Component.GetComponent(System.String) UnityEngine.Component.GetComponentInChildren(System.Type, System.Boolean) UnityEngine.Component.GetComponentInChildren(System.Type) UnityEngine.Component.GetComponentInChildren(System.Boolean) UnityEngine.Component.GetComponentInChildren() UnityEngine.Component.GetComponentsInChildren(System.Type, System.Boolean) UnityEngine.Component.GetComponentsInChildren(System.Type) UnityEngine.Component.GetComponentsInChildren(System.Boolean) UnityEngine.Component.GetComponentsInChildren(System.Boolean, System.Collections.Generic.List) UnityEngine.Component.GetComponentsInChildren() UnityEngine.Component.GetComponentsInChildren(System.Collections.Generic.List) UnityEngine.Component.GetComponentInParent(System.Type) UnityEngine.Component.GetComponentInParent() UnityEngine.Component.GetComponentsInParent(System.Type, System.Boolean) UnityEngine.Component.GetComponentsInParent(System.Type) UnityEngine.Component.GetComponentsInParent(System.Boolean) UnityEngine.Component.GetComponentsInParent(System.Boolean, System.Collections.Generic.List) UnityEngine.Component.GetComponentsInParent() UnityEngine.Component.GetComponents(System.Type) UnityEngine.Component.GetComponents(System.Type, System.Collections.Generic.List) UnityEngine.Component.GetComponents(System.Collections.Generic.List) UnityEngine.Component.GetComponents() UnityEngine.Component.CompareTag(System.String) UnityEngine.Component.SendMessageUpwards(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessageUpwards(System.String, System.Object) UnityEngine.Component.SendMessageUpwards(System.String) UnityEngine.Component.SendMessageUpwards(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessage(System.String, System.Object) UnityEngine.Component.SendMessage(System.String) UnityEngine.Component.SendMessage(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.SendMessage(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.BroadcastMessage(System.String, System.Object, UnityEngine.SendMessageOptions) UnityEngine.Component.BroadcastMessage(System.String, System.Object) UnityEngine.Component.BroadcastMessage(System.String) UnityEngine.Component.BroadcastMessage(System.String, UnityEngine.SendMessageOptions) UnityEngine.Component.transform UnityEngine.Component.gameObject UnityEngine.Component.tag UnityEngine.Object.GetInstanceID() UnityEngine.Object.GetHashCode() UnityEngine.Object.Equals(System.Object) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform) UnityEngine.Object.Instantiate(UnityEngine.Object) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform) UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean) UnityEngine.Object.Instantiate(T) UnityEngine.Object.Instantiate(T, UnityEngine.Vector3, UnityEngine.Quaternion) UnityEngine.Object.Instantiate(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform) UnityEngine.Object.Instantiate(T, UnityEngine.Transform) UnityEngine.Object.Instantiate(T, UnityEngine.Transform, System.Boolean) UnityEngine.Object.Destroy(UnityEngine.Object, System.Single) UnityEngine.Object.Destroy(UnityEngine.Object) UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean) UnityEngine.Object.DestroyImmediate(UnityEngine.Object) UnityEngine.Object.FindObjectsOfType(System.Type) UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object) UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single) UnityEngine.Object.DestroyObject(UnityEngine.Object) UnityEngine.Object.FindSceneObjectsOfType(System.Type) UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type) UnityEngine.Object.FindObjectsOfType() UnityEngine.Object.FindObjectOfType() UnityEngine.Object.FindObjectsOfTypeAll(System.Type) UnityEngine.Object.FindObjectOfType(System.Type) UnityEngine.Object.ToString() UnityEngine.Object.name UnityEngine.Object.hideFlags Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : BSIPA_ModList.UI.ViewControllers Assembly : BSIPA-ModList.dll Syntax [RequireComponent(typeof(RectTransform))] public class MarkdownView : MonoBehaviour Constructors | Improve this Doc View Source MarkdownView() Creates a new MarkdownView . Should never be called directly. Instead, use UnityEngine.GameObject.AddComponent``1 . Declaration public MarkdownView() Fields | Improve this Doc View Source HasEmbeddedImage This function will be called whenever attempting to resolve an image URI, to ensure that the image exists in the embedded assembly. Declaration public Func HasEmbeddedImage Field Value Type Description Func < String , Boolean > a delegate for the function to call Properties | Improve this Doc View Source Markdown The text to be rendered. Declaration public string Markdown { get; set; } Property Value Type Description String the text to render as Markdown Remarks When this is assigned, the object is marked dirty. It will re-render on the next Update tick. | Improve this Doc View Source rectTransform A convenience property to access the UnityEngine.RectTransform on the UnityEngine.GameObject this is on. Declaration public RectTransform rectTransform { get; } Property Value Type Description UnityEngine.RectTransform the UnityEngine.RectTransform associated with this component Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) ReflectionUtil.CopyComponent(Component, Type, GameObject, Type) ReflectionUtil.CopyComponent(Component, GameObject, Type)" + "api/IPA.Config.Stores.Converters.IListConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.IListConverter-1.html", + "title": "Class IListConverter", + "keywords": "Class IListConverter A CollectionConverter for an IList , creating a List when deserializing. Inheritance Object ValueConverter < IList > CollectionConverter > IListConverter IListConverter Implements IValueConverter Inherited Members CollectionConverter>.BaseConverter CollectionConverter>.Create(Int32, Object) CollectionConverter>.PopulateFromValue(IList, List, Object) CollectionConverter>.FromValue(Value, Object) CollectionConverter>.ToValue(IList, Object) ValueConverter>.ToValue(IList, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class IListConverter : CollectionConverter>, IValueConverter Type Parameters Name Description T the element type of the IList Constructors | Improve this Doc View Source IListConverter() Creates an IListConverter using the default converter for T . Declaration public IListConverter() See Also CollectionConverter() | Improve this Doc View Source IListConverter(ValueConverter) Creates an IListConverter using the specified underlying converter for values. Declaration public IListConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the underlying ValueConverter to use for the values Methods | Improve this Doc View Source Create(Int32, Object) Creates a new IList (a List ) for deserialization. Declaration protected override IList Create(int size, object parent) Parameters Type Name Description Int32 size the size to initialize it to Object parent the object that will own the new object Returns Type Description IList the new IList Overrides IPA.Config.Stores.Converters.CollectionConverter>.Create(System.Int32, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also CollectionConverter " + }, + "api/IPA.Config.Stores.Attributes.NonNullableAttribute.html": { + "href": "api/IPA.Config.Stores.Attributes.NonNullableAttribute.html", + "title": "Class NonNullableAttribute", + "keywords": "Class NonNullableAttribute Indicates that a field or property in an object being wrapped by Generated(Config, Boolean) that would otherwise be nullable (i.e. a reference type or a Nullable type) should never be null, and the member will be ignored if the deserialized value is null . Inheritance Object Attribute NonNullableAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class NonNullableAttribute : Attribute, _Attribute Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.IModPrefs.html": { + "href": "api/IPA.Config.IModPrefs.html", + "title": "Interface IModPrefs", + "keywords": "Interface IModPrefs Allows to get and set preferences for your mod. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax [Obsolete(\"Uses IniFile, which uses 16 bit system calls. Use BS Utils INI system for now.\")] public interface IModPrefs Methods | Improve this Doc View Source GetBool(String, String, Boolean, Boolean) Gets a bool from the ini. Declaration bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Boolean | Improve this Doc View Source GetFloat(String, String, Single, Boolean) Gets a float from the ini. Declaration float GetFloat(string section, string name, float defaultValue = 0F, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Single defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Single | Improve this Doc View Source GetInt(String, String, Int32, Boolean) Gets an int from the ini. Declaration int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description Int32 | Improve this Doc View Source GetString(String, String, String, Boolean) Gets a string from the ini. Declaration string GetString(string section, string name, string defaultValue = \"\", bool autoSave = false) Parameters Type Name Description String section Section of the key. String name Name of the key. String defaultValue Value that should be used when no value is found. Boolean autoSave Whether or not the default value should be written if no value is found. Returns Type Description String | Improve this Doc View Source HasKey(String, String) Checks whether or not a key exists in the ini. Declaration bool HasKey(string section, string name) Parameters Type Name Description String section Section of the key. String name Name of the key. Returns Type Description Boolean | Improve this Doc View Source SetBool(String, String, Boolean) Sets a bool in the ini. Declaration void SetBool(string section, string name, bool value) Parameters Type Name Description String section Section of the key. String name Name of the key. Boolean value Value that should be written. | Improve this Doc View Source SetFloat(String, String, Single) Sets a float in the ini. Declaration void SetFloat(string section, string name, float value) Parameters Type Name Description String section Section of the key. String name Name of the key. Single value Value that should be written. | Improve this Doc View Source SetInt(String, String, Int32) Sets an int in the ini. Declaration void SetInt(string section, string name, int value) Parameters Type Name Description String section Section of the key. String name Name of the key. Int32 value Value that should be written. | Improve this Doc View Source SetString(String, String, String) Sets a string in the ini. Declaration void SetString(string section, string name, string value) Parameters Type Name Description String section Section of the key. String name Name of the key. String value Value that should be written. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.IConfigStore.html": { + "href": "api/IPA.Config.IConfigStore.html", + "title": "Interface IConfigStore", + "keywords": "Interface IConfigStore A storage for a config structure. Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public interface IConfigStore Properties | Improve this Doc View Source SyncObject A synchronization object for the save thread to wait on for changes. It should be signaled whenever the internal state of the object is changed. The writer will never signal this handle. Declaration WaitHandle SyncObject { get; } Property Value Type Description WaitHandle | Improve this Doc View Source WriteSyncObject A synchronization object for the load thread and accessors to maintain safe synchronization. Any readers should take a read lock with EnterReadLock() or EnterUpgradeableReadLock() , and any writers should take a write lock with EnterWriteLock() . Declaration ReaderWriterLockSlim WriteSyncObject { get; } Property Value Type Description ReaderWriterLockSlim Remarks Read and write are read and write to this object , not to the file on disk. Methods | Improve this Doc View Source ReadFrom(ConfigProvider) Reads the config structure from the given IConfigProvider into the current IConfigStore . Declaration void ReadFrom(ConfigProvider provider) Parameters Type Name Description ConfigProvider provider the provider to read from Remarks The calling code will have entered a write lock on WriteSyncObject when this is called. | Improve this Doc View Source WriteTo(ConfigProvider) Writes the config structure stored by the current IConfigStore to the given IConfigProvider . Declaration void WriteTo(ConfigProvider provider) Parameters Type Name Description ConfigProvider provider the provider to write to Remarks The calling code will have entered a read lock on WriteSyncObject when this is called. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.html": { + "href": "api/IPA.Config.Data.html", + "title": "", + "keywords": "Classes Boolean A Value representing a boolean value. FloatingPoint A Value representing a floating point value. This may hold a Decimal 's worth of data. Integer A Value representing an integer. This may hold a Int64 's worth of data. List A list of Value s for serialization by an IConfigProvider . Use List() or From(IEnumerable) to create. Map A ordered map of String to Value for serialization by an IConfigProvider . Use Map() or From(IDictionary) to create. Text A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with String . Value A base value type for config data abstract representations, to be serialized with an IConfigProvider . If a Value is null , then that represents just that: a null in whatever serialization is being used. Also contains factory functions for all derived types." + }, + "api/IPA.Config.Data.Text.html": { + "href": "api/IPA.Config.Data.Text.html", + "title": "Class Text", + "keywords": "Class Text A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with String . Inheritance Object Value Text Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Text : Value Properties | Improve this Doc View Source Value The actual value of this Text object. Declaration public string Value { get; set; } Property Value Type Description String Methods | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a quoted, unescaped string form of Value Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.List.html": { + "href": "api/IPA.Config.Data.List.html", + "title": "Class List", + "keywords": "Class List A list of Value s for serialization by an IConfigProvider . Use List() or From(IEnumerable) to create. Inheritance Object Value List Implements IList < Value > ICollection < Value > IEnumerable < Value > IEnumerable Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class List : Value, IList, ICollection, IEnumerable, IEnumerable Properties | Improve this Doc View Source Count Gets the number of elements in the List . Declaration public int Count { get; } Property Value Type Description Int32 See Also Count | Improve this Doc View Source Item[Int32] Gets the value at the given index in this List . Declaration public Value this[int index] { get; set; } Parameters Type Name Description Int32 index the index to retrieve the Value at Property Value Type Description Value the Value at index See Also Item [ Int32 ] Methods | Improve this Doc View Source Add(Value) Adds a Value to the end of this List . Declaration public void Add(Value item) Parameters Type Name Description Value item the Value to add See Also Add (T) | Improve this Doc View Source AddRange(IEnumerable) Adds a range of Value s to the end of this List . Declaration public void AddRange(IEnumerable vals) Parameters Type Name Description IEnumerable < Value > vals the range of Value s to add | Improve this Doc View Source Clear() Clears the List . Declaration public void Clear() See Also Clear () | Improve this Doc View Source Contains(Value) Checks if the List contains a certian item. Declaration public bool Contains(Value item) Parameters Type Name Description Value item the Value to check for Returns Type Description Boolean true if the item was founc, otherwise false See Also Contains (T) | Improve this Doc View Source CopyTo(Value[], Int32) Copies the Value s in the List to the Array in array . Declaration public void CopyTo(Value[] array, int arrayIndex) Parameters Type Name Description Value [] array the Array to copy to Int32 arrayIndex the starting index to copy to See Also CopyTo (T[], Int32 ) | Improve this Doc View Source GetEnumerator() Gets an enumerator to enumerate the List . Declaration public IEnumerator GetEnumerator() Returns Type Description IEnumerator < Value > an IEnumerator for this List See Also GetEnumerator () | Improve this Doc View Source IndexOf(Value) Gets the index that a given Value is in the List . Declaration public int IndexOf(Value item) Parameters Type Name Description Value item the Value to search for Returns Type Description Int32 the index that the item was at, or -1. See Also IndexOf (T) | Improve this Doc View Source Insert(Int32, Value) Inserts a Value at an index. Declaration public void Insert(int index, Value item) Parameters Type Name Description Int32 index the index to insert at Value item the Value to insert See Also Insert ( Int32 , T) | Improve this Doc View Source Remove(Value) Removes a Value from the List . Declaration public bool Remove(Value item) Parameters Type Name Description Value item the Value to remove Returns Type Description Boolean true if the item was removed, false otherwise See Also Remove (T) | Improve this Doc View Source RemoveAt(Int32) Removes a Value at an index. Declaration public void RemoveAt(int index) Parameters Type Name Description Int32 index the index to remove a Value at See Also RemoveAt ( Int32 ) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a comma-seperated list of the result of ToString() wrapped in square brackets Overrides Value.ToString() Explicit Interface Implementations | Improve this Doc View Source ICollection.IsReadOnly Declaration bool ICollection.IsReadOnly { get; } Returns Type Description Boolean | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements System.Collections.Generic.IList System.Collections.Generic.ICollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods EnumerableExtensions.Prepend(IEnumerable, T) EnumerableExtensions.Append(IEnumerable, T) EnumerableExtensions.NonNull(IEnumerable) EnumerableExtensions.NonNull(IEnumerable, Func) EnumerableExtensions.NonNull(IEnumerable, Func>) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.FloatingPoint.html": { + "href": "api/IPA.Config.Data.FloatingPoint.html", + "title": "Class FloatingPoint", + "keywords": "Class FloatingPoint A Value representing a floating point value. This may hold a Decimal 's worth of data. Inheritance Object Value FloatingPoint Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class FloatingPoint : Value Properties | Improve this Doc View Source Value The actual value fo this FloatingPoint object. Declaration public decimal Value { get; set; } Property Value Type Description Decimal Methods | Improve this Doc View Source AsInteger() Coerces this FloatingPoint into an Integer . Declaration public Integer AsInteger() Returns Type Description Integer a Integer representing the closest approximation of Value | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String the result of Value.ToString() Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.ConfigProvider.html": { + "href": "api/IPA.Config.ConfigProvider.html", + "title": "Class ConfigProvider", + "keywords": "Class ConfigProvider A wrapper for an IConfigProvider and the FileInfo to use with it. Inheritance Object ConfigProvider Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config Assembly : IPA.Loader.dll Syntax public class ConfigProvider Methods | Improve this Doc View Source Load() Loads a Value from disk in whatever format this provider provides and returns it. Declaration public Value Load() Returns Type Description Value the Value loaded | Improve this Doc View Source Store(Value) Stores the Value given to disk in the format specified. Declaration public void Store(Value value) Parameters Type Name Description Value value the Value to store Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Utilities.Async.Synchronization.MutexLocker.html": { + "href": "api/IPA.Utilities.Async.Synchronization.MutexLocker.html", + "title": "Struct Synchronization.MutexLocker", + "keywords": "Struct Synchronization.MutexLocker A locker for a Mutex that automatically releases when it is disposed. Create this with Lock(Mutex) . Implements IDisposable Inherited Members ValueType.Equals(Object) ValueType.GetHashCode() ValueType.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public struct MutexLocker : IDisposable Explicit Interface Implementations | Improve this Doc View Source IDisposable.Dispose() Declaration void IDisposable.Dispose() Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also Synchronization Lock(Mutex)" + }, + "api/IPA.Utilities.Async.SingleThreadTaskScheduler.html": { + "href": "api/IPA.Utilities.Async.SingleThreadTaskScheduler.html", + "title": "Class SingleThreadTaskScheduler", + "keywords": "Class SingleThreadTaskScheduler A single-threaded task scheduler that runs all of its tasks on the same thread. Inheritance Object TaskScheduler SingleThreadTaskScheduler Implements IDisposable Inherited Members TaskScheduler.TryDequeue(Task) TaskScheduler.FromCurrentSynchronizationContext() TaskScheduler.TryExecuteTask(Task) TaskScheduler.MaximumConcurrencyLevel TaskScheduler.Default TaskScheduler.Current TaskScheduler.Id TaskScheduler.UnobservedTaskException Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Utilities.Async Assembly : IPA.Loader.dll Syntax public class SingleThreadTaskScheduler : TaskScheduler, IDisposable Properties | Improve this Doc View Source IsRunning Gets whether or not the underlying thread has been started. Declaration public bool IsRunning { get; } Property Value Type Description Boolean Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Methods | Improve this Doc View Source Dispose() Disposes this object. This puts the object into an unusable state. Declaration public void Dispose() | Improve this Doc View Source Dispose(Boolean) Disposes this object. Declaration protected virtual void Dispose(bool disposing) Parameters Type Name Description Boolean disposing whether or not to dispose managed objects | Improve this Doc View Source Exit() Terminates the runner thread, and waits for the currently running task to complete. Declaration public IEnumerable Exit() Returns Type Description IEnumerable < Task > an IEnumerable of Task s that did not execute Remarks After this method returns, this object has been disposed and is no longer in a valid state. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source GetScheduledTasks() Throws a NotSupportedException . Declaration protected override IEnumerable GetScheduledTasks() Returns Type Description IEnumerable < Task > nothing Overrides TaskScheduler.GetScheduledTasks() Exceptions Type Condition NotSupportedException Always. | Improve this Doc View Source Join() Waits for the runner thread to complete all tasks in the queue, then exits. Declaration public void Join() Remarks After this method returns, this object has been disposed and is no longer in a valid state. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source QueueTask(Task) Queues a given Task to this scheduler. The Task must> be scheduled for this TaskScheduler by the runtime. Declaration protected override void QueueTask(Task task) Parameters Type Name Description Task task the Task to queue Overrides TaskScheduler.QueueTask(Task) Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source Start() Starts the thread that executes tasks scheduled with this TaskScheduler Declaration public void Start() Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. | Improve this Doc View Source TryExecuteTaskInline(Task, Boolean) Rejects any attempts to execute a task inline. Declaration protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued) Parameters Type Name Description Task task the task to attempt to execute Boolean taskWasPreviouslyQueued whether the task was previously queued to this scheduler Returns Type Description Boolean false Overrides TaskScheduler.TryExecuteTaskInline(Task, Boolean) Remarks This task scheduler always runs its tasks on the thread that it manages, therefore it doesn't make sense to run it inline. Exceptions Type Condition ObjectDisposedException Thrown if this object has already been disposed. Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Utilities.AlmostVersion.StoredAs.html": { + "href": "api/IPA.Utilities.AlmostVersion.StoredAs.html", + "title": "Enum AlmostVersion.StoredAs", + "keywords": "Enum AlmostVersion.StoredAs Represents a storage type of either parsed object or raw String . Namespace : IPA.Utilities Assembly : IPA.Loader.dll Syntax public enum StoredAs Fields Name Description SemVer The version was stored as a . String The version was stored as a String . Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + }, + "api/IPA.RuntimeOptions.html": { + "href": "api/IPA.RuntimeOptions.html", + "title": "Enum RuntimeOptions", + "keywords": "Enum RuntimeOptions Options that a plugin must specify to describe how it expects to be run. Namespace : IPA Assembly : IPA.Loader.dll Syntax public enum RuntimeOptions Fields Name Description DynamicInit Indicates that this plugin supports runtime enabling and disabling. When this is set, the plugin may be disabled at reasonable points during runtime. As with SingleStartInit , it will be initialized and enabled with the game if it is enabled on startup, and disabled with the game if it is enabled on shutdown. When a plugin with this set is enabled mid-game, the first time it is enabled, its initialization methods will be called, then its enable methods. All subsequent enables will NOT re-initialize, however the enable methods will be called. When a plugin with this set is disabled mid-game, the plugin instance will NOT be destroyed, and will instead be re-used for subsequent enables. The plugin is expected to handle this gracefully, and behave in a way that makes sense. SingleStartInit Indicates that this plugin expects to be initialized and enabled with the game, and disabled with the game. With this option set, whether or not the plugin is disabled during a given run is constant for that entire run. See Also PluginAttribute InitAttribute OnEnableAttribute OnDisableAttribute OnStartAttribute OnExitAttribute Extension Methods ReflectionUtil.SetField(String, U) ReflectionUtil.GetField(String) ReflectionUtil.SetProperty(String, U) ReflectionUtil.GetProperty(String) ReflectionUtil.InvokeMethod(String, Object[])" + }, + "api/IPA.PluginAttribute.html": { + "href": "api/IPA.PluginAttribute.html", + "title": "Class PluginAttribute", + "keywords": "Class PluginAttribute Marks a class as being a BSIPA plugin. Inheritance Object Attribute PluginAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public sealed class PluginAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source PluginAttribute(RuntimeOptions) Initializes a PluginAttribute with the given RuntimeOptions to indicate the runtime capabilities of the plugin. Declaration public PluginAttribute(RuntimeOptions runtimeOptions) Parameters Type Name Description RuntimeOptions runtimeOptions the options to use for this plugin Properties | Improve this Doc View Source RuntimeOptions The RuntimeOptions passed into the constructor of this attribute. Declaration public RuntimeOptions RuntimeOptions { get; } Property Value Type Description RuntimeOptions Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also InitAttribute OnEnableAttribute OnDisableAttribute OnStartAttribute OnExitAttribute" + }, + "api/IPA.OnStartAttribute.html": { + "href": "api/IPA.OnStartAttribute.html", + "title": "Class OnStartAttribute", + "keywords": "Class OnStartAttribute Indicates that the target method should be called when the game starts. Inheritance Object Attribute OnStartAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class OnStartAttribute : Attribute, _Attribute, IEdgeLifecycleAttribute Remarks This attribute is interchangable with OnEnableAttribute , and is treated identically. They are seperate to allow plugin code to more clearly describe the intent of the methods. Typically, this will be used when the RuntimeOptions parameter of the plugins's PluginAttribute is SingleStartInit . The method marked by this attribute will always be called from the Unity main thread. Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also PluginAttribute OnEnableAttribute" + }, + "api/IPA.Old.IPlugin.html": { + "href": "api/IPA.Old.IPlugin.html", + "title": "Interface IPlugin", + "keywords": "Interface IPlugin Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed in Plugins. Namespace : IPA.Old Assembly : IPA.Loader.dll Syntax [Obsolete(\"When building plugins for Beat Saber, use the plugin attributes starting with PluginAttribute\")] public interface IPlugin Properties | Improve this Doc View Source Name Gets the name of the plugin. Declaration string Name { get; } Property Value Type Description String | Improve this Doc View Source Version Gets the version of the plugin. Declaration string Version { get; } Property Value Type Description String Methods | Improve this Doc View Source OnApplicationQuit() Gets invoked when the application is closed. Declaration void OnApplicationQuit() | Improve this Doc View Source OnApplicationStart() Gets invoked when the application is started. Declaration void OnApplicationStart() | Improve this Doc View Source OnFixedUpdate() Gets invoked on ever physics update. Declaration void OnFixedUpdate() | Improve this Doc View Source OnLevelWasInitialized(Int32) Gets invoked after the first update cycle after a level was loaded. Declaration void OnLevelWasInitialized(int level) Parameters Type Name Description Int32 level | Improve this Doc View Source OnLevelWasLoaded(Int32) Gets invoked whenever a level is loaded. Declaration void OnLevelWasLoaded(int level) Parameters Type Name Description Int32 level | Improve this Doc View Source OnUpdate() Gets invoked on every graphic update. Declaration void OnUpdate() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Old.IEnhancedPlugin.html": { + "href": "api/IPA.Old.IEnhancedPlugin.html", + "title": "Interface IEnhancedPlugin", + "keywords": "Interface IEnhancedPlugin An enhanced version of the standard IPA plugin. Inherited Members IPlugin.Name IPlugin.Version IPlugin.OnApplicationStart() IPlugin.OnApplicationQuit() IPlugin.OnLevelWasLoaded(Int32) IPlugin.OnLevelWasInitialized(Int32) IPlugin.OnUpdate() IPlugin.OnFixedUpdate() Namespace : IPA.Old Assembly : IPA.Loader.dll Syntax [Obsolete(\"When building plugins for Beat Saber, use IPA.IEnhancedPlugin\")] public interface IEnhancedPlugin : IPlugin Properties | Improve this Doc View Source Filter Gets a list of executables this plugin should be executed on (without the file ending) Declaration string[] Filter { get; } Property Value Type Description String [] Examples { \"PlayClub\", \"PlayClubStudio\" } Methods | Improve this Doc View Source OnLateUpdate() Called after Update. Declaration void OnLateUpdate() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Logging.Printers.ColoredConsolePrinter.html": { + "href": "api/IPA.Logging.Printers.ColoredConsolePrinter.html", + "title": "Class ColoredConsolePrinter", + "keywords": "Class ColoredConsolePrinter Prints a pretty message to the console. Inheritance Object LogPrinter ColoredConsolePrinter Inherited Members LogPrinter.StartPrint() LogPrinter.EndPrint() Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging.Printers Assembly : IPA.Loader.dll Syntax public class ColoredConsolePrinter : LogPrinter Properties | Improve this Doc View Source Color The color to print messages as. Declaration public ConsoleColor Color { get; set; } Property Value Type Description ConsoleColor the color to print this message as | Improve this Doc View Source Filter A filter for this specific printer. Declaration public override Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the filter to apply to this printer Overrides LogPrinter.Filter Methods | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints an entry to the console window. Declaration public override void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the Logger.Level of the message DateTime time the DateTime the message was recorded at String logName the name of the log that sent the message String message the message to print Overrides LogPrinter.Print(Logger.Level, DateTime, String, String) Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Logging.LogPrinter.html": { + "href": "api/IPA.Logging.LogPrinter.html", + "title": "Class LogPrinter", + "keywords": "Class LogPrinter The log printer's base class. Inheritance Object LogPrinter ColoredConsolePrinter ColorlessConsolePrinter GZFilePrinter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Logging Assembly : IPA.Loader.dll Syntax public abstract class LogPrinter Properties | Improve this Doc View Source Filter Provides a filter for which log levels to allow through. Declaration public abstract Logger.LogLevel Filter { get; set; } Property Value Type Description Logger.LogLevel the level to filter to Methods | Improve this Doc View Source EndPrint() Called after the last print in a group. May be called multiple times. Use this to dispose file handles and the like. Declaration public virtual void EndPrint() | Improve this Doc View Source Print(Logger.Level, DateTime, String, String) Prints a provided message from a given log at the specified time. Declaration public abstract void Print(Logger.Level level, DateTime time, string logName, string message) Parameters Type Name Description Logger.Level level the log level DateTime time the time the message was composed String logName the name of the log that created this message String message the message | Improve this Doc View Source StartPrint() Called before the first print in a group. May be called multiple times. Use this to create file handles and the like. Declaration public virtual void StartPrint() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Loader.html": { + "href": "api/IPA.Loader.html", + "title": "", + "keywords": "Classes CannotRuntimeDisableException Indicates that a plugin cannot be disabled at runtime. Generally not considered an error, however. PluginInitInjector The type that handles value injecting into a plugin's initialization methods. PluginManager The manager class for all plugins. PluginMetadata A class which describes a loaded plugin. StateTransitionTransaction A class to represent a transaction for changing the state of loaded mods. Structs IgnoreReason A structure describing the reason that a plugin was ignored. Enums Reason An enum that represents several categories of ignore reasons that the loader may encounter. Delegates PluginInitInjector.InjectParameter A typed injector for a plugin's Init method. When registered, called for all associated types. If it returns null, the default for the type will be used. PluginManager.PluginDisableDelegate An invoker for the PluginDisabled event. PluginManager.PluginEnableDelegate An invoker for the PluginEnabled event." + }, + "api/IPA.Loader.StateTransitionTransaction.html": { + "href": "api/IPA.Loader.StateTransitionTransaction.html", + "title": "Class StateTransitionTransaction", + "keywords": "Class StateTransitionTransaction A class to represent a transaction for changing the state of loaded mods. Inheritance Object StateTransitionTransaction Implements IDisposable Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader Assembly : IPA.Loader.dll Syntax public sealed class StateTransitionTransaction : IDisposable Properties | Improve this Doc View Source DisabledPlugins Gets a list of plugins that are disabled according to this transaction's current state. Declaration public IEnumerable DisabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source EnabledPlugins Gets a list of plugins that are enabled according to this transaction's current state. Declaration public IEnumerable EnabledPlugins { get; } Property Value Type Description IEnumerable < PluginMetadata > Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source HasStateChanged Gets whether or not the current state has changed. Declaration public bool HasStateChanged { get; } Property Value Type Description Boolean true if the current state of the transaction is different from its construction, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source WillNeedRestart Gets whether or not a game restart will be necessary to fully apply this transaction. Declaration public bool WillNeedRestart { get; } Property Value Type Description Boolean true if any mod who's state is changed cannot be changed at runtime, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed Methods | Improve this Doc View Source Clone() Clones this transaction to be identical, but with unrelated underlying sets. Declaration public StateTransitionTransaction Clone() Returns Type Description StateTransitionTransaction the new StateTransitionTransaction Exceptions Type Condition ObjectDisposedException if this object has been disposed | Improve this Doc View Source Commit() Commits this transaction to actual state, enabling and disabling plugins as necessary. Declaration public Task Commit() Returns Type Description Task a Task which completes whenever all disables complete Remarks After this completes, this transaction will be disposed. The Task that is returned will error if any of the mods being disabled error. It is up to the caller to handle these in a sane way, like logging them. If nothing else, do something like this: // get your transaction... var complete = transaction.Commit(); await complete.ContinueWith(t => { if (t.IsFaulted) Logger.log.Error($\"Error disabling plugins: {t.Exception}\"); }); If you are running in a coroutine, you can use WaitForTask(Task) instead of await . If you are running on the Unity main thread, this will block until all enabling is done, and will return a task representing the disables. Otherwise, the task returned represents both, and will not complete until Unity has done (possibly) several updates, depending on the number of plugins being disabled, and the time they take. Exceptions Type Condition ObjectDisposedException if this object has been disposed InvalidOperationException if the plugins' state no longer matches this transaction's original state | Improve this Doc View Source Disable(PluginMetadata, Boolean) Disables a plugin in this transaction. Declaration public bool Disable(PluginMetadata meta, bool autoDependents = true) Parameters Type Name Description PluginMetadata meta the plugin to disable Boolean autoDependents whether or not to automatically disable all dependents of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable See Also Disable(PluginMetadata, out IEnumerable, Boolean) | Improve this Doc View Source Disable(PluginMetadata, out IEnumerable, Boolean) Disables a plugin in this transaction. Declaration public bool Disable(PluginMetadata meta, out IEnumerable enabledDependents, bool autoDependents = false) Parameters Type Name Description PluginMetadata meta the plugin to disable IEnumerable < PluginMetadata > enabledDependents null if successful, otherwise a set of plugins that need to be disabled first Boolean autoDependents whether or not to automatically disable all dependents of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Remarks enabledDependents will only be set when autoDependents is false . Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable | Improve this Doc View Source Dispose() Disposes and discards this transaction without committing it. Declaration public void Dispose() | Improve this Doc View Source Enable(PluginMetadata, Boolean) Enables a plugin in this transaction. Declaration public bool Enable(PluginMetadata meta, bool autoDeps = true) Parameters Type Name Description PluginMetadata meta the plugin to enable Boolean autoDeps whether or not to automatically enable all dependencies of the plugin Returns Type Description Boolean true if the transaction's state was changed, false otherwise Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable See Also Enable(PluginMetadata, out IEnumerable, Boolean) | Improve this Doc View Source Enable(PluginMetadata, out IEnumerable, Boolean) Enables a plugin in this transaction. Declaration public bool Enable(PluginMetadata meta, out IEnumerable disabledDeps, bool autoDeps = false) Parameters Type Name Description PluginMetadata meta the plugin to enable IEnumerable < PluginMetadata > disabledDeps null if successful, otherwise a set of plugins that need to be enabled first Boolean autoDeps whether or not to automatically enable all dependencies Returns Type Description Boolean true if the transaction's state was changed, false otherwise Remarks disabledDeps will only be set when autoDeps is false . Exceptions Type Condition ObjectDisposedException if this object has been disposed ArgumentException if meta is not loadable | Improve this Doc View Source IsDisabled(PluginMetadata) Checks if a plugin is disabled according to this transaction's current state. Declaration public bool IsDisabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is disabled, false otherwise Remarks This should be roughly equivalent to DisabledPlugins.Contains(meta) , but more performant. This should also always return the inverse of IsEnabled(PluginMetadata) for valid plugins. Exceptions Type Condition ObjectDisposedException if this object has been disposed See Also DisabledPlugins IsEnabled(PluginMetadata) | Improve this Doc View Source IsEnabled(PluginMetadata) Checks if a plugin is enabled according to this transaction's current state. Declaration public bool IsEnabled(PluginMetadata meta) Parameters Type Name Description PluginMetadata meta the plugin to check Returns Type Description Boolean true if the plugin is enabled, false otherwise Remarks This should be roughly equivalent to EnabledPlugins.Contains(meta) , but more performant. This should also always return the inverse of IsDisabled(PluginMetadata) for valid plugins. Exceptions Type Condition ObjectDisposedException if this object has been disposed See Also EnabledPlugins IsDisabled(PluginMetadata) Implements System.IDisposable Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Loader.Features.html": { + "href": "api/IPA.Loader.Features.html", + "title": "", + "keywords": "Classes Feature The root interface for a mod Feature." + }, + "api/IPA.Loader.Features.Feature.html": { + "href": "api/IPA.Loader.Features.Feature.html", + "title": "Class Feature", + "keywords": "Class Feature The root interface for a mod Feature. Inheritance Object Feature Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Loader.Features Assembly : IPA.Loader.dll Syntax public abstract class Feature Remarks Avoid storing any data in any subclasses. If you do, it may result in a failure to load the feature. Properties | Improve this Doc View Source InvalidMessage The message to be logged when the feature is not valid for a plugin. This should also be set whenever either BeforeLoad(PluginMetadata) or BeforeInit(PluginMetadata) returns false. Declaration public virtual string InvalidMessage { get; protected set; } Property Value Type Description String the message to show when the feature is marked invalid | Improve this Doc View Source StoreOnPlugin Defines whether or not this feature will be accessible from the plugin metadata once loaded. Declaration protected virtual bool StoreOnPlugin { get; } Property Value Type Description Boolean true if this Feature will be stored on the plugin metadata, false otherwise Methods | Improve this Doc View Source AfterInit(PluginMetadata) Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. Declaration public virtual void AfterInit(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin that was just initialized | Improve this Doc View Source AfterInit(PluginMetadata, Object) Called after a plugin has been fully initialized, whether or not there is an Init method. This should never throw an exception. Declaration public virtual void AfterInit(PluginMetadata plugin, object pluginInstance) Parameters Type Name Description PluginMetadata plugin the plugin that was just initialized Object pluginInstance the instance of the plugin being initialized | Improve this Doc View Source BeforeInit(PluginMetadata) Called before a plugin's Init method is called. This will not be called if there is no Init method. This should never throw an exception. An exception will abort the loading of the plugin with an error. Declaration public virtual bool BeforeInit(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to be initialized Returns Type Description Boolean whether or not to call the Init method | Improve this Doc View Source BeforeLoad(PluginMetadata) Called before a plugin is loaded. This should never throw an exception. An exception will abort the loading of the plugin with an error. Declaration public virtual bool BeforeLoad(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin about to be loaded Returns Type Description Boolean whether or not the plugin should be loaded Remarks The assembly will still be loaded, but the plugin will not be constructed if this returns false . Any features it defines, for example, will still be loaded. | Improve this Doc View Source Evaluate() Evaluates the Feature for use in conditional meta-Features. This should be re-calculated on every call, unless it can be proven to not change. This will be called on every feature that returns true from Initialize(PluginMetadata, String[]) Declaration public virtual bool Evaluate() Returns Type Description Boolean the truthiness of the Feature. | Improve this Doc View Source Initialize(PluginMetadata, String[]) Initializes the feature with the parameters provided in the definition. Note: When no parenthesis are provided, parameters is an empty array. Declaration public abstract bool Initialize(PluginMetadata meta, string[] parameters) Parameters Type Name Description PluginMetadata meta the metadata of the plugin that is being prepared String [] parameters the parameters passed to the feature definition, or null Returns Type Description Boolean true if the feature is valid for the plugin, false otherwise Remarks This gets called BEFORE your Init method. Returning false does not prevent the plugin from being loaded. It simply prevents the feature from being used. | Improve this Doc View Source RequireLoaded(PluginMetadata) Ensures a plugin's assembly is loaded. Do not use unless you need to. Declaration protected void RequireLoaded(PluginMetadata plugin) Parameters Type Name Description PluginMetadata plugin the plugin to ensure is loaded. Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.ValueConverter-1.html": { + "href": "api/IPA.Config.Stores.ValueConverter-1.html", + "title": "Class ValueConverter", + "keywords": "Class ValueConverter A strongly-typed IValueConverter . Inheritance Object ValueConverter CaseInsensitiveEnumConverter CollectionConverter CustomObjectConverter CustomValueTypeConverter DictionaryConverter EnumConverter IDictionaryConverter IReadOnlyDictionaryConverter NullableConverter NumericEnumConverter AlmostVersionConverter Implements IValueConverter Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public abstract class ValueConverter : IValueConverter Type Parameters Name Description T the type of object to handle Methods | Improve this Doc View Source FromValue(Value, Object) Converts the given Value to the object type handled by this converter. Declaration public abstract T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the object that will own the result Returns Type Description T the deserialized object See Also FromValue ( Value , Object ) | Improve this Doc View Source ToValue(T, Object) Converts the given object to a Value . Declaration public abstract Value ToValue(T obj, object parent) Parameters Type Name Description T obj the object to convert Object parent the owning object of obj Returns Type Description Value a representation of obj as a Value structure See Also ToValue ( Object , Object ) Explicit Interface Implementations | Improve this Doc View Source IValueConverter.FromValue(Value, Object) Declaration object IValueConverter.FromValue(Value value, object parent) Parameters Type Name Description Value value Object parent Returns Type Description Object | Improve this Doc View Source IValueConverter.ToValue(Object, Object) Declaration Value IValueConverter.ToValue(object obj, object parent) Parameters Type Name Description Object obj Object parent Returns Type Description Value | Improve this Doc View Source IValueConverter.Type Declaration Type IValueConverter.Type { get; } Returns Type Description Type Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also IValueConverter" + }, + "api/IPA.Config.Stores.IValueConverter.html": { + "href": "api/IPA.Config.Stores.IValueConverter.html", + "title": "Interface IValueConverter", + "keywords": "Interface IValueConverter The base interface for a value converter for use by objects generated by Generated(Config, Boolean) . Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public interface IValueConverter Remarks The object returned from FromValue(Value, Object) , if fed into ToValue(Object, Object) , should return equivalent Value structures. Similarly, if the result of ToValue(Object, Object) is fed into FromValue(Value, Object) , the resulting object should be equivalent to the one passed to ToValue(Object, Object) . The parent parameter to ToValue(Object, Object) and FromValue(Value, Object) should be (ideally) the the top of the serialization tree, or some other generated object in that tree, rather than some arbitrary object in the middle that is not managed by the generatd config system. Converters do not need to perform null checks, as the serializer and deserializer will do that automatically. Properties | Improve this Doc View Source Type Gets the type that this IValueConverter handles. Declaration Type Type { get; } Property Value Type Description Type Methods | Improve this Doc View Source FromValue(Value, Object) Converts the given Value to the object type handled by this converter. Declaration object FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to deserialize Object parent the object that will own the result Returns Type Description Object the deserialized object | Improve this Doc View Source ToValue(Object, Object) Converts the given object to a Value . Declaration Value ToValue(object obj, object parent) Parameters Type Name Description Object obj the object to convert Object parent the owning object of obj Returns Type Description Value a representation of obj as a Value structure Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.GeneratedStore.html": { + "href": "api/IPA.Config.Stores.GeneratedStore.html", + "title": "Class GeneratedStore", + "keywords": "Class GeneratedStore A class providing an extension for Config to make it easy to use generated config stores. Inheritance Object GeneratedStore Inherited Members Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores Assembly : IPA.Loader.dll Syntax public static class GeneratedStore Fields | Improve this Doc View Source AssemblyVisibilityTarget The name of the assembly that internals must be visible to to allow internal protection. Declaration public const string AssemblyVisibilityTarget = \"IPA.Config.Generated\" Field Value Type Description String Methods | Improve this Doc View Source Create() Creates a generated store outside of the context of the config system. Declaration public static T Create() where T : class Returns Type Description T a generated instance of T implementing functionality described by Generated(Config, Boolean) Type Parameters Name Description T the type to wrap Remarks See Generated(Config, Boolean) for more information about how it behaves. See Also Generated(Config, Boolean) | Improve this Doc View Source Generated(Config, Boolean) Creates a generated IConfigStore of type T , registers it to the Config object, and returns it. This also forces a synchronous config load via LoadSync() if loadSync is true . Declaration public static T Generated(this Config cfg, bool loadSync = true) where T : class Parameters Type Name Description Config cfg the Config to register to Boolean loadSync whether to synchronously load the content, or trigger an async load Returns Type Description T a generated instance of T as a special IConfigStore Type Parameters Name Description T the type to wrap Remarks T must be a public non- sealed class. It can also be internal, but in that case, then your assembly must have the following attribute to allow the generated code to reference it. [assembly: InternalsVisibleTo(IPA.Config.Stores.GeneratedStore.AssemblyVisibilityTarget)] Only fields and properties that are public or protected will be considered, and only properties where both the getter and setter are public or protected are considered. Any fields or properties with an IgnoreAttribute applied to them are also ignored. Having properties be virtual is not strictly necessary, however it allows the generated type to keep track of changes and lock around them so that the config will auto-save. All of the attributes in the IPA.Config.Stores.Attributes namespace are handled as described by them. If the T declares a public or protected, virtual method Changed() , then that method may be called to artificially signal to the runtime that the content of the object has changed. That method will also be called after the write locks are released when a property is set anywhere in the owning tree. This will only be called on the outermost generated object of the config structure, even if the change being signaled is somewhere deep into the tree. Similarly, T can declare a public or protected, virtual method OnReload() , which will be called on the filesystem reader thread after the object has been repopulated with new data values. It will be called after the write lock for this object is released. This will only be called on the outermost generated object of the config structure. Similarly, T can declare a public or protected, virtual method CopyFrom(ConfigType) (the first parameter is the type it is defined on), which may be called to copy the properties from another object of its type easily, and more importantly, as only one change. Its body will be executed after the values have been copied. Similarly, T can declare a public or protected, virtual method ChangeTransaction() returning IDisposable , which may be called to get an object representing a transactional change. This may be used to change a lot of properties at once without triggering a save multiple times. Ideally, this is used in a langword_csharp_using block or declaration. The IDisposable returned from your implementation will have its Dispose() called after Changed() is called, but before the write lock is released. Unless you have a very good reason to use the nested IDisposable , avoid it. If T is marked with NotifyPropertyChangesAttribute , the resulting object will implement INotifyPropertyChanged . Similarly, if T implements INotifyPropertyChanged , the resulting object will implement it and notify it too." + }, + "api/IPA.Config.Stores.Converters.html": { + "href": "api/IPA.Config.Stores.Converters.html", + "title": "", + "keywords": "Classes CaseInsensitiveEnumConverter A converter for an enum of type T , that converts the enum to its string representation and back, ignoring the case of the serialized value for deseiralization. CollectionConverter A base class for all ICollection type converters, providing most of the functionality. CollectionConverter A CollectionConverter which default constructs a converter for use as the value converter. Converter Provides utility functions for custom converters. Converter Provides generic utilities for converters for certain types. CustomObjectConverter A ValueConverter for objects normally serialized to config via Generated(Config, Boolean) . CustomValueTypeConverter A ValueConverter for custom value types, serialized identically to the reference types serialized with Generated(Config, Boolean) . DictionaryConverter A converter for instances of Dictionary . DictionaryConverter A converter for instances of Dictionary , specifying a value converter as a type parameter. EnumConverter A converter for an enum of type T , that converts the enum to its string representation and back. IDictionaryConverter A converter for instances of IDictionary . IDictionaryConverter A converter for instances of IDictionary , specifying a value converter as a type parameter. IListConverter A CollectionConverter for an IList , creating a List when deserializing. IListConverter An IListConverter which default constructs a converter for use as the value converter. IReadOnlyDictionaryConverter A converter for instances of IReadOnlyDictionary . IReadOnlyDictionaryConverter A converter for instances of IReadOnlyDictionary , specifying a value converter as a type parameter. ISetConverter A CollectionConverter for an ISet , creating a HashSet when deserializing. ISetConverter An ISetConverter which default constructs a converter for use as the value converter. ListConverter A CollectionConverter for a List . ListConverter A ListConverter which default constructs a converter for use as the value converter. NullableConverter A converter for a Nullable . NullableConverter A converter for a Nullable that default-constructs a converter of type TConverter to use as the underlying converter. Use this in the UseConverterAttribute . NumericEnumConverter A converter for an enum of type T , that converts the enum to its underlying value for serialization." + }, + "api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html", + "title": "Class NumericEnumConverter", + "keywords": "Class NumericEnumConverter A converter for an enum of type T , that converts the enum to its underlying value for serialization. Inheritance Object ValueConverter NumericEnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class NumericEnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a numeric node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a numeric node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value an Integer node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.Converters.NullableConverter-2.html": { + "href": "api/IPA.Config.Stores.Converters.NullableConverter-2.html", + "title": "Class NullableConverter", + "keywords": "Class NullableConverter A converter for a Nullable that default-constructs a converter of type TConverter to use as the underlying converter. Use this in the UseConverterAttribute . Inheritance Object ValueConverter < Nullable > NullableConverter NullableConverter Implements IValueConverter Inherited Members NullableConverter.FromValue(Value, Object) NullableConverter.ToValue(Nullable, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class NullableConverter : NullableConverter, IValueConverter where T : struct where TConverter : ValueConverter, new() Type Parameters Name Description T the underlying type of the Nullable TConverter the type to use as an underlying converter Constructors | Improve this Doc View Source NullableConverter() Creates a converter with a new TConverter as the underlying converter. Declaration public NullableConverter() See Also NullableConverter(ValueConverter) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[]) See Also NullableConverter " + }, + "api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html", + "title": "Class IDictionaryConverter", + "keywords": "Class IDictionaryConverter A converter for instances of IDictionary . Inheritance Object ValueConverter < IDictionary < String , TValue>> IDictionaryConverter IDictionaryConverter Implements IValueConverter Inherited Members ValueConverter>.ToValue(IDictionary, Object) ValueConverter>.FromValue(Value, Object) ValueConverter>.IValueConverter.ToValue(Object, Object) ValueConverter>.IValueConverter.FromValue(Value, Object) ValueConverter>.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class IDictionaryConverter : ValueConverter>, IValueConverter Type Parameters Name Description TValue the value type of the dictionary Constructors | Improve this Doc View Source IDictionaryConverter() Constructs an IDictionaryConverter using the default converter for the value type. Declaration public IDictionaryConverter() | Improve this Doc View Source IDictionaryConverter(ValueConverter) Constructs an IDictionaryConverter using the specified converter for the value. Declaration public IDictionaryConverter(ValueConverter converter) Parameters Type Name Description ValueConverter converter the converter for the value Properties | Improve this Doc View Source BaseConverter Gets the converter for the dictionary's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Map to an IDictionary that is represented by it. Declaration public override IDictionary FromValue(Value value, object parent) Parameters Type Name Description Value value the Map to convert Object parent the parent that will own the resulting object Returns Type Description IDictionary < String , TValue> the deserialized dictionary Overrides IPA.Config.Stores.ValueConverter>.FromValue(IPA.Config.Data.Value, System.Object) | Improve this Doc View Source ToValue(IDictionary, Object) Serializes an IDictionary into a Map containing its values. Declaration public override Value ToValue(IDictionary obj, object parent) Parameters Type Name Description IDictionary < String , TValue> obj the dictionary to serialize Object parent the object that owns the dictionary Returns Type Description Value the dictionary serialized as a Map Overrides IPA.Config.Stores.ValueConverter>.ToValue(System.Collections.Generic.IDictionary, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.Converters.EnumConverter-1.html": { + "href": "api/IPA.Config.Stores.Converters.EnumConverter-1.html", + "title": "Class EnumConverter", + "keywords": "Class EnumConverter A converter for an enum of type T , that converts the enum to its string representation and back. Inheritance Object ValueConverter EnumConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public sealed class EnumConverter : ValueConverter, IValueConverter where T : Enum Type Parameters Name Description T the enum type Methods | Improve this Doc View Source FromValue(Value, Object) Converts a Value that is a Text node to the corresponding enum value. Declaration public override T FromValue(Value value, object parent) Parameters Type Name Description Value value the Value to convert Object parent the object which will own the created object Returns Type Description T the deserialized enum value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) Exceptions Type Condition ArgumentException if value is not a Text node | Improve this Doc View Source ToValue(T, Object) Converts an enum of type T to a Value node corresponding to its value. Declaration public override Value ToValue(T obj, object parent) Parameters Type Name Description T obj the value to serialize Object parent the object which owns obj Returns Type Description Value a Text node representing obj Overrides IPA.Config.Stores.ValueConverter.ToValue(T, System.Object) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.Attributes.UseConverterAttribute.html": { + "href": "api/IPA.Config.Stores.Attributes.UseConverterAttribute.html", + "title": "Class UseConverterAttribute", + "keywords": "Class UseConverterAttribute Indicates that a given field or property in an object being wrapped by Generated(Config, Boolean) should be serialized and deserialized using the provided converter instead of the default mechanism. Inheritance Object Attribute UseConverterAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class UseConverterAttribute : Attribute, _Attribute Constructors | Improve this Doc View Source UseConverterAttribute() Creates a new UseConverterAttribute specifying to use the default converter type for the target member. Declaration public UseConverterAttribute() | Improve this Doc View Source UseConverterAttribute(Type) Creates a new UseConverterAttribute with a given ConverterType . Declaration public UseConverterAttribute(Type converterType) Parameters Type Name Description Type converterType the type to assign to ConverterType Properties | Improve this Doc View Source ConverterTargetType Gets the target type of the converter if it is avaliable at instantiation time, otherwise null . Declaration public Type ConverterTargetType { get; } Property Value Type Description Type | Improve this Doc View Source ConverterType Gets the type of the converter to use. Declaration public Type ConverterType { get; } Property Value Type Description Type | Improve this Doc View Source IsGenericConverter Gets whether or not this converter is a generic ValueConverter . Declaration public bool IsGenericConverter { get; } Property Value Type Description Boolean | Improve this Doc View Source UseDefaultConverterForType Gets whether or not to use the default converter for the member type instead of the specified type. Declaration public bool UseDefaultConverterForType { get; } Property Value Type Description Boolean Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html": { + "href": "api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html", + "title": "Class SerializedNameAttribute", + "keywords": "Class SerializedNameAttribute Specifies a name for the serialized field or property in an object being wrapped by Generated(Config, Boolean) that is different from the member name itself. Inheritance Object Attribute SerializedNameAttribute Implements _Attribute Inherited Members Attribute.GetCustomAttributes(MemberInfo, Type) Attribute.GetCustomAttributes(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(MemberInfo) Attribute.GetCustomAttributes(MemberInfo, Boolean) Attribute.IsDefined(MemberInfo, Type) Attribute.IsDefined(MemberInfo, Type, Boolean) Attribute.GetCustomAttribute(MemberInfo, Type) Attribute.GetCustomAttribute(MemberInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo) Attribute.GetCustomAttributes(ParameterInfo, Type) Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(ParameterInfo, Boolean) Attribute.IsDefined(ParameterInfo, Type) Attribute.IsDefined(ParameterInfo, Type, Boolean) Attribute.GetCustomAttribute(ParameterInfo, Type) Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean) Attribute.GetCustomAttributes(Module, Type) Attribute.GetCustomAttributes(Module) Attribute.GetCustomAttributes(Module, Boolean) Attribute.GetCustomAttributes(Module, Type, Boolean) Attribute.IsDefined(Module, Type) Attribute.IsDefined(Module, Type, Boolean) Attribute.GetCustomAttribute(Module, Type) Attribute.GetCustomAttribute(Module, Type, Boolean) Attribute.GetCustomAttributes(Assembly, Type) Attribute.GetCustomAttributes(Assembly, Type, Boolean) Attribute.GetCustomAttributes(Assembly) Attribute.GetCustomAttributes(Assembly, Boolean) Attribute.IsDefined(Assembly, Type) Attribute.IsDefined(Assembly, Type, Boolean) Attribute.GetCustomAttribute(Assembly, Type) Attribute.GetCustomAttribute(Assembly, Type, Boolean) Attribute.Equals(Object) Attribute.GetHashCode() Attribute.Match(Object) Attribute.IsDefaultAttribute() Attribute._Attribute.GetTypeInfoCount(UInt32) Attribute._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) Attribute._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Attribute._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) Attribute.TypeId Object.ToString() Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Attributes Assembly : IPA.Loader.dll Syntax [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class SerializedNameAttribute : Attribute, _Attribute Examples When serializing the following object, we might get the JSON that follows. public class PluginConfig { public virtual bool BooleanField { get; set; } = true; } { \"BooleanField\": true } However, if we were to add a SerializedNameAttribute to that field, we would get the following. public class PluginConfig { [SerializedName(\"bool\")] public virtual bool BooleanField { get; set; } = true; } { \"bool\": true } Constructors | Improve this Doc View Source SerializedNameAttribute(String) Creates a new SerializedNameAttribute with the given Name . Declaration public SerializedNameAttribute(string name) Parameters Type Name Description String name the value to assign to Name Properties | Improve this Doc View Source Name Gets the name to replace the member name with. Declaration public string Name { get; } Property Value Type Description String Implements System.Runtime.InteropServices._Attribute Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Stores.Converters.CollectionConverter-2.html": { + "href": "api/IPA.Config.Stores.Converters.CollectionConverter-2.html", + "title": "Class CollectionConverter", + "keywords": "Class CollectionConverter A base class for all ICollection type converters, providing most of the functionality. Inheritance Object ValueConverter CollectionConverter CollectionConverter IListConverter ISetConverter ListConverter Implements IValueConverter Inherited Members ValueConverter.IValueConverter.ToValue(Object, Object) ValueConverter.IValueConverter.FromValue(Value, Object) ValueConverter.IValueConverter.Type Object.ToString() Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Stores.Converters Assembly : IPA.Loader.dll Syntax public class CollectionConverter : ValueConverter, IValueConverter where TCollection : ICollection Type Parameters Name Description T the type of the items in the collection TCollection the instantiated type of collection Constructors | Improve this Doc View Source CollectionConverter() Creates a CollectionConverter using the default converter for the element type. Equivalent to calling CollectionConverter(ValueConverter) with Default . Declaration public CollectionConverter() See Also CollectionConverter(ValueConverter) | Improve this Doc View Source CollectionConverter(ValueConverter) Creates a CollectionConverter using the specified underlying converter. Declaration public CollectionConverter(ValueConverter underlying) Parameters Type Name Description ValueConverter underlying the ValueConverter to use to convert the values Properties | Improve this Doc View Source BaseConverter Gets the converter for the collection's value type. Declaration protected ValueConverter BaseConverter { get; } Property Value Type Description ValueConverter Methods | Improve this Doc View Source Create(Int32, Object) Creates a collection of type TCollection using the size and parent . Declaration protected virtual TCollection Create(int size, object parent) Parameters Type Name Description Int32 size the initial size of the collecion Object parent the object that will own the new collection Returns Type Description TCollection a new instance of TCollection See Also FromValue ( Value , Object ) | Improve this Doc View Source FromValue(Value, Object) Deserializes a List in value into a new TCollection owned by parent . Declaration public override TCollection FromValue(Value value, object parent) Parameters Type Name Description Value value the List to convert to a TCollection Object parent the object that will own the resulting TCollection Returns Type Description TCollection a new TCollection holding the deserialized content of value Overrides IPA.Config.Stores.ValueConverter.FromValue(IPA.Config.Data.Value, System.Object) See Also FromValue ( Value , Object ) | Improve this Doc View Source PopulateFromValue(TCollection, List, Object) Populates the colleciton col with the deserialized values from list with the parent parent . Declaration protected void PopulateFromValue(TCollection col, List list, object parent) Parameters Type Name Description TCollection col the collection to populate List list the values to populate it with Object parent the object that will own the new objects See Also FromValue ( Value , Object ) | Improve this Doc View Source ToValue(TCollection, Object) Serializes a TCollection into a List . Declaration public override Value ToValue(TCollection obj, object parent) Parameters Type Name Description TCollection obj the TCollection to serialize Object parent the object owning obj Returns Type Description Value the List that obj was serialized into Overrides IPA.Config.Stores.ValueConverter.ToValue(TCollection, System.Object) See Also ToValue (T, Object ) Implements IValueConverter Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.Value.html": { + "href": "api/IPA.Config.Data.Value.html", + "title": "Class Value", + "keywords": "Class Value A base value type for config data abstract representations, to be serialized with an IConfigProvider . If a Value is null , then that represents just that: a null in whatever serialization is being used. Also contains factory functions for all derived types. Inheritance Object Value Boolean FloatingPoint Integer List Map Text Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public abstract class Value Methods | Improve this Doc View Source Bool(Boolean) Creates a new Boolean wrapping a Boolean . Declaration public static Boolean Bool(bool val) Parameters Type Name Description Boolean val the value to wrap Returns Type Description Boolean a Boolean wrapping val See Also From(Boolean) | Improve this Doc View Source Float(Decimal) Creates a new FloatingPoint wrapping a Decimal . Declaration public static FloatingPoint Float(decimal val) Parameters Type Name Description Decimal val the value to wrap Returns Type Description FloatingPoint a FloatingPoint wrapping val See Also From(Decimal) | Improve this Doc View Source From(Boolean) Creates a new Value wrapping a Boolean . Declaration public static Boolean From(bool val) Parameters Type Name Description Boolean val the value to wrap Returns Type Description Boolean a Boolean wrapping val See Also Bool(Boolean) | Improve this Doc View Source From(IDictionary) Creates a new Map holding the content of an IDictionary of String to Value . Declaration public static Map From(IDictionary vals) Parameters Type Name Description IDictionary < String , Value > vals the dictionary of Value s to initialize the Map wtih Returns Type Description Map a Map containing the content of vals See Also Map() From(IEnumerable>) | Improve this Doc View Source From(IEnumerable) Creates a new List holding the content of an IEnumerable of Value . Declaration public static List From(IEnumerable vals) Parameters Type Name Description IEnumerable < Value > vals the Value s to initialize the List with Returns Type Description List a List containing the content of vals See Also List() | Improve this Doc View Source From(IEnumerable>) Creates a new Map holding the content of an IEnumerable of KeyValuePair of String to Value . Declaration public static Map From(IEnumerable> vals) Parameters Type Name Description IEnumerable < KeyValuePair < String , Value >> vals the enumerable of KeyValuePair of name to Value Returns Type Description Map a Map containing the content of vals See Also Map() From(IDictionary) | Improve this Doc View Source From(Decimal) Creates a new Value wrapping a Double . Declaration public static FloatingPoint From(decimal val) Parameters Type Name Description Decimal val the value to wrap Returns Type Description FloatingPoint a FloatingPoint wrapping val See Also Float(Decimal) | Improve this Doc View Source From(Int64) Creates a new Value wrapping a Int64 . Declaration public static Integer From(long val) Parameters Type Name Description Int64 val the value to wrap Returns Type Description Integer a Integer wrapping val See Also Integer(Int64) | Improve this Doc View Source From(String) Creates a new Value representing a String . Declaration public static Text From(string val) Parameters Type Name Description String val the value to wrap Returns Type Description Text a Text wrapping val See Also Text(String) | Improve this Doc View Source Integer(Int64) Creates a new Integer wrapping a Int64 . Declaration public static Integer Integer(long val) Parameters Type Name Description Int64 val the value to wrap Returns Type Description Integer a Integer wrapping val See Also From(Int64) | Improve this Doc View Source List() Creates an empty List() . Declaration public static List List() Returns Type Description List an empty List() See Also From(IEnumerable) | Improve this Doc View Source Map() Creates an empty Map() . Declaration public static Map Map() Returns Type Description Map an empty Map() See Also From(IDictionary) From(IEnumerable>) | Improve this Doc View Source Null() Creates a Null Value . Declaration public static Value Null() Returns Type Description Value null | Improve this Doc View Source Text(String) Creates a new Text object wrapping a String . Declaration public static Text Text(string val) Parameters Type Name Description String val the value to wrap Returns Type Description Text a Text wrapping val See Also From(String) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public abstract override string ToString() Returns Type Description String a human-readable string containing the value provided Overrides Object.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.Map.html": { + "href": "api/IPA.Config.Data.Map.html", + "title": "Class Map", + "keywords": "Class Map A ordered map of String to Value for serialization by an IConfigProvider . Use Map() or From(IDictionary) to create. Inheritance Object Value Map Implements IDictionary < String , Value > ICollection < KeyValuePair < String , Value >> IEnumerable < KeyValuePair < String , Value >> IEnumerable Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Map : Value, IDictionary, ICollection>, IEnumerable>, IEnumerable Properties | Improve this Doc View Source Count Gets the number of key-value pairs in this Map . Declaration public int Count { get; } Property Value Type Description Int32 See Also Count | Improve this Doc View Source Item[String] Accesses the Value at key in the map. Declaration public Value this[string key] { get; set; } Parameters Type Name Description String key the key to get the value associated with Property Value Type Description Value the value associated with the key See Also Item [TKey] | Improve this Doc View Source Keys Gets a collection of the keys for the Map . Declaration public ICollection Keys { get; } Property Value Type Description ICollection < String > See Also Keys | Improve this Doc View Source Values Gets a collection of the values in the Map . Declaration public ICollection Values { get; } Property Value Type Description ICollection < Value > Remarks Unlike all other iterables given by Map , this does not guarantee that order is maintained. See Also Values Methods | Improve this Doc View Source Add(String, Value) Adds a new Value with a given key. Declaration public void Add(string key, Value value) Parameters Type Name Description String key the key to put the value at Value value the Value to add See Also Add (TKey, TValue) | Improve this Doc View Source Clear() Clears the Map of its key-value pairs. Declaration public void Clear() See Also Clear () | Improve this Doc View Source ContainsKey(String) Checks if the Map contains a given key . Declaration public bool ContainsKey(string key) Parameters Type Name Description String key the key to check for Returns Type Description Boolean true if the key exists, otherwise false See Also ContainsKey (TKey) | Improve this Doc View Source GetEnumerator() Enumerates the Map 's key-value pairs. Declaration public IEnumerator> GetEnumerator() Returns Type Description IEnumerator < KeyValuePair < String , Value >> an IEnumerator of key-value pairs in this Map See Also GetEnumerator () | Improve this Doc View Source Remove(String) Removes the object associated with a key in this Map . Declaration public bool Remove(string key) Parameters Type Name Description String key the key to remove Returns Type Description Boolean true if the key existed, false otherwise See Also Remove (TKey) | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String a JSON-like set of key-value pairs Overrides Value.ToString() | Improve this Doc View Source TryGetValue(String, out Value) Gets the value associated with the specified key. Declaration public bool TryGetValue(string key, out Value value) Parameters Type Name Description String key the key of the value to get Value value the target location of the retrieved object Returns Type Description Boolean true if the key was found and value set, false otherwise See Also TryGetValue (TKey, TValue) Explicit Interface Implementations | Improve this Doc View Source ICollection>.Add(KeyValuePair) Declaration void ICollection>.Add(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item | Improve this Doc View Source ICollection>.Contains(KeyValuePair) Declaration bool ICollection>.Contains(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item Returns Type Description Boolean | Improve this Doc View Source ICollection>.CopyTo(KeyValuePair[], Int32) Declaration void ICollection>.CopyTo(KeyValuePair[] array, int arrayIndex) Parameters Type Name Description KeyValuePair < String , Value >[] array Int32 arrayIndex | Improve this Doc View Source ICollection>.IsReadOnly Declaration bool ICollection>.IsReadOnly { get; } Returns Type Description Boolean | Improve this Doc View Source ICollection>.Remove(KeyValuePair) Declaration bool ICollection>.Remove(KeyValuePair item) Parameters Type Name Description KeyValuePair < String , Value > item Returns Type Description Boolean | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements System.Collections.Generic.IDictionary System.Collections.Generic.ICollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods EnumerableExtensions.Prepend(IEnumerable, T) EnumerableExtensions.Append(IEnumerable, T) EnumerableExtensions.NonNull(IEnumerable, Func) EnumerableExtensions.NonNull(IEnumerable, Func>) ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" + }, + "api/IPA.Config.Data.Boolean.html": { + "href": "api/IPA.Config.Data.Boolean.html", + "title": "Class Boolean", + "keywords": "Class Boolean A Value representing a boolean value. Inheritance Object Value Boolean Inherited Members Value.Null() Value.List() Value.Map() Value.From(String) Value.Text(String) Value.From(Int64) Value.Integer(Int64) Value.From(Decimal) Value.Float(Decimal) Value.From(Boolean) Value.Bool(Boolean) Value.From(IEnumerable) Value.From(IDictionary) Value.From(IEnumerable>) Object.Equals(Object) Object.Equals(Object, Object) Object.ReferenceEquals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Namespace : IPA.Config.Data Assembly : IPA.Loader.dll Syntax public sealed class Boolean : Value Properties | Improve this Doc View Source Value The actual value fo this Boolean object. Declaration public bool Value { get; set; } Property Value Type Description Boolean Methods | Improve this Doc View Source ToString() Converts this Value into a human-readable format. Declaration public override string ToString() Returns Type Description String the result of Value.ToString().ToLower() Overrides Value.ToString() Extension Methods ReflectionUtil.SetField(T, String, U) ReflectionUtil.GetField(T, String) ReflectionUtil.SetProperty(T, String, U) ReflectionUtil.GetProperty(T, String) ReflectionUtil.InvokeMethod(T, String, Object[])" } } \ No newline at end of file diff --git a/manifest.json b/manifest.json index d6de3acb..8b6cd51e 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "output": { ".html": { "relative_path": "api/BSIPA_ModList.UI.ViewControllers.MarkdownView.html", - "hash": "0rI3HZbuKvhL2OhlLxzeaA==" + "hash": "qeRQzfFgmmJWLJZKr83dgQ==" } }, "is_incremental": false, @@ -42,7 +42,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Config.NameAttribute.html", - "hash": "3ISn4ZViOwCpf4Av/50S/g==" + "hash": "2E25pmtv8oI9WzUZ1WgW2g==" } }, "is_incremental": false, @@ -54,7 +54,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Config.PreferAttribute.html", - "hash": "w84WfwE6/XXqpR/N7nNZbA==" + "hash": "sLg1/Odc3G7pEvwoVS1z6Q==" } }, "is_incremental": false, @@ -66,7 +66,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Config.html", - "hash": "Eu4ULMqNpSN66PRoIZydww==" + "hash": "foq3VDf+cyQA8sJCcwriLA==" } }, "is_incremental": false, @@ -78,7 +78,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.ConfigProvider.html", - "hash": "0mT50Cp9fptX1AhsXCPZnA==" + "hash": "iZqjEAp0F5KjzCZGsUJD+g==" } }, "is_incremental": false, @@ -90,7 +90,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.Boolean.html", - "hash": "abNgvUsPSJW3qmKPsPr+YQ==" + "hash": "LkbaJQDUJDvxT3Pv3Ho1OA==" } }, "is_incremental": false, @@ -102,7 +102,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.FloatingPoint.html", - "hash": "D8GNk7x0PouHIc7fKGBdGA==" + "hash": "MZ0cF6YqOZcjYssUdFjuVg==" } }, "is_incremental": false, @@ -114,7 +114,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.Integer.html", - "hash": "qiNpmeEm47B3uRWpuyH1Wg==" + "hash": "h9S5jl5UrBvD0WvAsa0LGw==" } }, "is_incremental": false, @@ -126,7 +126,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.List.html", - "hash": "SMsLIkguOmuCo3oXpFRXWg==" + "hash": "/TUYE6AjIiRCLillpfDnnw==" } }, "is_incremental": false, @@ -138,7 +138,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.Map.html", - "hash": "ppYZZ+dHFKIzsxRJT44GSA==" + "hash": "Q3iH6FGdiK95snbXo0Czlg==" } }, "is_incremental": false, @@ -150,7 +150,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.Text.html", - "hash": "lSqTOuoMWJfrJDy6/qkj5g==" + "hash": "WraIbG6An9DDfsdUeTf9zQ==" } }, "is_incremental": false, @@ -162,7 +162,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Data.Value.html", - "hash": "pICl10xtU9f4tV8wHjM5ag==" + "hash": "SStikk0h4KL/k+at8phjpg==" } }, "is_incremental": false, @@ -186,7 +186,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.IConfigProvider.html", - "hash": "C1IMAHmVjzNF1+d3MP1uRQ==" + "hash": "KCg+VIfe2n+h/HuGmxAJnQ==" } }, "is_incremental": false, @@ -198,7 +198,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.IConfigStore.html", - "hash": "3OwqzXFzjvCnmtOCygxzKg==" + "hash": "3qzfdwQYBmIGC5rWhEQLjQ==" } }, "is_incremental": false, @@ -210,7 +210,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.IModPrefs.html", - "hash": "QgVH8jmmnJah8k3fQhTNRQ==" + "hash": "MoHmA64+L68ef9hFUWgxeQ==" } }, "is_incremental": false, @@ -222,7 +222,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.ModPrefs.html", - "hash": "vW/ZJH5UF9Q7EEgv2bY0bw==" + "hash": "6U80inIlmIO3+1JAKJ6Iig==" } }, "is_incremental": false, @@ -234,7 +234,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Attributes.IgnoreAttribute.html", - "hash": "cXDpoxk/t1pSSU3LBTFHcQ==" + "hash": "Rec3hcj8CMDEsHJuInn0aw==" } }, "is_incremental": false, @@ -246,7 +246,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Attributes.NonNullableAttribute.html", - "hash": "ZLcZY2TUVavTPIQ6+qdnbw==" + "hash": "M5fgOpwg/uc1qETaou/7Nw==" } }, "is_incremental": false, @@ -258,7 +258,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Attributes.NotifyPropertyChangesAttribute.html", - "hash": "VbtosXGOyzlNq9m+dWKZJw==" + "hash": "C8d1aHTguhr5A3j2SC49aQ==" } }, "is_incremental": false, @@ -270,7 +270,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Attributes.SerializedNameAttribute.html", - "hash": "FYH/vSlTC+oM2wgEPJ9PYQ==" + "hash": "t8RpoCth9AbblA2nmMiwnQ==" } }, "is_incremental": false, @@ -282,7 +282,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Attributes.UseConverterAttribute.html", - "hash": "jgWPhqUsz96i3/gGIZ5r8w==" + "hash": "WjvIrDH5XZOpImcyNee3xA==" } }, "is_incremental": false, @@ -306,7 +306,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.CaseInsensitiveEnumConverter-1.html", - "hash": "kjVJKGbJgl2myRqOnuI0yQ==" + "hash": "+aDU9Bswop3xYRUlW8AF+w==" } }, "is_incremental": false, @@ -318,7 +318,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.CollectionConverter-2.html", - "hash": "tgCGXtP85QdeNeAn3fHBvA==" + "hash": "qs+T9fehf776woiKo0iUkA==" } }, "is_incremental": false, @@ -330,7 +330,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.CollectionConverter-3.html", - "hash": "AYZ15y+oCqTIcNHYU8d8Ug==" + "hash": "A5NW0xWGPt4FtEy53LWq7g==" } }, "is_incremental": false, @@ -342,7 +342,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.Converter-1.html", - "hash": "rFWTbS6D2fsdLmRjLMnq/Q==" + "hash": "GH/hJxhkuBht0ZhtThN40A==" } }, "is_incremental": false, @@ -354,7 +354,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.Converter.html", - "hash": "0RaX9E+RFUzWQWz7zr6eHg==" + "hash": "mIRUotu1Z1L5mn6mbDeYyg==" } }, "is_incremental": false, @@ -366,7 +366,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.CustomObjectConverter-1.html", - "hash": "oMIvlDSF6Fjrc2DQDQVH3A==" + "hash": "LVspstcPe3vdmjcikxfIPg==" } }, "is_incremental": false, @@ -378,7 +378,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.CustomValueTypeConverter-1.html", - "hash": "BuAz4+76juqkb9sB9q4E4w==" + "hash": "OCTu5y+CPpI9CWqt3jj0lw==" } }, "is_incremental": false, @@ -390,7 +390,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.DictionaryConverter-1.html", - "hash": "94S+6wX+qu7H37ib/5XKqw==" + "hash": "d4t/Cxwmjs+0/0bfFohqzA==" } }, "is_incremental": false, @@ -402,7 +402,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.DictionaryConverter-2.html", - "hash": "WTBdUbrcpwWr31siz1F7cw==" + "hash": "e2RK4jxLIkGiVxX7YSdadQ==" } }, "is_incremental": false, @@ -414,7 +414,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.EnumConverter-1.html", - "hash": "7CmVBZGggRY13VbYrGC1IA==" + "hash": "85QYUJiRLYCK9ihhzcAWlg==" } }, "is_incremental": false, @@ -426,7 +426,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IDictionaryConverter-1.html", - "hash": "GsVeHKRungpwfnzuHfuCtQ==" + "hash": "Pmxu8klMa9tbrmEzlGFlRg==" } }, "is_incremental": false, @@ -438,7 +438,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IDictionaryConverter-2.html", - "hash": "C7M4GWoiVcfPbnrjkqJILQ==" + "hash": "WSLtHZjr4chSrhCpCFuEwQ==" } }, "is_incremental": false, @@ -450,7 +450,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IListConverter-1.html", - "hash": "LXqR3BEHmdRv6DBgnXDyaw==" + "hash": "jl+tJ9DTZbfcKgD/476QeA==" } }, "is_incremental": false, @@ -462,7 +462,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IListConverter-2.html", - "hash": "GY6GDzdJKH8uQ3Zm2Bdfxg==" + "hash": "LkJBQeY6BiIGEaLryZwxkA==" } }, "is_incremental": false, @@ -474,7 +474,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-1.html", - "hash": "MvGbWTGDsFyC14OBrnVaFw==" + "hash": "lLiqKWLAMJMWIZp1IuO5mQ==" } }, "is_incremental": false, @@ -486,7 +486,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.IReadOnlyDictionaryConverter-2.html", - "hash": "Sf9lwXHTjFyOG2v9Trog/A==" + "hash": "PMj7PM6MFGh9ujNPuErFKQ==" } }, "is_incremental": false, @@ -498,7 +498,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.ISetConverter-1.html", - "hash": "JG7F+16bEAG2valJrTah9A==" + "hash": "zW19Zxum9J7ZsWhi9gxh9w==" } }, "is_incremental": false, @@ -510,7 +510,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.ISetConverter-2.html", - "hash": "cdLBA6TOBCUok6qGUnQXnA==" + "hash": "3hChZFoaP4THRD5Ho/5cCw==" } }, "is_incremental": false, @@ -522,7 +522,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.ListConverter-1.html", - "hash": "+LEzRkOaXi9IccBxxkeLgw==" + "hash": "gyQZKA5phx0dDC9UbjRcjA==" } }, "is_incremental": false, @@ -534,7 +534,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.ListConverter-2.html", - "hash": "oixPO1TZEnV4vJ8VtqnJnw==" + "hash": "M/2du61Um16KRcI6l0d4xg==" } }, "is_incremental": false, @@ -546,7 +546,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.NullableConverter-1.html", - "hash": "8GCg3yY9Vk1ZXTx1bDwYnQ==" + "hash": "0zm9C5e5w361jWNhBvvnIw==" } }, "is_incremental": false, @@ -558,7 +558,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.NullableConverter-2.html", - "hash": "u/LN9kNJvnyUTaD9TYZq6g==" + "hash": "IOEdZR+M3BuyI9Tq4dabFQ==" } }, "is_incremental": false, @@ -570,7 +570,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.Converters.NumericEnumConverter-1.html", - "hash": "KEx8tbEj978TFoXbTMgbsg==" + "hash": "aqUDsBYY42M4u66ZT7JKNQ==" } }, "is_incremental": false, @@ -594,7 +594,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.GeneratedStore.html", - "hash": "JEHA/Fabw4daTmgxrrYbmg==" + "hash": "QOxLWogCXqeHGT7f2Her2A==" } }, "is_incremental": false, @@ -606,7 +606,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.IValueConverter.html", - "hash": "G14vscGQqIb89+whRpG/ig==" + "hash": "ouPyPm78i1aLVvILTdUaQA==" } }, "is_incremental": false, @@ -618,7 +618,7 @@ "output": { ".html": { "relative_path": "api/IPA.Config.Stores.ValueConverter-1.html", - "hash": "1WU6144sxZ/wIu3Al7TKOw==" + "hash": "1l5g6z6RT3g6kVt6lytNGA==" } }, "is_incremental": false, @@ -654,7 +654,7 @@ "output": { ".html": { "relative_path": "api/IPA.InitAttribute.html", - "hash": "PoMdKswExPOO9SLVQm+JUw==" + "hash": "IsV4ykTEAXi7EO61j5V/iA==" } }, "is_incremental": false, @@ -666,7 +666,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.CannotRuntimeDisableException.html", - "hash": "LptbOoFFdh7+bNWdaT1+3w==" + "hash": "+XGO0QZ9IH9Ux0nCl6L+nQ==" } }, "is_incremental": false, @@ -678,7 +678,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.Features.Feature.html", - "hash": "DHBFIf4QZeW+HzhvYol5lg==" + "hash": "xqUWw5OK0hjTzyb5Mhx1jg==" } }, "is_incremental": false, @@ -696,13 +696,25 @@ "is_incremental": false, "version": "" }, + { + "type": "ManagedReference", + "source_relative_path": "api/IPA.Loader.IgnoreReason.yml", + "output": { + ".html": { + "relative_path": "api/IPA.Loader.IgnoreReason.html", + "hash": "UjaEUMO7/UleoSllXENBCw==" + } + }, + "is_incremental": false, + "version": "" + }, { "type": "ManagedReference", "source_relative_path": "api/IPA.Loader.PluginInitInjector.InjectParameter.yml", "output": { ".html": { "relative_path": "api/IPA.Loader.PluginInitInjector.InjectParameter.html", - "hash": "aEkxHXGm2jVFzjGLF/ns7g==" + "hash": "tylPwPT9LwGC+c2SFvoBOQ==" } }, "is_incremental": false, @@ -714,7 +726,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.PluginInitInjector.html", - "hash": "UdPqNXXS2OEALQV3TR+lfA==" + "hash": "wnbUkxgYjHFA0dKDeZgVyg==" } }, "is_incremental": false, @@ -726,7 +738,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.PluginManager.PluginDisableDelegate.html", - "hash": "mZoq0fXQEvBlIGwPRd0n2A==" + "hash": "5cvfw+v8BQMnRBfe7xdBTA==" } }, "is_incremental": false, @@ -738,7 +750,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.PluginManager.PluginEnableDelegate.html", - "hash": "9dy8d7V2B8EuzrZnbSE1Kw==" + "hash": "UtLjBX1FbceU8oA6dWld3Q==" } }, "is_incremental": false, @@ -750,7 +762,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.PluginManager.html", - "hash": "KoHeO6dRfC+SeLjMulmHLA==" + "hash": "GipvBuyNTniJhwAg4oXR4g==" } }, "is_incremental": false, @@ -762,7 +774,19 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.PluginMetadata.html", - "hash": "yYSfv4k5cUKjGc7vcyrqPA==" + "hash": "EHqqI5URVX9BZm1QjqSUYg==" + } + }, + "is_incremental": false, + "version": "" + }, + { + "type": "ManagedReference", + "source_relative_path": "api/IPA.Loader.Reason.yml", + "output": { + ".html": { + "relative_path": "api/IPA.Loader.Reason.html", + "hash": "vv7zKmB/tp3bKLIkfJFYyw==" } }, "is_incremental": false, @@ -774,7 +798,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.StateTransitionTransaction.html", - "hash": "pMBVPVtkcJgkD02UrDXM/Q==" + "hash": "uFiBMIfnyGYD9JUu86yhIg==" } }, "is_incremental": false, @@ -786,7 +810,7 @@ "output": { ".html": { "relative_path": "api/IPA.Loader.html", - "hash": "zNgCFccUOYp5fdY1aDR2bQ==" + "hash": "fWT1eVcT4uDA4SsvgR4wGQ==" } }, "is_incremental": false, @@ -798,7 +822,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.LogPrinter.html", - "hash": "ALFWMElDV2WSVIJuT0Hs2A==" + "hash": "AHPwKkYQk5i2RmT1TqqTkg==" } }, "is_incremental": false, @@ -810,7 +834,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Logger.Level.html", - "hash": "Ugm1LJUOPIm6crCVroCBEw==" + "hash": "IArWaA6Zl9pKQ4A6TOLztQ==" } }, "is_incremental": false, @@ -822,7 +846,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Logger.LogLevel.html", - "hash": "84l02kcGb9mcA9xcsIwNFw==" + "hash": "BMIsx4DXbSVi7gQwQ9CWhQ==" } }, "is_incremental": false, @@ -834,7 +858,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Logger.html", - "hash": "ilt3xFOHxVSREKmRmAHJTg==" + "hash": "et4IlRsARIB9cv8u8BYrxw==" } }, "is_incremental": false, @@ -846,7 +870,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.LoggerExtensions.html", - "hash": "fVnpX6PkXO2QWOhk1Tt5rQ==" + "hash": "NLgfK3d6xhy0xKHv5ZgA0g==" } }, "is_incremental": false, @@ -858,7 +882,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.ColoredConsolePrinter.html", - "hash": "vdypHdfM31d91eil4N9DZw==" + "hash": "xFSXdUFuStVqbQaSWvwpFg==" } }, "is_incremental": false, @@ -870,7 +894,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.ColorlessConsolePrinter.html", - "hash": "+E8AR1E+rWyVD8tnE9Wetg==" + "hash": "FNdDNzJ6L3/vsMfPM8UDiQ==" } }, "is_incremental": false, @@ -882,7 +906,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.GZFilePrinter.html", - "hash": "qF6GJb1wtb7NNc+46hZmtg==" + "hash": "wxoJ+hNabNK/c3j35TDtmg==" } }, "is_incremental": false, @@ -894,7 +918,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.GlobalLogFilePrinter.html", - "hash": "HVeZdQp75B/BLq7AYo4nMw==" + "hash": "+HVfaKx50WmD64iB8G3iwg==" } }, "is_incremental": false, @@ -906,7 +930,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.PluginLogFilePrinter.html", - "hash": "d+DQQMEBPoZMAiiTAKCRbQ==" + "hash": "YO0IOvvUUmpwIYC/aqb2hg==" } }, "is_incremental": false, @@ -918,7 +942,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.Printers.PluginSubLogPrinter.html", - "hash": "OmaM9+8zyWBtV59dbTrdzw==" + "hash": "1tP04fPhz/+iP7n3Ndh26Q==" } }, "is_incremental": false, @@ -942,7 +966,7 @@ "output": { ".html": { "relative_path": "api/IPA.Logging.StandardLogger.html", - "hash": "Ud28AhCYFhtzgmVmC1dMNA==" + "hash": "f+AMerj7kwjuapJz8iBugA==" } }, "is_incremental": false, @@ -966,7 +990,7 @@ "output": { ".html": { "relative_path": "api/IPA.Old.IEnhancedPlugin.html", - "hash": "DeYw/lFf9NWaN6dY0H1MNQ==" + "hash": "oWRkWNEMfkjzLndl66C9Nw==" } }, "is_incremental": false, @@ -978,7 +1002,7 @@ "output": { ".html": { "relative_path": "api/IPA.Old.IPlugin.html", - "hash": "NCJadr7EWAaUF4Q5CxNSsA==" + "hash": "2PvWk++ZJURMf4VAVoF0GA==" } }, "is_incremental": false, @@ -1002,7 +1026,7 @@ "output": { ".html": { "relative_path": "api/IPA.OnDisableAttribute.html", - "hash": "gaAfduizszswnyN11TBzLQ==" + "hash": "+YdSzAomL7Z1lheRc2wJSA==" } }, "is_incremental": false, @@ -1014,7 +1038,7 @@ "output": { ".html": { "relative_path": "api/IPA.OnEnableAttribute.html", - "hash": "VlzpBgqMvV0N91QWFrRB/A==" + "hash": "uTYgGUt+it7pYr67w0B/2Q==" } }, "is_incremental": false, @@ -1026,7 +1050,7 @@ "output": { ".html": { "relative_path": "api/IPA.OnExitAttribute.html", - "hash": "VEWAehpdKGXN+2Q+XIUdMw==" + "hash": "WRpflmbh7wJHdOdQF3gc5g==" } }, "is_incremental": false, @@ -1038,7 +1062,7 @@ "output": { ".html": { "relative_path": "api/IPA.OnStartAttribute.html", - "hash": "Xpw0khjGK3jcWMNIMA/TFw==" + "hash": "sIQ+aeeZCDnpY5nS0lI01A==" } }, "is_incremental": false, @@ -1050,7 +1074,7 @@ "output": { ".html": { "relative_path": "api/IPA.PluginAttribute.html", - "hash": "wLBr4b/WmqP26hriviuS6A==" + "hash": "X228cfBcNXR4jcS1qJoUhA==" } }, "is_incremental": false, @@ -1062,7 +1086,7 @@ "output": { ".html": { "relative_path": "api/IPA.RuntimeOptions.html", - "hash": "3MUVNEiREUiDMKJMZ5UwuA==" + "hash": "3A5YRJc5f1kmAReyfEzbGQ==" } }, "is_incremental": false, @@ -1074,7 +1098,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.AlmostVersion.StoredAs.html", - "hash": "o/TuYvdnwbegFj7qFvtbiQ==" + "hash": "gbOCnJo2Q/oN6Lb4E2m10A==" } }, "is_incremental": false, @@ -1086,7 +1110,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.AlmostVersion.html", - "hash": "cOD/+m3KSP7MPa2G4xBnMw==" + "hash": "FrPZbhlSLnEtDlXOQKZObg==" } }, "is_incremental": false, @@ -1098,7 +1122,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.AlmostVersionConverter.html", - "hash": "2Y0yBizLWN7ny4dO9H+jLw==" + "hash": "KbC8Kw8B7u4aZ5MqNZ/rWA==" } }, "is_incremental": false, @@ -1110,7 +1134,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Coroutines.html", - "hash": "trhwXKS2mjFHkp+FvXF7nw==" + "hash": "Zqpv4cEx5fLs4D4lgQ+lRg==" } }, "is_incremental": false, @@ -1122,7 +1146,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.SingleCreationValueCache-2.html", - "hash": "z1FuB9GcnUp4e+c/4hMsUQ==" + "hash": "lIU1m/FnE/FMNNlH8aqpSw==" } }, "is_incremental": false, @@ -1134,7 +1158,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.SingleThreadTaskScheduler.html", - "hash": "xrDxXDMoIysz34yePMBh/A==" + "hash": "X/JowTVX+ngU7xjAel/Atw==" } }, "is_incremental": false, @@ -1146,7 +1170,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.MutexLocker.html", - "hash": "3OHohnDRnhcEKzrA0F6sAg==" + "hash": "AjE80wIFpAu3+5DLS44RyQ==" } }, "is_incremental": false, @@ -1158,7 +1182,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html", - "hash": "kd2XkrcWvUEElSf2xIp6uQ==" + "hash": "E4iJYs9ZsGPkPPGM9qC22g==" } }, "is_incremental": false, @@ -1170,7 +1194,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html", - "hash": "nV09iIPgx0kkWX1bUgCxBQ==" + "hash": "VZSzdtKJfUcRM6lppHJmyA==" } }, "is_incremental": false, @@ -1182,7 +1206,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html", - "hash": "nx6YQ+h6jj4G2xDKtArXXA==" + "hash": "TGDfaJDavnqX+KWFaV3hiw==" } }, "is_incremental": false, @@ -1194,7 +1218,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.SemaphoreLocker.html", - "hash": "vK4LT/iq3yg5CuqUwi9yYQ==" + "hash": "8ePhob69Y7LUW57W7Xl35Q==" } }, "is_incremental": false, @@ -1206,7 +1230,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html", - "hash": "QGgxD4iTK6Xx4ewGdpflVA==" + "hash": "nNKI1zfKzKaYKqf8E2tz8w==" } }, "is_incremental": false, @@ -1218,7 +1242,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html", - "hash": "i8JxQns6IqeEQT1v5q2YbA==" + "hash": "G6GScNyI6Ek3JESU7o3cqw==" } }, "is_incremental": false, @@ -1230,7 +1254,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.Synchronization.html", - "hash": "QKfDWfzIHEvE2AvpoEGnPQ==" + "hash": "Gvu9/WZ4WL1hS8t57haZEQ==" } }, "is_incremental": false, @@ -1242,7 +1266,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Async.UnityMainThreadTaskScheduler.html", - "hash": "Uid7lOkxCzGChfiGe/QiMA==" + "hash": "sPVsQe5PJoZZRLWoD7xqqw==" } }, "is_incremental": false, @@ -1266,7 +1290,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.CriticalSection.AutoExecuteSection.html", - "hash": "rbwzwqz6XnTzUmHIN32Kng==" + "hash": "2vO0ABUdm4nb5Q/4dwqCww==" } }, "is_incremental": false, @@ -1278,7 +1302,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.CriticalSection.html", - "hash": "ATHVpfYtIFE06RuOX3Ta9A==" + "hash": "JazAbEm15LOiEG52aHTHXg==" } }, "is_incremental": false, @@ -1290,7 +1314,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.EnumerableExtensions.html", - "hash": "BYsR2iBa3Fb7ui1l2fx+uA==" + "hash": "wiApW5G/geM1mlGliHk26g==" } }, "is_incremental": false, @@ -1302,7 +1326,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Extensions.html", - "hash": "M8VMcj8pyvsmMWlLZYyzXw==" + "hash": "f8ZxC0oT2tmb5Eo/3hnzfg==" } }, "is_incremental": false, @@ -1314,7 +1338,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.FieldAccessor-2.Accessor.html", - "hash": "M00/edYTn+6/11Oa8xpLRQ==" + "hash": "3X3Y2Y0h73P9rvgK8Mb2Aw==" } }, "is_incremental": false, @@ -1326,7 +1350,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.FieldAccessor-2.html", - "hash": "xn1k6uWBmQBSV39fkJ9pVA==" + "hash": "/FRhmds2hmIU79Q05tOhgg==" } }, "is_incremental": false, @@ -1338,7 +1362,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.MethodAccessor-2.html", - "hash": "1ZxUstorh4DzHHeSDsOe5g==" + "hash": "2dQ2XXcSnpnV7CKV093rSw==" } }, "is_incremental": false, @@ -1350,7 +1374,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.PropertyAccessor-2.Getter.html", - "hash": "ik/VkCu0uD8iuf1y27JwYA==" + "hash": "oIgYBhh4GZDg8i1crJPvjw==" } }, "is_incremental": false, @@ -1362,7 +1386,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.PropertyAccessor-2.Setter.html", - "hash": "XeB0WyvMSPXw1Ta3wkdDIQ==" + "hash": "Xc5IjWcT8ZuzVRf0PG/OEA==" } }, "is_incremental": false, @@ -1374,7 +1398,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.PropertyAccessor-2.html", - "hash": "VJrbGfe3mNs4RGzx5/7BzA==" + "hash": "xhuliFQevUGieVJ/yxBEbQ==" } }, "is_incremental": false, @@ -1386,7 +1410,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Ref-1.html", - "hash": "9jtF0hxxeFxCqtTTwusS5w==" + "hash": "z4WVfOJiAoOS3WUw2AD6Dg==" } }, "is_incremental": false, @@ -1398,7 +1422,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Ref.html", - "hash": "rGdW0KRrCqJZd2Z9sJZ6nw==" + "hash": "cyg9onxW0JK661QKKkyoGg==" } }, "is_incremental": false, @@ -1410,7 +1434,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.ReflectionUtil.html", - "hash": "deRPGESUgcVAEwnzWwXEjg==" + "hash": "uNWkVegpZ73R4Bd0eUQ1Bw==" } }, "is_incremental": false, @@ -1422,7 +1446,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.UnityGame.Release.html", - "hash": "/K6CBv0BFA9KM8loHW1p3Q==" + "hash": "F3kn4Rc3baYBlGSvk0b6zw==" } }, "is_incremental": false, @@ -1434,7 +1458,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.UnityGame.html", - "hash": "cDjoVops9mPYimhQwsaqiw==" + "hash": "KfZptQXDVphBv2gylTTugQ==" } }, "is_incremental": false, @@ -1446,7 +1470,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Utils.ScopeGuardObject.html", - "hash": "gw77Qe+RfggK7DLjIPmMiA==" + "hash": "GMPwxZia/zEKe6PICh5nGA==" } }, "is_incremental": false, @@ -1458,7 +1482,7 @@ "output": { ".html": { "relative_path": "api/IPA.Utilities.Utils.html", - "hash": "v5N+gfextrBXccmQgHp2ag==" + "hash": "QSvn97+e1iz66HgWiYIB0w==" } }, "is_incremental": false, @@ -1494,7 +1518,7 @@ "output": { ".html": { "relative_path": "api/index.html", - "hash": "JKH05UQazYG28C4S1Xz7Pw==" + "hash": "SwP2gs3lnwZPOzXBtwx1Vw==" } }, "is_incremental": false, @@ -1506,7 +1530,7 @@ "output": { ".html": { "relative_path": "api/toc.html", - "hash": "kfqeBgSeT7ywFJk9x7GN/w==" + "hash": "bO9fanSJdv1BevfhRkXFJA==" } }, "is_incremental": false, @@ -1518,7 +1542,7 @@ "output": { ".html": { "relative_path": "articles/command-line.html", - "hash": "EcilOuwxn+8blWO8+tCC4w==" + "hash": "WeByTvL9r1Ygo2o4M0UWXw==" } }, "is_incremental": false, @@ -1530,7 +1554,7 @@ "output": { ".html": { "relative_path": "articles/contributing.html", - "hash": "u8jbmxyorXQdXP6m1OrnGw==" + "hash": "NL3KQQi29LZxZqCCQZYKoA==" } }, "is_incremental": false, @@ -1542,7 +1566,7 @@ "output": { ".html": { "relative_path": "articles/dev-resources/description.html", - "hash": "zF8nO+l/2Q/N+8WhvZkpfA==" + "hash": "5B3RvtIdsmnmiVXUklrgmA==" } }, "is_incremental": false, @@ -1554,7 +1578,7 @@ "output": { ".html": { "relative_path": "articles/index.html", - "hash": "4gXBvFYpwh6CodYgI9vm/g==" + "hash": "bgDDnZWVY8yiDnHReBRQUw==" } }, "is_incremental": false, @@ -1566,7 +1590,7 @@ "output": { ".html": { "relative_path": "articles/start-dev.html", - "hash": "pZsC21MYHOS/vLsDCVRmsw==" + "hash": "C6Kd99NEQ5cl+HYu+ypuCA==" } }, "is_incremental": false, @@ -1578,7 +1602,7 @@ "output": { ".html": { "relative_path": "articles/start-user.html", - "hash": "TivAFNghihXQ1eIrxpeucw==" + "hash": "8lEILi52ZvYtz8ya2Vi0oQ==" } }, "is_incremental": false, @@ -1668,7 +1692,7 @@ "output": { ".html": { "relative_path": "index.html", - "hash": "v2AsUip0QMVjYRSgei04ww==" + "hash": "TSrkfHfLtzOtOTQOYEhEIg==" } }, "is_incremental": false, @@ -1680,7 +1704,7 @@ "output": { ".html": { "relative_path": "other_api/config/schema.html", - "hash": "Ex9P3klE+VQCtWm4rI3ZuA==" + "hash": "UCKZMxp/oYSq+PXVELtGvA==" } }, "is_incremental": false, @@ -1692,7 +1716,7 @@ "output": { ".html": { "relative_path": "other_api/index.html", - "hash": "8isjDwkqovXlx7C5qzdnpw==" + "hash": "HMRUvXDsFOdwVgipErX5hA==" } }, "is_incremental": false, @@ -1747,17 +1771,17 @@ "total_file_count": 10, "skipped_file_count": 0 }, - "ResourceDocumentProcessor": { + "ManagedReferenceDocumentProcessor": { "can_incremental": false, - "details": "Processor ResourceDocumentProcessor cannot support incremental build because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.", "incrementalPhase": "build", - "total_file_count": 0, + "total_file_count": 125, "skipped_file_count": 0 }, - "ManagedReferenceDocumentProcessor": { + "ResourceDocumentProcessor": { "can_incremental": false, + "details": "Processor ResourceDocumentProcessor cannot support incremental build because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.", "incrementalPhase": "build", - "total_file_count": 123, + "total_file_count": 0, "skipped_file_count": 0 } } diff --git a/other_api/config/schema.html b/other_api/config/schema.html index cfcef6d1..f6dc059a 100644 --- a/other_api/config/schema.html +++ b/other_api/config/schema.html @@ -177,7 +177,7 @@ diff --git a/other_api/index.html b/other_api/index.html index 34275bb5..9261094a 100644 --- a/other_api/index.html +++ b/other_api/index.html @@ -87,7 +87,7 @@ diff --git a/xrefmap.yml b/xrefmap.yml index 74d61ab3..e2461936 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -3138,6 +3138,12 @@ references: commentId: M:IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata) fullName: IPA.Loader.CannotRuntimeDisableException.CannotRuntimeDisableException(IPA.Loader.PluginMetadata) nameWithType: CannotRuntimeDisableException.CannotRuntimeDisableException(PluginMetadata) +- uid: IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata,System.String) + name: CannotRuntimeDisableException(PluginMetadata, String) + href: api/IPA.Loader.CannotRuntimeDisableException.html#IPA_Loader_CannotRuntimeDisableException__ctor_IPA_Loader_PluginMetadata_System_String_ + commentId: M:IPA.Loader.CannotRuntimeDisableException.#ctor(IPA.Loader.PluginMetadata,System.String) + fullName: IPA.Loader.CannotRuntimeDisableException.CannotRuntimeDisableException(IPA.Loader.PluginMetadata, System.String) + nameWithType: CannotRuntimeDisableException.CannotRuntimeDisableException(PluginMetadata, String) - uid: IPA.Loader.CannotRuntimeDisableException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) name: CannotRuntimeDisableException(SerializationInfo, StreamingContext) href: api/IPA.Loader.CannotRuntimeDisableException.html#IPA_Loader_CannotRuntimeDisableException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_ @@ -3289,6 +3295,135 @@ references: isSpec: "True" fullName: IPA.Loader.Features.Feature.StoreOnPlugin nameWithType: Feature.StoreOnPlugin +- uid: IPA.Loader.IgnoreReason + name: IgnoreReason + href: api/IPA.Loader.IgnoreReason.html + commentId: T:IPA.Loader.IgnoreReason + fullName: IPA.Loader.IgnoreReason + nameWithType: IgnoreReason +- uid: IPA.Loader.IgnoreReason.#ctor(IPA.Loader.Reason,System.String,System.Exception,IPA.Loader.PluginMetadata) + name: IgnoreReason(Reason, String, Exception, PluginMetadata) + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason__ctor_IPA_Loader_Reason_System_String_System_Exception_IPA_Loader_PluginMetadata_ + commentId: M:IPA.Loader.IgnoreReason.#ctor(IPA.Loader.Reason,System.String,System.Exception,IPA.Loader.PluginMetadata) + fullName: IPA.Loader.IgnoreReason.IgnoreReason(IPA.Loader.Reason, System.String, System.Exception, IPA.Loader.PluginMetadata) + nameWithType: IgnoreReason.IgnoreReason(Reason, String, Exception, PluginMetadata) +- uid: IPA.Loader.IgnoreReason.#ctor* + name: IgnoreReason + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason__ctor_ + commentId: Overload:IPA.Loader.IgnoreReason.#ctor + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.IgnoreReason + nameWithType: IgnoreReason.IgnoreReason +- uid: IPA.Loader.IgnoreReason.Equals(IPA.Loader.IgnoreReason) + name: Equals(IgnoreReason) + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Equals_IPA_Loader_IgnoreReason_ + commentId: M:IPA.Loader.IgnoreReason.Equals(IPA.Loader.IgnoreReason) + fullName: IPA.Loader.IgnoreReason.Equals(IPA.Loader.IgnoreReason) + nameWithType: IgnoreReason.Equals(IgnoreReason) +- uid: IPA.Loader.IgnoreReason.Equals(System.Object) + name: Equals(Object) + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Equals_System_Object_ + commentId: M:IPA.Loader.IgnoreReason.Equals(System.Object) + fullName: IPA.Loader.IgnoreReason.Equals(System.Object) + nameWithType: IgnoreReason.Equals(Object) +- uid: IPA.Loader.IgnoreReason.Equals* + name: Equals + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Equals_ + commentId: Overload:IPA.Loader.IgnoreReason.Equals + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.Equals + nameWithType: IgnoreReason.Equals +- uid: IPA.Loader.IgnoreReason.Error + name: Error + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Error + commentId: P:IPA.Loader.IgnoreReason.Error + fullName: IPA.Loader.IgnoreReason.Error + nameWithType: IgnoreReason.Error +- uid: IPA.Loader.IgnoreReason.Error* + name: Error + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Error_ + commentId: Overload:IPA.Loader.IgnoreReason.Error + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.Error + nameWithType: IgnoreReason.Error +- uid: IPA.Loader.IgnoreReason.GetHashCode + name: GetHashCode() + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_GetHashCode + commentId: M:IPA.Loader.IgnoreReason.GetHashCode + fullName: IPA.Loader.IgnoreReason.GetHashCode() + nameWithType: IgnoreReason.GetHashCode() +- uid: IPA.Loader.IgnoreReason.GetHashCode* + name: GetHashCode + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_GetHashCode_ + commentId: Overload:IPA.Loader.IgnoreReason.GetHashCode + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.GetHashCode + nameWithType: IgnoreReason.GetHashCode +- uid: IPA.Loader.IgnoreReason.op_Equality(IPA.Loader.IgnoreReason,IPA.Loader.IgnoreReason) + name: Equality(IgnoreReason, IgnoreReason) + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_op_Equality_IPA_Loader_IgnoreReason_IPA_Loader_IgnoreReason_ + commentId: M:IPA.Loader.IgnoreReason.op_Equality(IPA.Loader.IgnoreReason,IPA.Loader.IgnoreReason) + fullName: IPA.Loader.IgnoreReason.Equality(IPA.Loader.IgnoreReason, IPA.Loader.IgnoreReason) + nameWithType: IgnoreReason.Equality(IgnoreReason, IgnoreReason) +- uid: IPA.Loader.IgnoreReason.op_Equality* + name: Equality + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_op_Equality_ + commentId: Overload:IPA.Loader.IgnoreReason.op_Equality + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.Equality + nameWithType: IgnoreReason.Equality +- uid: IPA.Loader.IgnoreReason.op_Inequality(IPA.Loader.IgnoreReason,IPA.Loader.IgnoreReason) + name: Inequality(IgnoreReason, IgnoreReason) + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_op_Inequality_IPA_Loader_IgnoreReason_IPA_Loader_IgnoreReason_ + commentId: M:IPA.Loader.IgnoreReason.op_Inequality(IPA.Loader.IgnoreReason,IPA.Loader.IgnoreReason) + fullName: IPA.Loader.IgnoreReason.Inequality(IPA.Loader.IgnoreReason, IPA.Loader.IgnoreReason) + nameWithType: IgnoreReason.Inequality(IgnoreReason, IgnoreReason) +- uid: IPA.Loader.IgnoreReason.op_Inequality* + name: Inequality + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_op_Inequality_ + commentId: Overload:IPA.Loader.IgnoreReason.op_Inequality + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.Inequality + nameWithType: IgnoreReason.Inequality +- uid: IPA.Loader.IgnoreReason.Reason + name: Reason + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Reason + commentId: P:IPA.Loader.IgnoreReason.Reason + fullName: IPA.Loader.IgnoreReason.Reason + nameWithType: IgnoreReason.Reason +- uid: IPA.Loader.IgnoreReason.Reason* + name: Reason + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_Reason_ + commentId: Overload:IPA.Loader.IgnoreReason.Reason + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.Reason + nameWithType: IgnoreReason.Reason +- uid: IPA.Loader.IgnoreReason.ReasonText + name: ReasonText + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_ReasonText + commentId: P:IPA.Loader.IgnoreReason.ReasonText + fullName: IPA.Loader.IgnoreReason.ReasonText + nameWithType: IgnoreReason.ReasonText +- uid: IPA.Loader.IgnoreReason.ReasonText* + name: ReasonText + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_ReasonText_ + commentId: Overload:IPA.Loader.IgnoreReason.ReasonText + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.ReasonText + nameWithType: IgnoreReason.ReasonText +- uid: IPA.Loader.IgnoreReason.RelatedTo + name: RelatedTo + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_RelatedTo + commentId: P:IPA.Loader.IgnoreReason.RelatedTo + fullName: IPA.Loader.IgnoreReason.RelatedTo + nameWithType: IgnoreReason.RelatedTo +- uid: IPA.Loader.IgnoreReason.RelatedTo* + name: RelatedTo + href: api/IPA.Loader.IgnoreReason.html#IPA_Loader_IgnoreReason_RelatedTo_ + commentId: Overload:IPA.Loader.IgnoreReason.RelatedTo + isSpec: "True" + fullName: IPA.Loader.IgnoreReason.RelatedTo + nameWithType: IgnoreReason.RelatedTo - uid: IPA.Loader.PluginInitInjector name: PluginInitInjector href: api/IPA.Loader.PluginInitInjector.html @@ -3346,6 +3481,19 @@ references: isSpec: "True" fullName: IPA.Loader.PluginManager.DisabledPlugins nameWithType: PluginManager.DisabledPlugins +- uid: IPA.Loader.PluginManager.EnabledPlugins + name: EnabledPlugins + href: api/IPA.Loader.PluginManager.html#IPA_Loader_PluginManager_EnabledPlugins + commentId: P:IPA.Loader.PluginManager.EnabledPlugins + fullName: IPA.Loader.PluginManager.EnabledPlugins + nameWithType: PluginManager.EnabledPlugins +- uid: IPA.Loader.PluginManager.EnabledPlugins* + name: EnabledPlugins + href: api/IPA.Loader.PluginManager.html#IPA_Loader_PluginManager_EnabledPlugins_ + commentId: Overload:IPA.Loader.PluginManager.EnabledPlugins + isSpec: "True" + fullName: IPA.Loader.PluginManager.EnabledPlugins + nameWithType: PluginManager.EnabledPlugins - uid: IPA.Loader.PluginManager.GetDisabledPlugin(System.String) name: GetDisabledPlugin(String) href: api/IPA.Loader.PluginManager.html#IPA_Loader_PluginManager_GetDisabledPlugin_System_String_ @@ -3623,12 +3771,79 @@ references: isSpec: "True" fullName: IPA.Loader.PluginMetadata.Version nameWithType: PluginMetadata.Version +- uid: IPA.Loader.Reason + name: Reason + href: api/IPA.Loader.Reason.html + commentId: T:IPA.Loader.Reason + fullName: IPA.Loader.Reason + nameWithType: Reason +- uid: IPA.Loader.Reason.Conflict + name: Conflict + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Conflict + commentId: F:IPA.Loader.Reason.Conflict + fullName: IPA.Loader.Reason.Conflict + nameWithType: Reason.Conflict +- uid: IPA.Loader.Reason.Dependency + name: Dependency + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Dependency + commentId: F:IPA.Loader.Reason.Dependency + fullName: IPA.Loader.Reason.Dependency + nameWithType: Reason.Dependency +- uid: IPA.Loader.Reason.Duplicate + name: Duplicate + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Duplicate + commentId: F:IPA.Loader.Reason.Duplicate + fullName: IPA.Loader.Reason.Duplicate + nameWithType: Reason.Duplicate +- uid: IPA.Loader.Reason.Error + name: Error + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Error + commentId: F:IPA.Loader.Reason.Error + fullName: IPA.Loader.Reason.Error + nameWithType: Reason.Error +- uid: IPA.Loader.Reason.Feature + name: Feature + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Feature + commentId: F:IPA.Loader.Reason.Feature + fullName: IPA.Loader.Reason.Feature + nameWithType: Reason.Feature +- uid: IPA.Loader.Reason.MissingFiles + name: MissingFiles + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_MissingFiles + commentId: F:IPA.Loader.Reason.MissingFiles + fullName: IPA.Loader.Reason.MissingFiles + nameWithType: Reason.MissingFiles +- uid: IPA.Loader.Reason.Released + name: Released + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Released + commentId: F:IPA.Loader.Reason.Released + fullName: IPA.Loader.Reason.Released + nameWithType: Reason.Released +- uid: IPA.Loader.Reason.Unsupported + name: Unsupported + href: api/IPA.Loader.Reason.html#IPA_Loader_Reason_Unsupported + commentId: F:IPA.Loader.Reason.Unsupported + fullName: IPA.Loader.Reason.Unsupported + nameWithType: Reason.Unsupported - uid: IPA.Loader.StateTransitionTransaction name: StateTransitionTransaction href: api/IPA.Loader.StateTransitionTransaction.html commentId: T:IPA.Loader.StateTransitionTransaction fullName: IPA.Loader.StateTransitionTransaction nameWithType: StateTransitionTransaction +- uid: IPA.Loader.StateTransitionTransaction.Clone + name: Clone() + href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_Clone + commentId: M:IPA.Loader.StateTransitionTransaction.Clone + fullName: IPA.Loader.StateTransitionTransaction.Clone() + nameWithType: StateTransitionTransaction.Clone() +- uid: IPA.Loader.StateTransitionTransaction.Clone* + name: Clone + href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_Clone_ + commentId: Overload:IPA.Loader.StateTransitionTransaction.Clone + isSpec: "True" + fullName: IPA.Loader.StateTransitionTransaction.Clone + nameWithType: StateTransitionTransaction.Clone - uid: IPA.Loader.StateTransitionTransaction.Commit name: Commit() href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_Commit @@ -3725,6 +3940,19 @@ references: isSpec: "True" fullName: IPA.Loader.StateTransitionTransaction.EnabledPlugins nameWithType: StateTransitionTransaction.EnabledPlugins +- uid: IPA.Loader.StateTransitionTransaction.HasStateChanged + name: HasStateChanged + href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_HasStateChanged + commentId: P:IPA.Loader.StateTransitionTransaction.HasStateChanged + fullName: IPA.Loader.StateTransitionTransaction.HasStateChanged + nameWithType: StateTransitionTransaction.HasStateChanged +- uid: IPA.Loader.StateTransitionTransaction.HasStateChanged* + name: HasStateChanged + href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_HasStateChanged_ + commentId: Overload:IPA.Loader.StateTransitionTransaction.HasStateChanged + isSpec: "True" + fullName: IPA.Loader.StateTransitionTransaction.HasStateChanged + nameWithType: StateTransitionTransaction.HasStateChanged - uid: IPA.Loader.StateTransitionTransaction.IsDisabled(IPA.Loader.PluginMetadata) name: IsDisabled(PluginMetadata) href: api/IPA.Loader.StateTransitionTransaction.html#IPA_Loader_StateTransitionTransaction_IsDisabled_IPA_Loader_PluginMetadata_