C# Класс FishIndustry.Building_FishingPier

Building_FishingPier class.
Наследование: Building_WorkTable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bankCell IntVec3
fishStock int
fishingSpotCell IntVec3
middleCell IntVec3
middleTerrainCellDefAsString string
riverCell IntVec3
riverTerrainCellDefAsString string

Открытые методы

Метод Описание
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.

Описание методов

Destroy() публичный Метод

Destroys the fishing pier and the fishing spot. Restores the original terrain cells.
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
Результат void

ExposeData() публичный Метод

Saves and loads internal state variables (stored in savegame data).
public ExposeData ( ) : void
Результат void

GetInspectString() публичный Метод

Get the inspection string.
public GetInspectString ( ) : string
Результат string

SpawnSetup() публичный Метод

Convert the cells under the fishing pier into fishing pier cells (technically just water cells with movespeed = 100%).
public SpawnSetup ( ) : void
Результат void

Tick() публичный Метод

Periodically resplenishes the fish stock if necessary.
public Tick ( ) : void
Результат void

Описание свойств

bankCell публичное свойство

public IntVec3 bankCell
Результат IntVec3

fishStock публичное свойство

public int fishStock
Результат int

fishingSpotCell публичное свойство

public IntVec3 fishingSpotCell
Результат IntVec3

middleCell публичное свойство

public IntVec3 middleCell
Результат IntVec3

middleTerrainCellDefAsString публичное свойство

public string middleTerrainCellDefAsString
Результат string

riverCell публичное свойство

public IntVec3 riverCell
Результат IntVec3

riverTerrainCellDefAsString публичное свойство

public string riverTerrainCellDefAsString
Результат string