C# Класс FishIndustry.PlaceWorker_FishingPierSpawner

FishingPier custom PlaceWorker class.
Наследование: PlaceWorker
Показать файл Открыть проект

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

Метод Описание
AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport

Check if a new fishing pier can be built at this location. - the fishing pier bank cell must be on a bank. - the rest of the fishing pier and the fishing spot must be on water. - must not be too near from another fishing pier.

IsAquaticTerrain ( IntVec3 position ) : bool

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

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

Check if a new fishing pier can be built at this location. - the fishing pier bank cell must be on a bank. - the rest of the fishing pier and the fishing spot must be on water. - must not be too near from another fishing pier.
public AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport
checkingDef BuildableDef
loc IntVec3
rot Rot4
Результат AcceptanceReport

IsAquaticTerrain() публичный статический Метод

public static IsAquaticTerrain ( IntVec3 position ) : bool
position IntVec3
Результат bool