Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.Pathfinder Class Reference

Static Public Member Functions

static bool IsModLoaded (string id)
 Determines whether a mod is loaded More...
 
static bool IsModIdentifierValid (string id, bool shouldThrowReason=false)
 Determines whether a mod identifier is valid More...
 

Static Public Attributes

static string ModFolderPath => Manager.ModFolderPath
 
static string DepFolderPath => Manager.DepFolderPath
 
static IMod CurrentMod => Manager.CurrentMod
 
static List< string > LoadedModIdentifiers => Manager.LoadedModIds
 Gets the loaded mod identifiers. More...
 
static List< string > UnloadedModIdentifiers => Manager.UnloadedModIds.ToList()
 Gets the unloaded mod identifiers. More...
 

Member Function Documentation

◆ IsModIdentifierValid()

static bool Pathfinder.Pathfinder.IsModIdentifierValid ( string  id,
bool  shouldThrowReason = false 
)
static
Returns
true, if mod identifier is valid, false otherwise.
Parameters
idThe Mod Identifier.
shouldThrowReasonIf set to true then this method will throw.

◆ IsModLoaded()

static bool Pathfinder.Pathfinder.IsModLoaded ( string  id)
static
Returns
true, if mod is loaded, false otherwise.
Parameters
idMod Identifier.

Member Data Documentation

◆ CurrentMod

IMod Pathfinder.Pathfinder.CurrentMod => Manager.CurrentMod
static

◆ DepFolderPath

string Pathfinder.Pathfinder.DepFolderPath => Manager.DepFolderPath
static

◆ LoadedModIdentifiers

List<string> Pathfinder.Pathfinder.LoadedModIdentifiers => Manager.LoadedModIds
static

The loaded mod identifiers.

◆ ModFolderPath

string Pathfinder.Pathfinder.ModFolderPath => Manager.ModFolderPath
static

◆ UnloadedModIdentifiers

List<string> Pathfinder.Pathfinder.UnloadedModIdentifiers => Manager.UnloadedModIds.ToList()
static

The mod identifiers.


The documentation for this class was generated from the following file: