C# Class ToolsForHaul.ToolsForHaulUtility

Exibir arquivo Open project: BBream/ToolsForHaul Class Usage Examples

Public Properties

Property Type Description
BurningLowerTrans string
NoAvailableCart string
NoEmptyPlaceForCart string
NoEmptyPlaceLowerTrans string
NoHaulable string
TooLittleHaulable string

Public Methods

Method Description
AvailableAnimalCart ( Vehicle_Cart cart ) : bool
AvailableCart ( Vehicle_Cart cart, Pawn pawn ) : bool
Cart ( ) : List
DismountInBase ( Pawn pawn, Vehicle_Cart cart ) : Job
FindStorageCell ( Pawn pawn, Thing haulable, List targetQueue = null ) : IntVec3
HaulWithTools ( Pawn pawn, Vehicle_Cart cart = null ) : Job
TryGetBackpack ( Pawn pawn ) : Apparel_Backpack
TryGetBackpackLastItem ( Pawn pawn ) : Thing

Private Methods

Method Description
ToolsForHaulUtility ( ) : System

Method Details

AvailableAnimalCart() public static method

public static AvailableAnimalCart ( Vehicle_Cart cart ) : bool
cart Vehicle_Cart
return bool

AvailableCart() public static method

public static AvailableCart ( Vehicle_Cart cart, Pawn pawn ) : bool
cart Vehicle_Cart
pawn Pawn
return bool

Cart() public static method

public static Cart ( ) : List
return List

DismountInBase() public static method

public static DismountInBase ( Pawn pawn, Vehicle_Cart cart ) : Job
pawn Pawn
cart Vehicle_Cart
return Job

FindStorageCell() public static method

public static FindStorageCell ( Pawn pawn, Thing haulable, List targetQueue = null ) : IntVec3
pawn Pawn
haulable Thing
targetQueue List
return IntVec3

HaulWithTools() public static method

public static HaulWithTools ( Pawn pawn, Vehicle_Cart cart = null ) : Job
pawn Pawn
cart Vehicle_Cart
return Job

TryGetBackpack() public static method

public static TryGetBackpack ( Pawn pawn ) : Apparel_Backpack
pawn Pawn
return Apparel_Backpack

TryGetBackpackLastItem() public static method

public static TryGetBackpackLastItem ( Pawn pawn ) : Thing
pawn Pawn
return Thing

Property Details

BurningLowerTrans public_oe static_oe property

public static string BurningLowerTrans
return string

NoAvailableCart public_oe static_oe property

public static string NoAvailableCart
return string

NoEmptyPlaceForCart public_oe static_oe property

public static string NoEmptyPlaceForCart
return string

NoEmptyPlaceLowerTrans public_oe static_oe property

public static string NoEmptyPlaceLowerTrans
return string

NoHaulable public_oe static_oe property

public static string NoHaulable
return string

TooLittleHaulable public_oe static_oe property

public static string TooLittleHaulable
return string