C# Class kOS.Module.kOSProcessor

Inheritance: PartModule
Afficher le fichier Open project: KSP-KOS/KOS Class Usage Examples

Méthodes publiques

Méthode Description
AllInstances ( ) : List

Return a list of all existing runtime instances of this PartModule. The list is guaranteed to be ordered by the Vessel that it's on. (i.e. all the instances of no vessel are first ,then all the module instances on vessel A, then all the instances on vessel B, and so on)

AssignNewId ( ) : int
CheckCanBoot ( ) : bool
CloseWindow ( ) : void
ExecuteInterProcCommand ( kOS.InterProcessor.InterProcCommand command ) : void
FixedUpdate ( ) : void
GetInfo ( ) : string
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
GetModuleCostChangeWhen ( ) : ModifierChangeWhen
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
GetModuleMassChangeWhen ( ) : ModifierChangeWhen
GetScreen ( ) : IScreenBuffer
GetWindow ( ) : Screen.TermWindow
InitObjects ( ) : void
OnAwake ( ) : void
OnFixedUpdate ( ) : void
OnInactive ( ) : void
OnLoad ( ConfigNode node ) : void
OnSave ( ConfigNode node ) : void
OnStart ( StartState state ) : void
OpenWindow ( ) : void
PartIsKosProc ( Part input, kOSProcessor &proc ) : bool
RegisterkOSExternalFunction ( object parameters ) : void
Send ( Structure content ) : void
SetAutopilotMode ( int mode ) : void
SetMode ( ProcessorModes newProcessorMode ) : void
TelnetIsAttached ( ) : bool
ToggleWindow ( ) : void
Update ( ) : void
UpdateParts ( ) : void
WindowIsOpen ( ) : bool
kOSProcessor ( ) : System

Private Methods

Méthode Description
Activate ( ) : void
Activate ( KSPActionParam param ) : void
BootDirectoryFiles ( ) : IEnumerable
Deactivate ( KSPActionParam param ) : void
InitProcessorTracking ( ) : void
InitUI ( ) : void
IsAlive ( ) : bool
OnDestroyingMyHardware ( Part p ) : void
ProcessElectricity ( Part partObj, float time ) : void
ProcessorModeChanged ( ) : void
Toggle ( KSPActionParam param ) : void
TogglePower ( ) : void
TogglePower ( KSPActionParam param ) : void
UpdateCostAndMass ( ) : void
UpdateFixedObservers ( ) : void
UpdateObservers ( ) : void
UpdateVessel ( ) : void

Method Details

AllInstances() public static méthode

Return a list of all existing runtime instances of this PartModule. The list is guaranteed to be ordered by the Vessel that it's on. (i.e. all the instances of no vessel are first ,then all the module instances on vessel A, then all the instances on vessel B, and so on)
public static AllInstances ( ) : List
Résultat List

AssignNewId() public static méthode

public static AssignNewId ( ) : int
Résultat int

CheckCanBoot() public méthode

public CheckCanBoot ( ) : bool
Résultat bool

CloseWindow() public méthode

public CloseWindow ( ) : void
Résultat void

ExecuteInterProcCommand() public méthode

public ExecuteInterProcCommand ( kOS.InterProcessor.InterProcCommand command ) : void
command kOS.InterProcessor.InterProcCommand
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

GetInfo() public méthode

public GetInfo ( ) : string
Résultat string

GetModuleCost() public méthode

public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
defaultCost float
sit ModifierStagingSituation
Résultat float

GetModuleCostChangeWhen() public méthode

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

GetModuleMass() public méthode

public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
defaultMass float
sit ModifierStagingSituation
Résultat float

GetModuleMassChangeWhen() public méthode

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

GetScreen() public méthode

public GetScreen ( ) : IScreenBuffer
Résultat IScreenBuffer

GetWindow() public méthode

public GetWindow ( ) : Screen.TermWindow
Résultat Screen.TermWindow

InitObjects() public méthode

public InitObjects ( ) : void
Résultat void

OnAwake() public méthode

public OnAwake ( ) : void
Résultat void

OnFixedUpdate() public méthode

public OnFixedUpdate ( ) : void
Résultat void

OnInactive() public méthode

public OnInactive ( ) : void
Résultat void

OnLoad() public méthode

public OnLoad ( ConfigNode node ) : void
node ConfigNode
Résultat void

OnSave() public méthode

public OnSave ( ConfigNode node ) : void
node ConfigNode
Résultat void

OnStart() public méthode

public OnStart ( StartState state ) : void
state StartState
Résultat void

OpenWindow() public méthode

public OpenWindow ( ) : void
Résultat void

PartIsKosProc() public méthode

public PartIsKosProc ( Part input, kOSProcessor &proc ) : bool
input Part
proc kOSProcessor
Résultat bool

RegisterkOSExternalFunction() public méthode

public RegisterkOSExternalFunction ( object parameters ) : void
parameters object
Résultat void

Send() public méthode

public Send ( Structure content ) : void
content Structure
Résultat void

SetAutopilotMode() public méthode

public SetAutopilotMode ( int mode ) : void
mode int
Résultat void

SetMode() public méthode

public SetMode ( ProcessorModes newProcessorMode ) : void
newProcessorMode ProcessorModes
Résultat void

TelnetIsAttached() public méthode

public TelnetIsAttached ( ) : bool
Résultat bool

ToggleWindow() public méthode

public ToggleWindow ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateParts() public méthode

public UpdateParts ( ) : void
Résultat void

WindowIsOpen() public méthode

public WindowIsOpen ( ) : bool
Résultat bool

kOSProcessor() public méthode

public kOSProcessor ( ) : System
Résultat System