C# Class CaveworldFlora.Cluster

Cluster class.
Inheritance: Thing
Afficher le fichier Open project: Rikiki123456789/Rimworld Class Usage Examples

Méthodes publiques

Свойство Type Description
actualSize int
desiredSize int
plantDef ThingDef_ClusterPlant
symbiosisCluster Cluster

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
UpdateClusterPosition ( ) : void

Method Details

Destroy() public méthode

public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
Résultat void

ExposeData() public méthode

public ExposeData ( ) : void
Résultat void

GetExclusivityRadius() public static méthode

public static GetExclusivityRadius ( ThingDef_ClusterPlant plantDef, int clusterSize ) : float
plantDef ThingDef_ClusterPlant
clusterSize int
Résultat float

GetMaxExclusivityRadius() public static méthode

public static GetMaxExclusivityRadius ( ThingDef_ClusterPlant plantDef ) : float
plantDef ThingDef_ClusterPlant
Résultat float

Initialize() public méthode

public Initialize ( ThingDef_ClusterPlant plantDef, int desiredSize ) : void
plantDef ThingDef_ClusterPlant
desiredSize int
Résultat void

NotifyPlantAdded() public méthode

public NotifyPlantAdded ( ) : void
Résultat void

NotifyPlantRemoved() public méthode

public NotifyPlantRemoved ( ) : void
Résultat void

NotifySymbiosisClusterAdded() public méthode

public NotifySymbiosisClusterAdded ( Cluster symbiosisCluster ) : void
symbiosisCluster Cluster
Résultat void

NotifySymbiosisClusterRemoved() public méthode

public NotifySymbiosisClusterRemoved ( Cluster symbiosisCluster ) : void
symbiosisCluster Cluster
Résultat void

SpawnNewClusterAt() public static méthode

public static SpawnNewClusterAt ( IntVec3 spawnCell, ThingDef_ClusterPlant plantDef, int desiredSize ) : ClusterPlant
spawnCell IntVec3
plantDef ThingDef_ClusterPlant
desiredSize int
Résultat ClusterPlant

UpdateClusterPosition() protected méthode

protected UpdateClusterPosition ( ) : void
Résultat void

Property Details

actualSize public_oe property

public int actualSize
Résultat int

desiredSize public_oe property

public int desiredSize
Résultat int

plantDef public_oe property

public ThingDef_ClusterPlant plantDef
Résultat ThingDef_ClusterPlant

symbiosisCluster public_oe property

public Cluster symbiosisCluster
Résultat Cluster