C# Class PrisonersAndSlaves.LawDriver

Inheritance: IExposable
Mostra 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_oe property

public bool arrestColonists
return bool

arrestGuests public_oe property

public bool arrestGuests
return bool

arrestSlaves public_oe property

public bool arrestSlaves
return bool

daysToImprisonFor public_oe property

public float daysToImprisonFor
return float

lawDef public_oe property

public LawDef,PrisonersAndSlaves lawDef
return LawDef