C# 클래스 CaveworldFlora.Cluster

Cluster class.
상속: Thing
파일 보기 프로젝트 열기: Rikiki123456789/Rimworld 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
actualSize int
desiredSize int
plantDef ThingDef_ClusterPlant
symbiosisCluster Cluster

공개 메소드들

메소드 설명
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
ExposeData ( ) : void
GetExclusivityRadius ( ThingDef_ClusterPlant plantDef, int clusterSize ) : float
GetMaxExclusivityRadius ( ThingDef_ClusterPlant plantDef ) : float
Initialize ( ThingDef_ClusterPlant plantDef, int desiredSize ) : void
NotifyPlantAdded ( ) : void
NotifyPlantRemoved ( ) : void
NotifySymbiosisClusterAdded ( Cluster symbiosisCluster ) : void
NotifySymbiosisClusterRemoved ( Cluster symbiosisCluster ) : void
SpawnNewClusterAt ( IntVec3 spawnCell, ThingDef_ClusterPlant plantDef, int desiredSize ) : ClusterPlant

보호된 메소드들

메소드 설명
UpdateClusterPosition ( ) : void

메소드 상세

Destroy() 공개 메소드

public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
리턴 void

ExposeData() 공개 메소드

public ExposeData ( ) : void
리턴 void

GetExclusivityRadius() 공개 정적인 메소드

public static GetExclusivityRadius ( ThingDef_ClusterPlant plantDef, int clusterSize ) : float
plantDef ThingDef_ClusterPlant
clusterSize int
리턴 float

GetMaxExclusivityRadius() 공개 정적인 메소드

public static GetMaxExclusivityRadius ( ThingDef_ClusterPlant plantDef ) : float
plantDef ThingDef_ClusterPlant
리턴 float

Initialize() 공개 메소드

public Initialize ( ThingDef_ClusterPlant plantDef, int desiredSize ) : void
plantDef ThingDef_ClusterPlant
desiredSize int
리턴 void

NotifyPlantAdded() 공개 메소드

public NotifyPlantAdded ( ) : void
리턴 void

NotifyPlantRemoved() 공개 메소드

public NotifyPlantRemoved ( ) : void
리턴 void

NotifySymbiosisClusterAdded() 공개 메소드

public NotifySymbiosisClusterAdded ( Cluster symbiosisCluster ) : void
symbiosisCluster Cluster
리턴 void

NotifySymbiosisClusterRemoved() 공개 메소드

public NotifySymbiosisClusterRemoved ( Cluster symbiosisCluster ) : void
symbiosisCluster Cluster
리턴 void

SpawnNewClusterAt() 공개 정적인 메소드

public static SpawnNewClusterAt ( IntVec3 spawnCell, ThingDef_ClusterPlant plantDef, int desiredSize ) : ClusterPlant
spawnCell IntVec3
plantDef ThingDef_ClusterPlant
desiredSize int
리턴 ClusterPlant

UpdateClusterPosition() 보호된 메소드

protected UpdateClusterPosition ( ) : void
리턴 void

프로퍼티 상세

actualSize 공개적으로 프로퍼티

public int actualSize
리턴 int

desiredSize 공개적으로 프로퍼티

public int desiredSize
리턴 int

plantDef 공개적으로 프로퍼티

public ThingDef_ClusterPlant plantDef
리턴 ThingDef_ClusterPlant

symbiosisCluster 공개적으로 프로퍼티

public Cluster symbiosisCluster
리턴 Cluster