C# Class kOS.Suffixed.Part.PartValue

Inheritance: Structure, IKOSTargetable
Exibir arquivo Open project: KSP-KOS/KOS Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetTagName ( ) : kOS.Safe.Encapsulation.StringValue
PartValue ( global part, SharedObjects sharedObj ) : System
ThrowIfNotCPUVessel ( ) : void
ToString ( ) : string
operator ( ) : bool

Protected Methods

Method Description
Equals ( PartValue other ) : bool

Private Methods

Method Description
ControlFrom ( ) : void
GatherResources ( global part ) : ListValue
GetAllModules ( ) : ListValue
GetFacing ( global part ) : Direction
GetModule ( kOS.Safe.Encapsulation.StringValue modName ) : kOS.Suffixed.PartModuleField.PartModuleFields
GetModuleIndex ( ScalarValue moduleIndex ) : kOS.Suffixed.PartModuleField.PartModuleFields
HasModule ( kOS.Safe.Encapsulation.StringValue modName ) : BooleanValue
PartInitializeSuffixes ( ) : void
SetTagName ( kOS.Safe.Encapsulation.StringValue value ) : void

Method Details

Equals() protected method

protected Equals ( PartValue other ) : bool
other PartValue
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetTagName() public method

public GetTagName ( ) : kOS.Safe.Encapsulation.StringValue
return kOS.Safe.Encapsulation.StringValue

PartValue() public method

public PartValue ( global part, SharedObjects sharedObj ) : System
part global
sharedObj SharedObjects
return System

ThrowIfNotCPUVessel() public method

public ThrowIfNotCPUVessel ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool