C# Class FishIndustry.Building_FishingPier

Building_FishingPier class.
Inheritance: Building_WorkTable
Afficher le fichier Open project: Rikiki123456789/Rimworld Class Usage Examples

Méthodes publiques

Свойство Type Description
bankCell IntVec3
fishStock int
fishingSpotCell IntVec3
middleCell IntVec3
middleTerrainCellDefAsString string
riverCell IntVec3
riverTerrainCellDefAsString string

Méthodes publiques

Méthode Description
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void

Destroys the fishing pier and the fishing spot. Restores the original terrain cells.

ExposeData ( ) : void

Saves and loads internal state variables (stored in savegame data).

GetInspectString ( ) : string

Get the inspection string.

SpawnSetup ( ) : void

Convert the cells under the fishing pier into fishing pier cells (technically just water cells with movespeed = 100%).

Tick ( ) : void

Periodically resplenishes the fish stock if necessary.

Method Details

Destroy() public méthode

Destroys the fishing pier and the fishing spot. Restores the original terrain cells.
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
Résultat void

ExposeData() public méthode

Saves and loads internal state variables (stored in savegame data).
public ExposeData ( ) : void
Résultat void

GetInspectString() public méthode

Get the inspection string.
public GetInspectString ( ) : string
Résultat string

SpawnSetup() public méthode

Convert the cells under the fishing pier into fishing pier cells (technically just water cells with movespeed = 100%).
public SpawnSetup ( ) : void
Résultat void

Tick() public méthode

Periodically resplenishes the fish stock if necessary.
public Tick ( ) : void
Résultat void

Property Details

bankCell public_oe property

public IntVec3 bankCell
Résultat IntVec3

fishStock public_oe property

public int fishStock
Résultat int

fishingSpotCell public_oe property

public IntVec3 fishingSpotCell
Résultat IntVec3

middleCell public_oe property

public IntVec3 middleCell
Résultat IntVec3

middleTerrainCellDefAsString public_oe property

public string middleTerrainCellDefAsString
Résultat string

riverCell public_oe property

public IntVec3 riverCell
Résultat IntVec3

riverTerrainCellDefAsString public_oe property

public string riverTerrainCellDefAsString
Résultat string