C# Class FishIndustry.Building_FishingPier

Building_FishingPier class.
Inheritance: Building_WorkTable
Show file Open project: Rikiki123456789/Rimworld Class Usage Examples

Public Properties

Property Type Description
bankCell IntVec3
fishStock int
fishingSpotCell IntVec3
middleCell IntVec3
middleTerrainCellDefAsString string
riverCell IntVec3
riverTerrainCellDefAsString string

Public Methods

Method 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 method

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

ExposeData() public method

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

GetInspectString() public method

Get the inspection string.
public GetInspectString ( ) : string
return string

SpawnSetup() public method

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

Tick() public method

Periodically resplenishes the fish stock if necessary.
public Tick ( ) : void
return void

Property Details

bankCell public property

public IntVec3 bankCell
return IntVec3

fishStock public property

public int fishStock
return int

fishingSpotCell public property

public IntVec3 fishingSpotCell
return IntVec3

middleCell public property

public IntVec3 middleCell
return IntVec3

middleTerrainCellDefAsString public property

public string middleTerrainCellDefAsString
return string

riverCell public property

public IntVec3 riverCell
return IntVec3

riverTerrainCellDefAsString public property

public string riverTerrainCellDefAsString
return string