C# Class CampfireParty.Building_Pyre

Building_Pyre class.
Inheritance: Building
Show file Open project: Rikiki123456789/Rimworld Class Usage Examples

Protected Properties

Property Type Description
campfirePartyIsStarted bool
fireMatrix UnityEngine.Matrix4x4[]
fireScale Vector3
fireTexture UnityEngine.Material[]
fireTextureA UnityEngine.Material
fireTextureB UnityEngine.Material
fireTextureC UnityEngine.Material
fireTickCounter int[]
lifeTickCounter int
pyreFire Thing
startCampfirePartyGizmoIcon UnityEngine.Texture2D

Public Methods

Method Description
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
Draw ( ) : void
DrawPartyAndBeerSearchAreas ( IntVec3 pyrePosition ) : void
ExposeData ( ) : void
GetGizmos ( ) : IEnumerable
SpawnSetup ( ) : void
Tick ( ) : void
TryToStartCampfireParty ( ) : void

Protected Methods

Method Description
ChangeFireTexture ( Material &texture ) : void
GetBeerSearchAreaCells ( IntVec3 pyrePosition ) : List
GetPartyAreaCells ( IntVec3 pyrePosition ) : List

Method Details

ChangeFireTexture() protected method

protected ChangeFireTexture ( Material &texture ) : void
texture UnityEngine.Material
return void

Destroy() public method

public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
return void

Draw() public method

public Draw ( ) : void
return void

DrawPartyAndBeerSearchAreas() public static method

public static DrawPartyAndBeerSearchAreas ( IntVec3 pyrePosition ) : void
pyrePosition IntVec3
return void

ExposeData() public method

public ExposeData ( ) : void
return void

GetBeerSearchAreaCells() protected static method

protected static GetBeerSearchAreaCells ( IntVec3 pyrePosition ) : List
pyrePosition IntVec3
return List

GetGizmos() public method

public GetGizmos ( ) : IEnumerable
return IEnumerable

GetPartyAreaCells() protected static method

protected static GetPartyAreaCells ( IntVec3 pyrePosition ) : List
pyrePosition IntVec3
return List

SpawnSetup() public method

public SpawnSetup ( ) : void
return void

Tick() public method

public Tick ( ) : void
return void

TryToStartCampfireParty() public method

public TryToStartCampfireParty ( ) : void
return void

Property Details

campfirePartyIsStarted protected property

protected bool campfirePartyIsStarted
return bool

fireMatrix protected property

protected Matrix4x4[],UnityEngine fireMatrix
return UnityEngine.Matrix4x4[]

fireScale protected property

protected Vector3 fireScale
return Vector3

fireTexture protected property

protected Material[],UnityEngine fireTexture
return UnityEngine.Material[]

fireTextureA protected property

protected Material,UnityEngine fireTextureA
return UnityEngine.Material

fireTextureB protected property

protected Material,UnityEngine fireTextureB
return UnityEngine.Material

fireTextureC protected property

protected Material,UnityEngine fireTextureC
return UnityEngine.Material

fireTickCounter protected property

protected int[] fireTickCounter
return int[]

lifeTickCounter protected property

protected int lifeTickCounter
return int

pyreFire protected property

protected Thing pyreFire
return Thing

startCampfirePartyGizmoIcon protected static property

protected static Texture2D,UnityEngine startCampfirePartyGizmoIcon
return UnityEngine.Texture2D