Documentation
¶
Index ¶
- type Action
- type AddAsset
- type AddConditionalActions
- type AddIRCMessage
- type AddMissionToHubServer
- type AddThreadToMissionBoard
- type AlertIconType
- type AppendToFile
- type CancelScreenBleedEffect
- type ChangeAlertIcon
- type ChangeIP
- type ChangeNetmapSortMethod
- type CopyAsset
- type CrashComputer
- type DelayableAction
- type DeleteFile
- type GivePlayerUserAccount
- type HideAllNodes
- type HideNode
- type IAction
- type KillExe
- type LaunchHackScript
- type LoadMission
- type NetmapSortMethod
- type RemoveMissionFromHubServer
- type RunFunction
- type SaveGame
- type SetLock
- type ShowNode
- type StartScreenBleedEffect
- type SwitchToTheme
- type TargetableAction
- type TerminalModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAsset ¶
type AddConditionalActions ¶
type AddConditionalActions struct {
*DelayableAction
Path string `xml:"FilePath,attr"`
}
func (AddConditionalActions) TagName ¶
func (a AddConditionalActions) TagName() string
type AddIRCMessage ¶
type AddIRCMessage struct {
*DelayableAction
*TargetableAction
Author string `xml:"Author,attr"`
// TODO: un/marshal attachments
Content string `xml:",chardata"`
}
func (AddIRCMessage) TagName ¶
func (irc AddIRCMessage) TagName() string
type AddMissionToHubServer ¶
type AddMissionToHubServer struct {
*TargetableAction
Path string `xml:"MissionFilepath,attr"`
Assignment *string `xml:"AssignmentTag,attr,omitempty"`
}
func (AddMissionToHubServer) TagName ¶
func (am AddMissionToHubServer) TagName() string
type AddThreadToMissionBoard ¶
type AddThreadToMissionBoard struct {
*TargetableAction
Path string `xml:"ThreadFilepath,attr"`
}
func (AddThreadToMissionBoard) TagName ¶
func (ad AddThreadToMissionBoard) TagName() string
type AlertIconType ¶
type AlertIconType string
const ( Mail AlertIconType = "mail" IRC AlertIconType = "irc" )
type AppendToFile ¶
type AppendToFile struct {
*DelayableAction
*TargetableAction
TargetDir string `xml:"TargetFolderpath,attr"`
TargetName string `xml:"TargetFilename,attr"`
Content string `xml:",chardata"`
}
func (AppendToFile) TagName ¶
func (a AppendToFile) TagName() string
type CancelScreenBleedEffect ¶
type CancelScreenBleedEffect struct {
*DelayableAction
}
func (CancelScreenBleedEffect) TagName ¶
func (a CancelScreenBleedEffect) TagName() string
type ChangeAlertIcon ¶
type ChangeAlertIcon struct {
*DelayableAction
Target string `xml:"Target,attr"`
Type AlertIconType `xml:"Type,attr"`
}
func (ChangeAlertIcon) TagName ¶
func (a ChangeAlertIcon) TagName() string
type ChangeIP ¶
type ChangeIP struct {
*DelayableAction
*TargetableAction
NewIP string `xml:"NewIP,attr"`
}
type ChangeNetmapSortMethod ¶
type ChangeNetmapSortMethod struct {
*DelayableAction
Method NetmapSortMethod `xml:"Method,attr"`
}
type CopyAsset ¶
type CrashComputer ¶
type CrashComputer struct {
*DelayableAction
*TargetableAction
Source string `xml:"CrashSource,attr"`
}
func (CrashComputer) TagName ¶
func (c CrashComputer) TagName() string
type DelayableAction ¶
type DeleteFile ¶
type DeleteFile struct {
*DelayableAction
*TargetableAction
FilePath string `xml:"FilePath,attr"`
FileName string `xml:"FileName,attr"`
}
func (DeleteFile) TagName ¶
func (a DeleteFile) TagName() string
type GivePlayerUserAccount ¶
type GivePlayerUserAccount struct {
*DelayableAction
*TargetableAction
Username string `xml:"Username,attr"`
}
func (GivePlayerUserAccount) TagName ¶
func (a GivePlayerUserAccount) TagName() string
type HideAllNodes ¶
type HideAllNodes struct {
*DelayableAction
}
func (HideAllNodes) TagName ¶
func (a HideAllNodes) TagName() string
type HideNode ¶
type HideNode struct {
*DelayableAction
*TargetableAction
}
type KillExe ¶
type KillExe struct {
*DelayableAction
Name string `xml:"ExeName,attr"`
}
type LaunchHackScript ¶
type LaunchHackScript struct {
*DelayableAction
*TargetableAction
Script string `xml:"Filepath,attr"`
Source string `xml:"SourceComp,attr"`
RequireLogs bool `xml:"RequireLogsOnSource,attr"`
SourceIntact bool `xml:"RequireSourceIntact,attr"`
}
func (LaunchHackScript) TagName ¶
func (a LaunchHackScript) TagName() string
type LoadMission ¶
type LoadMission struct {
Path string `xml:"MissionName,attr"`
}
func (LoadMission) TagName ¶
func (a LoadMission) TagName() string
type NetmapSortMethod ¶
type NetmapSortMethod string
const ( Scatter NetmapSortMethod = "scatter" Grid NetmapSortMethod = "grid" SequenceGrid NetmapSortMethod = "seqgrid" Chaos NetmapSortMethod = "CHAOS" )
type RemoveMissionFromHubServer ¶
type RemoveMissionFromHubServer struct {
*TargetableAction
Path string `xml:"MissionFilepath,attr"`
}
func (RemoveMissionFromHubServer) TagName ¶
func (rm RemoveMissionFromHubServer) TagName() string
type RunFunction ¶
type RunFunction struct {
Name string `xml:"FunctionName,attr"`
Value string `xml:"FunctionValue,attr"`
}
func (RunFunction) TagName ¶
func (rf RunFunction) TagName() string
type SaveGame ¶
type SaveGame struct {
*DelayableAction
}
type SetLock ¶
type SetLock struct {
*DelayableAction
Module TerminalModule `xml:"Module,attr"`
Locked bool `xml:"IsLocked,attr"`
Hidden bool `xml:"IsHidden,attr"`
}
type StartScreenBleedEffect ¶
type StartScreenBleedEffect struct {
*DelayableAction
AlertTitle string `xml:"AlertTitle,attr"`
CompleteAction string `xml:"CompleteAction,attr"`
Duration float64 `xml:"TotalDurationSeconds,attr"`
}
func (StartScreenBleedEffect) TagName ¶
func (a StartScreenBleedEffect) TagName() string
type SwitchToTheme ¶
type SwitchToTheme struct {
*DelayableAction
ThemePath string `xml:"ThemePath,attr"`
FlickerDuration float64 `xml:"FlickerInDuration,attr"`
}
func (SwitchToTheme) TagName ¶
func (a SwitchToTheme) TagName() string
type TargetableAction ¶
type TargetableAction struct {
Target string `xml:"TargetComp,attr"`
}
type TerminalModule ¶
type TerminalModule string
const ( Terminal TerminalModule = "terminal" Ram TerminalModule = "ram" Netmap TerminalModule = "netmap" Display TerminalModule = "display" )
Click to show internal directories.
Click to hide internal directories.