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

Static Public Member Functions

static string RegisterExecutable (string id, IInterface inter)
 Adds an executable interface by id. More...
 
static bool IsFileDataForModExe (string fileData)
 Determines whether the file data is for a mod interface. More...
 
static string GetStandardFileDataBy (string id, bool requiresModId=false)
 Gets the standard file data by id. More...
 
static string GetStandardFileDataBy (IInterface inter)
 Gets the first standard file data by interface. More...
 

Member Function Documentation

◆ GetStandardFileDataBy() [1/2]

static string Pathfinder.Executable.Handler.GetStandardFileDataBy ( string  id,
bool  requiresModId = false 
)
static
Returns
The standard file data or null if it doesn't exist.
Parameters
idExecutable Identifier.
requiresModIdIf set to true id requires a prefixing mod identifier delimated by period.

◆ GetStandardFileDataBy() [2/2]

static string Pathfinder.Executable.Handler.GetStandardFileDataBy ( IInterface  inter)
static
Returns
The standard file data or null if it doesn't exist.
Parameters
interThe Executable Interface

◆ IsFileDataForModExe()

static bool Pathfinder.Executable.Handler.IsFileDataForModExe ( string  fileData)
static
Returns
true, if the file data is for a mod interface, false otherwise.
Parameters
fileDataFile data.

◆ RegisterExecutable()

static string Pathfinder.Executable.Handler.RegisterExecutable ( string  id,
IInterface  inter 
)
static
Returns
The full mod id if added to the game, null otherwise.
Parameters
idThe Executable Identifier to try and add.
interThe interface object.

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