Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemDeco Class Reference
Inheritance diagram for GrowSystemDeco:
GrowSystem EClass

Public Member Functions

override void OnExceedLastStage ()
 
override int GetStageTile ()
 
- Public Member Functions inherited from GrowSystem
bool IsLastStage ()
 
virtual bool BlockSight (Cell cell)
 
virtual bool BlockPass (Cell cell)
 
virtual string GetSoundProgress ()
 
virtual Stage CreateStage ()
 
void Init (SourceObj.Row _row)
 
virtual void SetGenericFirstStageTile (Stage s)
 
virtual void SetStageTile (Stage s)
 
virtual int GetStageTile ()
 
virtual int GetShadow (int index)
 
virtual void OnRenderTileMap (RenderParam p)
 
void SetRandomStage ()
 
void SetDefaultStage ()
 
virtual void OnSetObj ()
 
bool CanGrow (VirtualDate date)
 
void TryGrow (VirtualDate date)
 
void EqualizePlants (Point pos)
 
void Grow (int mtp=1)
 
virtual void OnReachNextStage ()
 
virtual void OnExceedLastStage ()
 
void SetStage (int idx, bool renewHarvest=false)
 
virtual void OnSetStage (int idx)
 
bool HaltGrowth ()
 
void Perish ()
 
bool IsWithered ()
 
bool CanHarvest ()
 
virtual bool CanReapSeed ()
 
virtual void OnHit (Chara c)
 
virtual void OnHitFail (Chara c)
 
void OnProgressComplete (Chara c)
 
void PopMineObj (Chara c=null)
 
virtual void OnMineObj (Chara c=null)
 
void TryPick (Cell cell, Thing t, Chara c, bool applySeed=false)
 
void TryPick (Cell cell, string idThing, int idMat=-1, int num=1, bool applySeed=false)
 
Thing TryPopSeed (Chara c)
 
void Harvest (Chara c)
 
void PopHarvest (Chara c, string idThing, int num=-1)
 
void PopHarvest (Chara c, Thing t=null, int num=-1)
 
void ApplySeed (Thing t)
 
virtual int GetHp ()
 

Properties

override bool CanLevelSeed [get]
 
override bool WitherOnLastStage [get]
 
override bool UseGenericFirstStageTile [get]
 
override int StageLength [get]
 
- Properties inherited from GrowSystem
virtual RenderData RenderHarvest [get]
 
virtual int Step [get]
 
virtual int StageLength [get]
 
virtual int DefaultStage [get]
 
virtual int HarvestStage [get]
 
virtual int AutoMineStage [get]
 
virtual int HaltStage [get]
 
virtual bool DrawHarvestOnTop [get]
 
virtual bool UseGenericFirstStageTile [get]
 
virtual bool WitherOnLastStage [get]
 
virtual bool CanRegrow [get]
 
virtual bool CanLevelSeed [get]
 
virtual int ShadowStage [get]
 
virtual bool IsTree [get]
 
virtual bool IsCrimeToHarvest [get]
 
virtual float MtpProgress [get]
 
virtual bool NeedSunlight [get]
 
virtual AnimeID AnimeProgress [get]
 
Stage stage [get]
 
virtual bool IsMature [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Public Attributes inherited from GrowSystem
SourceObj.Row source
 
Stage[] stages
 
int[] baseTiles
 
int harvestTile
 
int afterHarvestTile
 
string idHarvestThing
 
- Static Public Attributes inherited from GrowSystem
static SourceObj.Row[] sourceSnowTree
 
const int DivStage = 30
 
static Cell cell
 
static Stage currentStage
 
- Static Public Attributes inherited from EClass
static Core core
 
- Protected Member Functions inherited from GrowSystem
virtual bool IsHarvestStage (int idx)
 

Detailed Description

Definition at line 1 of file GrowSystemDeco.cs.

Member Function Documentation

◆ GetStageTile()

override int GrowSystemDeco.GetStageTile ( )
inlinevirtual

Reimplemented from GrowSystem.

Definition at line 16 of file GrowSystemDeco.cs.

17 {
18 return source._tiles[GrowSystem.cell.objDir % source._tiles.Length];
19 }
SourceObj.Row source
Definition: GrowSystem.cs:49

References GrowSystem.source.

◆ OnExceedLastStage()

override void GrowSystemDeco.OnExceedLastStage ( )
inlinevirtual

Reimplemented from GrowSystem.

Definition at line 11 of file GrowSystemDeco.cs.

12 {
13 SetStage(1);
14 }
void SetStage(int idx, bool renewHarvest=false)
Definition: GrowSystem.cs:413

References GrowSystem.SetStage().

Property Documentation

◆ CanLevelSeed

override bool GrowSystemDeco.CanLevelSeed
get

Definition at line 3 of file GrowSystemDeco.cs.

◆ StageLength

override int GrowSystemDeco.StageLength
get

Definition at line 9 of file GrowSystemDeco.cs.

◆ UseGenericFirstStageTile

override bool GrowSystemDeco.UseGenericFirstStageTile
getprotected

Definition at line 7 of file GrowSystemDeco.cs.

◆ WitherOnLastStage

override bool GrowSystemDeco.WitherOnLastStage
getprotected

Definition at line 5 of file GrowSystemDeco.cs.


The documentation for this class was generated from the following file: