Skip to content
Tommo J. Phillips edited this page Oct 22, 2023 · 2 revisions

OilPan

Namespace: TommoJProductions.ModApi.GameDatabase.GameParts

reps the oil pan game part.

public class OilPan : GamePart

Inheritance ObjectGamePartOilPan

Properties

oilLevel

reps the oil level of the engine.

public FsmFloat oilLevel { get; set; }

Property Value

FsmFloat

oilContamination

reps the oil contamination.

public FsmFloat oilContamination { get; set; }

Property Value

FsmFloat

oilGrade

reps the oil grade.

public FsmFloat oilGrade { get; set; }

Property Value

FsmFloat

bolted

reps if the game part is bolted

public FsmBool bolted { get; set; }

Property Value

FsmBool

installed

reps if the game part is installed

public FsmBool installed { get; set; }

Property Value

FsmBool

damaged

reps if the game part is damaged

public FsmBool damaged { get; set; }

Property Value

FsmBool

thisPart

reps the ingame gameobject reference.

public FsmGameObject thisPart { get; set; }

Property Value

FsmGameObject

newMesh

reps the 'not broken' mesh for the game part.

public FsmGameObject newMesh { get; set; }

Property Value

FsmGameObject

damagedMesh

reps the 'broken' mesh for the game part.

public FsmGameObject damagedMesh { get; set; }

Property Value

FsmGameObject

trigger

reps the trigger gameobject for the game part.

public FsmGameObject trigger { get; set; }

Property Value

FsmGameObject

Constructors

OilPan(PlayMakerFSM)

public OilPan(PlayMakerFSM data)

Parameters

data PlayMakerFSM

Clone this wiki locally