This serves as the central class which loads mods. It contains many static fields and methods related to mods and their contents.
More...
|
static Mod | GetMod (string name) |
| Gets the instance of the Mod with the specified name. This will throw an exception if the mod cannot be found. More...
|
|
static bool | HasMod (string name) |
| Safely checks whether or not a mod with the specified internal name is currently loaded. More...
|
|
static bool | IsSignedBy (TmodFile mod, string xmlPublicKey) |
|
static bool | TryGetMod (string name, out Mod result) |
| Safely attempts to get the instance of the Mod with the specified name. More...
|
|
|
static bool | BetaUpgradeWelcomed144 |
|
static bool | DownloadedDependenciesOnStartup |
|
static string | LastLaunchedTModLoaderAlphaSha |
|
static Version | LastLaunchedTModLoaderVersion |
|
static Version | LastPreviewFreezeNotificationSeen |
|
static int | LatestNewsTimestamp |
|
static bool | PreviewFreezeNotification |
|
static bool | SeenFirstLaunchModderWelcomeMessage |
|
static bool | ShowFirstLaunchWelcomeMessage |
|
static bool | ShowWhatsNew |
|
static bool | WarnedFamilyShare |
|
|
static string | CompressedPlatformRepresentation [get] |
|
static string | ModPath [get] |
|
static Mod[] | Mods = new Mod[0] [get] |
|
static string | versionedName [get] |
|
This serves as the central class which loads mods. It contains many static fields and methods related to mods and their contents.
◆ GetMod()
static Mod ModLoader.GetMod |
( |
string |
name | ) |
|
|
static |
Gets the instance of the Mod with the specified name. This will throw an exception if the mod cannot be found.
- Exceptions
-
◆ HasMod()
static bool ModLoader.HasMod |
( |
string |
name | ) |
|
|
static |
Safely checks whether or not a mod with the specified internal name is currently loaded.
- Returns
- Whether or not a mod with the provided internal name has been found.
◆ TryGetMod()
static bool ModLoader.TryGetMod |
( |
string |
name, |
|
|
out Mod |
result |
|
) |
| |
|
static |
Safely attempts to get the instance of the Mod with the specified name.
- Returns
- Whether or not the requested instance has been found.