Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.Daemon.Instance Class Reference
+ Inheritance diagram for Pathfinder.Daemon.Instance:

Public Member Functions

object GetInstanceData (string key)
 
GetInstanceData< T > (string key)
 
bool IsInstanceSaveable (string key)
 
bool SetInstanceData (string key, object val, bool shouldSave=false)
 
void SetInstanceDataSaveable (string key, bool shouldSave)
 
override void draw (Rectangle bounds, SpriteBatch sb)
 
override string getSaveString ()
 
override void initFiles ()
 
override void loadInit ()
 
override void navigatedTo ()
 
override void userAdded (string name, string pass, byte type)
 
- Public Member Functions inherited from Hacknet.Daemon
 Daemon (Computer computer, string serviceName, OS opSystem)
 
void registerAsDefaultBootDaemon ()
 

Static Public Member Functions

static Instance CreateInstance (string id, Hacknet.Computer computer, Dictionary< string, string > objects)
 
- Static Public Member Functions inherited from Hacknet.Daemon
static bool validUser (byte type)
 

Properties

IInterface Interface [get]
 
string InterfaceId [get]
 
object this[string key] [get, set]
 

Additional Inherited Members

- Public Attributes inherited from Hacknet.Daemon
string name
 
bool isListed
 
Computer comp
 
OS os
 

Member Function Documentation

◆ CreateInstance()

static Instance Pathfinder.Daemon.Instance.CreateInstance ( string  id,
Hacknet.Computer  computer,
Dictionary< string, string >  objects 
)
static

◆ draw()

override void Pathfinder.Daemon.Instance.draw ( Rectangle  bounds,
SpriteBatch  sb 
)
virtual

Reimplemented from Hacknet.Daemon.

◆ GetInstanceData()

object Pathfinder.Daemon.Instance.GetInstanceData ( string  key)

◆ GetInstanceData< T >()

◆ getSaveString()

override string Pathfinder.Daemon.Instance.getSaveString ( )
virtual

Reimplemented from Hacknet.Daemon.

◆ initFiles()

override void Pathfinder.Daemon.Instance.initFiles ( )
virtual

Reimplemented from Hacknet.Daemon.

◆ IsInstanceSaveable()

bool Pathfinder.Daemon.Instance.IsInstanceSaveable ( string  key)

◆ loadInit()

override void Pathfinder.Daemon.Instance.loadInit ( )
virtual

Reimplemented from Hacknet.Daemon.

◆ navigatedTo()

override void Pathfinder.Daemon.Instance.navigatedTo ( )
virtual

Reimplemented from Hacknet.Daemon.

◆ SetInstanceData()

bool Pathfinder.Daemon.Instance.SetInstanceData ( string  key,
object  val,
bool  shouldSave = false 
)

◆ SetInstanceDataSaveable()

void Pathfinder.Daemon.Instance.SetInstanceDataSaveable ( string  key,
bool  shouldSave 
)

◆ userAdded()

override void Pathfinder.Daemon.Instance.userAdded ( string  name,
string  pass,
byte  type 
)
virtual

Reimplemented from Hacknet.Daemon.

Property Documentation

◆ Interface

IInterface Pathfinder.Daemon.Instance.Interface
get

◆ InterfaceId

string Pathfinder.Daemon.Instance.InterfaceId
get

◆ this[string key]

object Pathfinder.Daemon.Instance.this[string key]
getset

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