C# Class PrisonersAndSlaves.Pawn_Extensions

Show file Open project: ForsakenShell/Es-Small-Mods

Public Methods

Method Description
EscapeProbability ( this pawn ) : float
IsGuestOfColony ( this pawn ) : bool
IsSlave ( this pawn ) : bool
IsSlaveOfColony ( this pawn ) : bool
IsValidHumanlike ( this pawn ) : bool
ThinksTheyCanBeSeenByColony ( this pawn ) : bool
ThinksTheyCanBeSeenByColony ( this pawn, List colonists, List markers ) : bool
WornCollar ( this pawn ) : Apparel
WornRestraints ( this pawn, BodyPartGroupDef bodyPartGroupDef ) : Apparel

Method Details

EscapeProbability() public static method

public static EscapeProbability ( this pawn ) : float
pawn this
return float

IsGuestOfColony() public static method

public static IsGuestOfColony ( this pawn ) : bool
pawn this
return bool

IsSlave() public static method

public static IsSlave ( this pawn ) : bool
pawn this
return bool

IsSlaveOfColony() public static method

public static IsSlaveOfColony ( this pawn ) : bool
pawn this
return bool

IsValidHumanlike() public static method

public static IsValidHumanlike ( this pawn ) : bool
pawn this
return bool

ThinksTheyCanBeSeenByColony() public static method

public static ThinksTheyCanBeSeenByColony ( this pawn ) : bool
pawn this
return bool

ThinksTheyCanBeSeenByColony() public static method

public static ThinksTheyCanBeSeenByColony ( this pawn, List colonists, List markers ) : bool
pawn this
colonists List
markers List
return bool

WornCollar() public static method

public static WornCollar ( this pawn ) : Apparel
pawn this
return Apparel

WornRestraints() public static method

public static WornRestraints ( this pawn, BodyPartGroupDef bodyPartGroupDef ) : Apparel
pawn this
bodyPartGroupDef BodyPartGroupDef
return Apparel