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

Public Member Functions

 DisplayModule (Rectangle location, OS operatingSystem)
 
override void Draw (float t)
 
void forceLogin (string username, string pass)
 
Texture2D GetComputerImage (Computer comp)
 
override void LoadContent ()
 
void typeChanged ()
 
override void Update (float t)
 
- Public Member Functions inherited from Hacknet.CoreModule
override void PostDrawStep ()
 
override void PreDrawStep ()
 
- Public Member Functions inherited from Hacknet.Module
 Module (Rectangle location, OS operatingSystem)
 
void drawFrame ()
 

Static Public Member Functions

static string cleanSplitForWidth (string s, int width)
 
static string splitForWidth (string s, int width)
 
static string splitForWidth (string s, int width, bool correct)
 

Public Attributes

Texture2D lockSprite
 
int y
 
int x
 
string LastDisplayedFileSourceIP = null
 
Folder LastDisplayedFileFolder = null
 
string [] commandArgs
 
Texture2D openLockSprite
 
string command = ""
 
- Public Attributes inherited from Hacknet.CoreModule
bool inputLocked = false
 
- Public Attributes inherited from Hacknet.Module
Rectangle bounds
 
SpriteBatch spriteBatch
 
OS os
 
string name = "Unknown"
 
bool visible = true
 

Additional Inherited Members

- Static Public Attributes inherited from Hacknet.Module
static int PANEL_HEIGHT = 15
 
- Properties inherited from Hacknet.Module
Rectangle Bounds [get, set]
 

Constructor & Destructor Documentation

◆ DisplayModule()

Hacknet.DisplayModule.DisplayModule ( Rectangle  location,
OS  operatingSystem 
)

Member Function Documentation

◆ cleanSplitForWidth()

static string Hacknet.DisplayModule.cleanSplitForWidth ( string  s,
int  width 
)
static

◆ Draw()

override void Hacknet.DisplayModule.Draw ( float  t)
virtual

Reimplemented from Hacknet.Module.

◆ forceLogin()

void Hacknet.DisplayModule.forceLogin ( string  username,
string  pass 
)

◆ GetComputerImage()

Texture2D Hacknet.DisplayModule.GetComputerImage ( Computer  comp)

◆ LoadContent()

override void Hacknet.DisplayModule.LoadContent ( )
virtual

Reimplemented from Hacknet.CoreModule.

◆ splitForWidth() [1/2]

static string Hacknet.DisplayModule.splitForWidth ( string  s,
int  width 
)
static

◆ splitForWidth() [2/2]

static string Hacknet.DisplayModule.splitForWidth ( string  s,
int  width,
bool  correct 
)
static

◆ typeChanged()

void Hacknet.DisplayModule.typeChanged ( )

◆ Update()

override void Hacknet.DisplayModule.Update ( float  t)
virtual

Reimplemented from Hacknet.Module.

Member Data Documentation

◆ command

string Hacknet.DisplayModule.command = ""

◆ commandArgs

string [] Hacknet.DisplayModule.commandArgs

◆ LastDisplayedFileFolder

Folder Hacknet.DisplayModule.LastDisplayedFileFolder = null

◆ LastDisplayedFileSourceIP

string Hacknet.DisplayModule.LastDisplayedFileSourceIP = null

◆ lockSprite

Texture2D Hacknet.DisplayModule.lockSprite

◆ openLockSprite

Texture2D Hacknet.DisplayModule.openLockSprite

◆ x

int Hacknet.DisplayModule.x

◆ y

int Hacknet.DisplayModule.y

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