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

Public Member Functions

override void OnTickRound ()
 
- Public Member Functions inherited from ZoneEvent
virtual string GetText ()
 
void Tick (float delta)
 
void Init ()
 
void OnSimulateHour ()
 
virtual void OnVisit ()
 
virtual void OnInit ()
 
virtual void OnFirstTick ()
 
virtual void OnTick ()
 
virtual void OnTickRound ()
 
virtual void OnKill ()
 
virtual void OnCharaDie (Chara c)
 
virtual void OnLeaveZone ()
 
void OnLoad (Zone _zone)
 
void Kill ()
 

Public Attributes

int uidChest
 
int shiver
 
- Public Attributes inherited from ZoneEvent
float time
 
int rounds
 
int hoursElapsed
 
int minElapsed
 
Zone zone
 
bool firstTick = true
 

Properties

Thing chest [get]
 
override int hoursToKill [get]
 
- Properties inherited from ZoneEvent
SourceQuest.Row source [get]
 
virtual string id [get]
 
virtual string TextWidgetDate [get]
 
virtual float roundInterval [get]
 
virtual Playlist playlist [get]
 
virtual bool debugSkip [get]
 
virtual string RefStr2 [get]
 
virtual string RefStr3 [get]
 
virtual int hoursToKill [get]
 
virtual bool HasReport [get]
 
string Name [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)
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 3 of file ZoneEventBeggerChest.cs.

Member Function Documentation

◆ OnTickRound()

override void ZoneEventBeggerChest.OnTickRound ( )
inlinevirtual

Reimplemented from ZoneEvent.

Definition at line 15 of file ZoneEventBeggerChest.cs.

16 {
17 if (EClass.rnd(10) == 0 && chest != null)
18 {
19 if (chest.c_lockLv == 0)
20 {
21 Kill();
22 }
23 else
24 {
25 chest.PlayAnime(AnimeID.Shiver);
26 }
27 }
28 }
AnimeID
Definition: AnimeID.cs:2
int c_lockLv
Definition: Card.cs:924
void PlayAnime(AnimeID id, bool force=false)
Definition: Card.cs:5423
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50
void Kill()
Definition: ZoneEvent.cs:115

References Card.c_lockLv, chest, ZoneEvent.Kill(), Card.PlayAnime(), and EClass.rnd().

Member Data Documentation

◆ shiver

int ZoneEventBeggerChest.shiver

Definition at line 9 of file ZoneEventBeggerChest.cs.

◆ uidChest

int ZoneEventBeggerChest.uidChest

Definition at line 6 of file ZoneEventBeggerChest.cs.

Property Documentation

◆ chest

Thing ZoneEventBeggerChest.chest
get

Definition at line 11 of file ZoneEventBeggerChest.cs.

Referenced by OnTickRound().

◆ hoursToKill

override int ZoneEventBeggerChest.hoursToKill
get

Definition at line 13 of file ZoneEventBeggerChest.cs.


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