C# Class PrisonersAndSlaves.CompPrisoner

Inheritance: ThingComp
ファイルを表示 Open project: ForsakenShell/Es-Small-Mods

Public Properties

Property Type Description
ShouldBeCuffed bool
ShouldBeShackled bool
freeSlave bool
haulTarget Thing
lawBroken LawDef
originalFaction Faction
originalPawnKind PawnKindDef
releaseAfterTick int
wasArrested bool
wasSlave bool

Public Methods

Method Description
ApplyApparelEffects ( Pawn pawn, Apparel apparel ) : void
ApplyCollarEffects ( Pawn pawn, Apparel collar ) : void
ApplyHediffDefOn ( Pawn pawn, HediffDef hediffDef, BodyPartRecord bodyPartRecord ) : void
ApplyRestraintsEffects ( Pawn pawn, Apparel restraints ) : void
CheckStatus ( ) : void
CompTick ( ) : void
CompTickRare ( ) : void
ForceApparelOnPawn ( Pawn pawn, Apparel apparel ) : void
PostExposeData ( ) : void
RemoveApparelFromPawn ( Pawn pawn, Apparel apparel, IntVec3 dropCell ) : void
RemoveHediffDefOn ( Pawn pawn, HediffDef hediffDef, BodyPartRecord bodyPartRecord ) : void
RemoveRestraintsEffects ( Pawn pawn, Apparel restraints ) : void

Method Details

ApplyApparelEffects() public method

public ApplyApparelEffects ( Pawn pawn, Apparel apparel ) : void
pawn Pawn
apparel Apparel
return void

ApplyCollarEffects() public method

public ApplyCollarEffects ( Pawn pawn, Apparel collar ) : void
pawn Pawn
collar Apparel
return void

ApplyHediffDefOn() public method

public ApplyHediffDefOn ( Pawn pawn, HediffDef hediffDef, BodyPartRecord bodyPartRecord ) : void
pawn Pawn
hediffDef HediffDef
bodyPartRecord BodyPartRecord
return void

ApplyRestraintsEffects() public method

public ApplyRestraintsEffects ( Pawn pawn, Apparel restraints ) : void
pawn Pawn
restraints Apparel
return void

CheckStatus() public method

public CheckStatus ( ) : void
return void

CompTick() public method

public CompTick ( ) : void
return void

CompTickRare() public method

public CompTickRare ( ) : void
return void

ForceApparelOnPawn() public method

public ForceApparelOnPawn ( Pawn pawn, Apparel apparel ) : void
pawn Pawn
apparel Apparel
return void

PostExposeData() public method

public PostExposeData ( ) : void
return void

RemoveApparelFromPawn() public method

public RemoveApparelFromPawn ( Pawn pawn, Apparel apparel, IntVec3 dropCell ) : void
pawn Pawn
apparel Apparel
dropCell IntVec3
return void

RemoveHediffDefOn() public method

public RemoveHediffDefOn ( Pawn pawn, HediffDef hediffDef, BodyPartRecord bodyPartRecord ) : void
pawn Pawn
hediffDef HediffDef
bodyPartRecord BodyPartRecord
return void

RemoveRestraintsEffects() public method

public RemoveRestraintsEffects ( Pawn pawn, Apparel restraints ) : void
pawn Pawn
restraints Apparel
return void

Property Details

ShouldBeCuffed public_oe property

public bool ShouldBeCuffed
return bool

ShouldBeShackled public_oe property

public bool ShouldBeShackled
return bool

freeSlave public_oe property

public bool freeSlave
return bool

haulTarget public_oe property

public Thing haulTarget
return Thing

lawBroken public_oe property

public LawDef,PrisonersAndSlaves lawBroken
return LawDef

originalFaction public_oe property

public Faction originalFaction
return Faction

originalPawnKind public_oe property

public PawnKindDef originalPawnKind
return PawnKindDef

releaseAfterTick public_oe property

public int releaseAfterTick
return int

wasArrested public_oe property

public bool wasArrested
return bool

wasSlave public_oe property

public bool wasSlave
return bool