Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.Extension.Info Class Referenceabstract

Public Member Functions

abstract void OnConstruct (Hacknet.OS os)
 Executes on extension construction. More...
 
virtual void OnLoad (Hacknet.OS os, Stream loadingStream)
 Executes on extension loading. More...
 
virtual void OnUnload (Hacknet.OS os)
 

Public Attributes

bool IsActive => this == Handler.ActiveInfo
 Gets a value indicating whether this T:Pathfinder.Extension.Info is active. More...
 

Properties

string Id [get, set]
 Gets the extension identifier. More...
 
abstract string Name [get]
 Gets the extension's name. More...
 
abstract string Description [get]
 Gets the extension's description. More...
 
abstract string LogoPath [get]
 Gets the extension's logo path. (if it does not exist or is null, chooses the default logo) More...
 
abstract bool AllowSaves [get]
 Gets a value indicating whether this T:Pathfinder.Extension.Info allows saves. More...
 

Member Function Documentation

◆ OnConstruct()

abstract void Pathfinder.Extension.Info.OnConstruct ( Hacknet.OS  os)
pure virtual
Parameters
osThe Os.

◆ OnLoad()

virtual void Pathfinder.Extension.Info.OnLoad ( Hacknet.OS  os,
Stream  loadingStream 
)
virtual
Parameters
osThe Os.
loadingStreamThe Loading stream.

◆ OnUnload()

virtual void Pathfinder.Extension.Info.OnUnload ( Hacknet.OS  os)
virtual

Member Data Documentation

◆ IsActive

bool Pathfinder.Extension.Info.IsActive => this == Handler.ActiveInfo

true if is active; otherwise, false.

Property Documentation

◆ AllowSaves

abstract bool Pathfinder.Extension.Info.AllowSaves
get

true if allows saves; otherwise, false.

◆ Description

abstract string Pathfinder.Extension.Info.Description
get

The description.

◆ Id

string Pathfinder.Extension.Info.Id
getset

The identifier.

◆ LogoPath

abstract string Pathfinder.Extension.Info.LogoPath
get

The logo path.

◆ Name

abstract string Pathfinder.Extension.Info.Name
get

The name.


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