C# Class PrisonersAndSlaves.LawDriver

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

Public Properties

Property Type Description
arrestColonists bool
arrestGuests bool
arrestSlaves bool
daysToImprisonFor float
lawDef LawDef

Public Methods

Method Description
CanArrestFor ( Pawn pawn ) : bool
ExposeData ( ) : void
LawBroken ( Pawn pawn ) : bool

Protected Methods

Method Description
LawDriver ( LawDef lawDef ) : System

Method Details

CanArrestFor() public method

public CanArrestFor ( Pawn pawn ) : bool
pawn Pawn
return bool

ExposeData() public method

public ExposeData ( ) : void
return void

LawBroken() public abstract method

public abstract LawBroken ( Pawn pawn ) : bool
pawn Pawn
return bool

LawDriver() protected method

protected LawDriver ( LawDef lawDef ) : System
lawDef LawDef
return System

Property Details

arrestColonists public property

public bool arrestColonists
return bool

arrestGuests public property

public bool arrestGuests
return bool

arrestSlaves public property

public bool arrestSlaves
return bool

daysToImprisonFor public property

public float daysToImprisonFor
return float

lawDef public property

public LawDef,PrisonersAndSlaves lawDef
return LawDef