Table of Contents

Class CompatLoader

Namespace
ConfigurableWarning.API.Compat
Assembly
RedstoneWizard08.ContentLibrary.dll

A loader for compat modules.

public static class CompatLoader
Inheritance
CompatLoader
Inherited Members

Fields

RegisteredGroups

A list of all registered compat groups.

public static readonly Dictionary<Type, CompatGroup> RegisteredGroups

Field Value

Dictionary<Type, CompatGroup>

RegisteredModules

A list of all registered compat modules.

public static readonly Dictionary<Type, ICompatModule> RegisteredModules

Field Value

Dictionary<Type, ICompatModule>

RegisteredTabs

A list of all registered compat tabs.

public static readonly Dictionary<Type, CompatTab> RegisteredTabs

Field Value

Dictionary<Type, CompatTab>

Methods

LoadModules()

Auto-loads all compat modules.

public static void LoadModules()

NamespaceExists(string)

Checks if a namespace exists.

public static bool NamespaceExists(string ns)

Parameters

ns string

The namespace.

Returns

bool

If it exists.

TryRegisterCompatGroup(string?, Type)

Try to register a compat group from a type.

public static bool TryRegisterCompatGroup(string? tab, Type type)

Parameters

tab string

The tab

type Type

The type

Returns

bool

If it could be registered

TryRegisterCompatTab(Type)

Try to register a compat tab from a type.

public static bool TryRegisterCompatTab(Type type)

Parameters

type Type

The type

Returns

bool

If it could be registered