Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.Command.Help Class Reference

Static Public Member Functions

static string GenerateString (KeyValuePair< string, string > pair)
 
static string GetStringFor (string cmd)
 Gets the help string for a command. More...
 
static string GetPageString (int page=0)
 Gets the help string for a page. More...
 

Static Public Attributes

static int PageCount => HelpCount / Helpfile.ITEMS_PER_PAGE + 1
 Gets the help page count. More...
 
static int HelpCount => Helpfile.help.Count + help.Count
 

Member Function Documentation

◆ GenerateString()

static string Pathfinder.Command.Help.GenerateString ( KeyValuePair< string, string >  pair)
static

◆ GetPageString()

static string Pathfinder.Command.Help.GetPageString ( int  page = 0)
static
Returns
The string for a page.
Parameters
pageThe page to get the string for.

◆ GetStringFor()

static string Pathfinder.Command.Help.GetStringFor ( string  cmd)
static
Returns
The resulting help string or null if it doesn't exist.
Parameters
cmdThe Command key.

Member Data Documentation

◆ HelpCount

int Pathfinder.Command.Help.HelpCount => Helpfile.help.Count + help.Count
static

◆ PageCount

int Pathfinder.Command.Help.PageCount => HelpCount / Helpfile.ITEMS_PER_PAGE + 1
static

The help page count.


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