C# Класс OutpostGenerator.OG_Util

Outpost generator utility class.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
JobDefName_BoardSupplyShip string
JobDefName_CleanOutpost string
JobDefName_TransferInjuredEmployeet string
JobDefName_TryToCaptureOutpost string

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

Метод Описание
DestroyOutpostArea ( ) : void

Destroy the outpost area if it exists.

FindOrbitalRelay ( Faction faction ) : Building_OrbitalRelay

Find the orbital relay building if it exists.

FindOutpostArea ( ) : Area

Find the outpost area if it exists.

FindOutpostCommandConsole ( Faction faction ) : Building_OutpostCommandConsole

Find the outpost command console building if it exists.

FindSupplyShip ( Faction faction ) : Building_SupplyShip

Find the supply ship if it exists.

IsModActive ( string modName ) : bool

Check if modName is active.

RefreshThingList ( List listToRefresh ) : List

Return a copy of the listToRefresh but remove any destroyed item.

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

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

Destroy the outpost area if it exists.
public static DestroyOutpostArea ( ) : void
Результат void

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

Find the orbital relay building if it exists.
public static FindOrbitalRelay ( Faction faction ) : Building_OrbitalRelay
faction Faction
Результат Building_OrbitalRelay

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

Find the outpost area if it exists.
public static FindOutpostArea ( ) : Area
Результат Area

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

Find the outpost command console building if it exists.
public static FindOutpostCommandConsole ( Faction faction ) : Building_OutpostCommandConsole
faction Faction
Результат Building_OutpostCommandConsole

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

Find the supply ship if it exists.
public static FindSupplyShip ( Faction faction ) : Building_SupplyShip
faction Faction
Результат Building_SupplyShip

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

Check if modName is active.
public static IsModActive ( string modName ) : bool
modName string
Результат bool

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

Return a copy of the listToRefresh but remove any destroyed item.
public static RefreshThingList ( List listToRefresh ) : List
listToRefresh List
Результат List

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

JobDefName_BoardSupplyShip публичное статическое свойство

public static string JobDefName_BoardSupplyShip
Результат string

JobDefName_CleanOutpost публичное статическое свойство

public static string JobDefName_CleanOutpost
Результат string

JobDefName_TransferInjuredEmployeet публичное статическое свойство

public static string JobDefName_TransferInjuredEmployeet
Результат string

JobDefName_TryToCaptureOutpost публичное статическое свойство

public static string JobDefName_TryToCaptureOutpost
Результат string