C# Class OutpostGenerator.OG_Util

Outpost generator utility class.
ファイルを表示 Open project: Rikiki123456789/Rimworld Class Usage Examples

Public Properties

Property Type Description
JobDefName_BoardSupplyShip string
JobDefName_CleanOutpost string
JobDefName_TransferInjuredEmployeet string
JobDefName_TryToCaptureOutpost string

Public Methods

Method Description
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.

Method Details

DestroyOutpostArea() public static method

Destroy the outpost area if it exists.
public static DestroyOutpostArea ( ) : void
return void

FindOrbitalRelay() public static method

Find the orbital relay building if it exists.
public static FindOrbitalRelay ( Faction faction ) : Building_OrbitalRelay
faction Faction
return Building_OrbitalRelay

FindOutpostArea() public static method

Find the outpost area if it exists.
public static FindOutpostArea ( ) : Area
return Area

FindOutpostCommandConsole() public static method

Find the outpost command console building if it exists.
public static FindOutpostCommandConsole ( Faction faction ) : Building_OutpostCommandConsole
faction Faction
return Building_OutpostCommandConsole

FindSupplyShip() public static method

Find the supply ship if it exists.
public static FindSupplyShip ( Faction faction ) : Building_SupplyShip
faction Faction
return Building_SupplyShip

IsModActive() public static method

Check if modName is active.
public static IsModActive ( string modName ) : bool
modName string
return bool

RefreshThingList() public static method

Return a copy of the listToRefresh but remove any destroyed item.
public static RefreshThingList ( List listToRefresh ) : List
listToRefresh List
return List

Property Details

JobDefName_BoardSupplyShip public_oe static_oe property

public static string JobDefName_BoardSupplyShip
return string

JobDefName_CleanOutpost public_oe static_oe property

public static string JobDefName_CleanOutpost
return string

JobDefName_TransferInjuredEmployeet public_oe static_oe property

public static string JobDefName_TransferInjuredEmployeet
return string

JobDefName_TryToCaptureOutpost public_oe static_oe property

public static string JobDefName_TryToCaptureOutpost
return string