C# 클래스 kOS.Suffixed.AggregateResourceValue

상속: Structure
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
shared SharedObjects

공개 메소드들

메소드 설명
AddResource ( PartResource resource ) : void
AggregateResourceValue ( PartResourceDefinition definition, SharedObjects shared ) : System.Collections.Generic
FromVessel ( Vessel vessel, SharedObjects shared ) : ListValue
GetAmount ( ) : ScalarValue
GetCapacity ( ) : ScalarValue
GetDensity ( ) : ScalarValue
GetName ( ) : kOS.Safe.Encapsulation.StringValue
GetParts ( ) : kOS.Suffixed.ListValue
PartsToList ( IEnumerable parts, SharedObjects shared ) : kOS.Suffixed.ListValue
ToString ( ) : string

비공개 메소드들

메소드 설명
InitializeAggregateResourceSuffixes ( ) : void
ProspectResources ( IEnumerable parts, SharedObjects shared ) : AggregateResourceValue>.Dictionary

메소드 상세

AddResource() 공개 메소드

public AddResource ( PartResource resource ) : void
resource PartResource
리턴 void

AggregateResourceValue() 공개 메소드

public AggregateResourceValue ( PartResourceDefinition definition, SharedObjects shared ) : System.Collections.Generic
definition PartResourceDefinition
shared SharedObjects
리턴 System.Collections.Generic

FromVessel() 공개 정적인 메소드

public static FromVessel ( Vessel vessel, SharedObjects shared ) : ListValue
vessel Vessel
shared SharedObjects
리턴 ListValue

GetAmount() 공개 메소드

public GetAmount ( ) : ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetCapacity() 공개 메소드

public GetCapacity ( ) : ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetDensity() 공개 메소드

public GetDensity ( ) : ScalarValue
리턴 kOS.Safe.Encapsulation.ScalarValue

GetName() 공개 메소드

public GetName ( ) : kOS.Safe.Encapsulation.StringValue
리턴 kOS.Safe.Encapsulation.StringValue

GetParts() 공개 메소드

public GetParts ( ) : kOS.Suffixed.ListValue
리턴 kOS.Suffixed.ListValue

PartsToList() 공개 정적인 메소드

public static PartsToList ( IEnumerable parts, SharedObjects shared ) : kOS.Suffixed.ListValue
parts IEnumerable
shared SharedObjects
리턴 kOS.Suffixed.ListValue

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

shared 보호되어 있는 프로퍼티

protected SharedObjects shared
리턴 SharedObjects