C# 클래스 FluffyManager.Utilities_Production

파일 보기 프로젝트 열기: FluffierThanThou/RW_Manager

공개 메소드들

메소드 설명
Copy ( this bill ) : Bill_Production

Creates a shallow and barebone copy of a Bill_Production, or Bill_ProductionWithUft cast to Bill_Production if the input is an Uft Bill.

CountPerWorker ( this job, int workerIndex ) : int

Amount per worker to satsify the bill.

CurrentRecipeUsers ( this rd, Map map ) : List

Get all currently build buildings that use the recipe

GetRecipeUsers ( this rd, bool includeNonBuilding = false ) : List

Get the thingdefs for everything that can potentially be a billgiver for rd.

HasBuildingRecipeUser ( this rd, Map map, bool built = false ) : bool

Does the recipe have a building billgiver, and is it built?

메소드 상세

Copy() 공개 정적인 메소드

Creates a shallow and barebone copy of a Bill_Production, or Bill_ProductionWithUft cast to Bill_Production if the input is an Uft Bill.
public static Copy ( this bill ) : Bill_Production
bill this
리턴 Bill_Production

CountPerWorker() 공개 정적인 메소드

Amount per worker to satsify the bill.
public static CountPerWorker ( this job, int workerIndex ) : int
job this
workerIndex int
리턴 int

CurrentRecipeUsers() 공개 정적인 메소드

Get all currently build buildings that use the recipe
public static CurrentRecipeUsers ( this rd, Map map ) : List
rd this
map Map
리턴 List

GetRecipeUsers() 공개 정적인 메소드

Get the thingdefs for everything that can potentially be a billgiver for rd.
public static GetRecipeUsers ( this rd, bool includeNonBuilding = false ) : List
rd this
includeNonBuilding bool
리턴 List

HasBuildingRecipeUser() 공개 정적인 메소드

Does the recipe have a building billgiver, and is it built?
public static HasBuildingRecipeUser ( this rd, Map map, bool built = false ) : bool
rd this
map Map
built bool
리턴 bool