![]() |
Pathfinder
v3.0
The definitive Hacknet programmable modding system
|
Public Member Functions | |
Computer (string compName, string compIP, Vector2 compLocation, int seclevel, byte compType) | |
Computer (string compName, string compIP, Vector2 compLocation, int seclevel) | |
Computer (string compName, string compIP, Vector2 compLocation, int seclevel, byte compType, OS opSystem) | |
void | addFirewall (int level) |
void | addFirewall (int level, string solution) |
void | addFirewall (int level, string solution, float additionalTime) |
void | addMultiplayerTargetFile () |
void | addNewUser (string ipFrom, string name, string pass, byte type) |
void | addNewUser (string ipFrom, UserDetail usr) |
void | addProxy (float time) |
void | bootupTick (float t) |
bool | canCopyFile (string ipFrom, string name) |
bool | canReadFile (string ipFrom, FileEntry f, int index) |
void | closeCDTray (string ipFrom) |
void | closePort (int portNum, string ipFrom) |
bool | connect (string ipFrom) |
void | crash (string ipFrom) |
bool | deleteFile (string ipFrom, string name, List< int > folderPath) |
void | disconnecting (string ipFrom, bool externalDisconnectToo=true) |
void | forkBombClients (string ipFrom) |
string | generateFileData (int seed) |
string | generateFileName (int seed) |
string | generateFolderName (int seed) |
FileSystem | generateRandomFileSystem () |
int | GetCodePortNumberFromDisplayPort (int displayPort) |
Daemon | getDaemon (Type t) |
int | GetDisplayPortNumberFromCodePort (int codePort) |
Folder | getFolderFromPath (string path, bool createFoldersThatDontExist=false) |
List< int > | getFolderPath (string path, bool createFoldersThatDontExist=false) |
string | getSaveString () |
Vector2 | getScreenSpacePosition () |
string | getTooltipString () |
void | giveAdmin (string ipFrom) |
void | hostileActionTaken () |
void | initDaemons () |
bool | isPortOpen (int portNum) |
void | log (string message) |
virtual int | login (string username, string password, byte type=1) |
bool | makeFile (string ipFrom, string name, string data, List< int > folderPath, bool isUpload=false) |
bool | makeFolder (string ipFrom, string name, List< int > folderPath) |
bool | moveFile (string ipFrom, string name, string newName, List< int > folderPath, List< int > destFolderPath) |
void | openCDTray (string ipFrom) |
void | openPort (int portNum, string ipFrom) |
void | openPortsForSecurityLevel (int security) |
bool | PlayerHasAdminPermissions () |
void | reboot (string ipFrom) |
void | sendNetworkMessage (string s) |
void | setAdminPassword (string newPass) |
override string | ToString () |
Static Public Member Functions | |
static string | generateBinaryString (int length) |
static string | generateBinaryString (int length, MSRandom rng) |
static Folder | getFolderAtDepth (Computer c, int depth, List< int > path) |
static Computer | load (XmlReader reader, OS os) |
static Computer | loadFromFile (string filename) |
Public Attributes | |
const byte | CORPORATE = 1 |
const byte | EMPTY = 4 |
const byte | SERVER = 3 |
const byte | HOME = 2 |
const byte | EOS = 5 |
float | proxyOverloadTicks = 0f |
float | highlightFlashTime = 0f |
byte | type |
string | adminPass |
List< Daemon > | daemons |
The active Daemons on Computer More... | |
bool | AllowsDefaultBootModule = true |
bool | hasProxy = false |
float | startingOverloadTicks = -1f |
Firewall | firewall = null |
The firewall for Computer. More... | |
ShellExe | reportingShell = null |
The reporting shell for Computer. More... | |
ExternalCounterpart | externalCounterpart = null |
string | attatchedDeviceIDs = null |
bool | firewallAnalysisInProgress = false |
bool | HasTracker = false |
Administrator | admin = null |
bool | proxyActive = false |
string | icon = null |
UserDetail | currentUser |
string | name |
string | idName |
string | ip |
Vector2 | location |
The NetworkMap location of the Computer. More... | |
FileSystem | files |
The FileSystem for Computer. More... | |
int | securityLevel |
float | traceTime |
int | portsNeededForCrack = 0 |
string | adminIP |
List< UserDetail > | users |
List< int > | links |
List< int > | ports |
The ports on Computer. More... | |
List< byte > | portsOpen |
The location on ports of the opened ports. More... | |
bool | silent = false |
bool | disabled = false |
MemoryContents | Memory |
bool | userLoggedIn = false |
Dictionary< int, int > | PortRemapping = null |
Static Public Attributes | |
static float | BASE_PROXY_TICKS = 30f |
static float | BASE_REBOOT_TIME = 10.5f |
static float | BASE_BOOT_TIME = Settings.isConventionDemo ? 15f : 25.5f |
static float | BASE_TRACE_TIME = 15f |
Hacknet.Computer.Computer | ( | string | compName, |
string | compIP, | ||
Vector2 | compLocation, | ||
int | seclevel, | ||
byte | compType | ||
) |
Hacknet.Computer.Computer | ( | string | compName, |
string | compIP, | ||
Vector2 | compLocation, | ||
int | seclevel | ||
) |
Hacknet.Computer.Computer | ( | string | compName, |
string | compIP, | ||
Vector2 | compLocation, | ||
int | seclevel, | ||
byte | compType, | ||
OS | opSystem | ||
) |
void Hacknet.Computer.addFirewall | ( | int | level | ) |
void Hacknet.Computer.addFirewall | ( | int | level, |
string | solution | ||
) |
void Hacknet.Computer.addFirewall | ( | int | level, |
string | solution, | ||
float | additionalTime | ||
) |
void Hacknet.Computer.addMultiplayerTargetFile | ( | ) |
void Hacknet.Computer.addNewUser | ( | string | ipFrom, |
string | name, | ||
string | pass, | ||
byte | type | ||
) |
void Hacknet.Computer.addNewUser | ( | string | ipFrom, |
UserDetail | usr | ||
) |
void Hacknet.Computer.addProxy | ( | float | time | ) |
void Hacknet.Computer.bootupTick | ( | float | t | ) |
bool Hacknet.Computer.canCopyFile | ( | string | ipFrom, |
string | name | ||
) |
bool Hacknet.Computer.canReadFile | ( | string | ipFrom, |
FileEntry | f, | ||
int | index | ||
) |
void Hacknet.Computer.closeCDTray | ( | string | ipFrom | ) |
void Hacknet.Computer.closePort | ( | int | portNum, |
string | ipFrom | ||
) |
bool Hacknet.Computer.connect | ( | string | ipFrom | ) |
void Hacknet.Computer.crash | ( | string | ipFrom | ) |
bool Hacknet.Computer.deleteFile | ( | string | ipFrom, |
string | name, | ||
List< int > | folderPath | ||
) |
void Hacknet.Computer.disconnecting | ( | string | ipFrom, |
bool | externalDisconnectToo = true |
||
) |
void Hacknet.Computer.forkBombClients | ( | string | ipFrom | ) |
|
static |
|
static |
string Hacknet.Computer.generateFileData | ( | int | seed | ) |
string Hacknet.Computer.generateFileName | ( | int | seed | ) |
string Hacknet.Computer.generateFolderName | ( | int | seed | ) |
FileSystem Hacknet.Computer.generateRandomFileSystem | ( | ) |
int Hacknet.Computer.GetCodePortNumberFromDisplayPort | ( | int | displayPort | ) |
Daemon Hacknet.Computer.getDaemon | ( | Type | t | ) |
int Hacknet.Computer.GetDisplayPortNumberFromCodePort | ( | int | codePort | ) |
Folder Hacknet.Computer.getFolderFromPath | ( | string | path, |
bool | createFoldersThatDontExist = false |
||
) |
List<int> Hacknet.Computer.getFolderPath | ( | string | path, |
bool | createFoldersThatDontExist = false |
||
) |
string Hacknet.Computer.getSaveString | ( | ) |
Vector2 Hacknet.Computer.getScreenSpacePosition | ( | ) |
string Hacknet.Computer.getTooltipString | ( | ) |
void Hacknet.Computer.giveAdmin | ( | string | ipFrom | ) |
void Hacknet.Computer.hostileActionTaken | ( | ) |
void Hacknet.Computer.initDaemons | ( | ) |
bool Hacknet.Computer.isPortOpen | ( | int | portNum | ) |
|
static |
void Hacknet.Computer.log | ( | string | message | ) |
|
virtual |
bool Hacknet.Computer.makeFile | ( | string | ipFrom, |
string | name, | ||
string | data, | ||
List< int > | folderPath, | ||
bool | isUpload = false |
||
) |
bool Hacknet.Computer.makeFolder | ( | string | ipFrom, |
string | name, | ||
List< int > | folderPath | ||
) |
bool Hacknet.Computer.moveFile | ( | string | ipFrom, |
string | name, | ||
string | newName, | ||
List< int > | folderPath, | ||
List< int > | destFolderPath | ||
) |
void Hacknet.Computer.openCDTray | ( | string | ipFrom | ) |
void Hacknet.Computer.openPort | ( | int | portNum, |
string | ipFrom | ||
) |
void Hacknet.Computer.openPortsForSecurityLevel | ( | int | security | ) |
bool Hacknet.Computer.PlayerHasAdminPermissions | ( | ) |
void Hacknet.Computer.reboot | ( | string | ipFrom | ) |
void Hacknet.Computer.sendNetworkMessage | ( | string | s | ) |
void Hacknet.Computer.setAdminPassword | ( | string | newPass | ) |
override string Hacknet.Computer.ToString | ( | ) |
Administrator Hacknet.Computer.admin = null |
string Hacknet.Computer.adminIP |
string Hacknet.Computer.adminPass |
bool Hacknet.Computer.AllowsDefaultBootModule = true |
string Hacknet.Computer.attatchedDeviceIDs = null |
|
static |
|
static |
|
static |
|
static |
const byte Hacknet.Computer.CORPORATE = 1 |
UserDetail Hacknet.Computer.currentUser |
List<Daemon> Hacknet.Computer.daemons |
bool Hacknet.Computer.disabled = false |
const byte Hacknet.Computer.EMPTY = 4 |
const byte Hacknet.Computer.EOS = 5 |
ExternalCounterpart Hacknet.Computer.externalCounterpart = null |
FileSystem Hacknet.Computer.files |
Firewall Hacknet.Computer.firewall = null |
bool Hacknet.Computer.firewallAnalysisInProgress = false |
bool Hacknet.Computer.hasProxy = false |
bool Hacknet.Computer.HasTracker = false |
float Hacknet.Computer.highlightFlashTime = 0f |
const byte Hacknet.Computer.HOME = 2 |
string Hacknet.Computer.icon = null |
string Hacknet.Computer.idName |
string Hacknet.Computer.ip |
List<int> Hacknet.Computer.links |
Vector2 Hacknet.Computer.location |
MemoryContents Hacknet.Computer.Memory |
string Hacknet.Computer.name |
Dictionary<int, int> Hacknet.Computer.PortRemapping = null |
List<int> Hacknet.Computer.ports |
int Hacknet.Computer.portsNeededForCrack = 0 |
List<byte> Hacknet.Computer.portsOpen |
bool Hacknet.Computer.proxyActive = false |
float Hacknet.Computer.proxyOverloadTicks = 0f |
ShellExe Hacknet.Computer.reportingShell = null |
int Hacknet.Computer.securityLevel |
const byte Hacknet.Computer.SERVER = 3 |
bool Hacknet.Computer.silent = false |
float Hacknet.Computer.startingOverloadTicks = -1f |
float Hacknet.Computer.traceTime |
byte Hacknet.Computer.type |
bool Hacknet.Computer.userLoggedIn = false |
List<UserDetail> Hacknet.Computer.users |