Elin Decompiled Documentation EA 23.102 Nightly
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
ACT Class Reference
Inheritance diagram for ACT:
EClass

Static Public Member Functions

static void Init ()
 
static Act Create (int id)
 
static Act Create (string id)
 
static Act Create (SourceElement.Row row)
 
- 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

static new ActWait Wait = new ActWait()
 
static ActChat Chat = new ActChat()
 
static ActPick Pick = new ActPick()
 
static ActKick Kick = new ActKick()
 
static ActMelee Melee = new ActMelee()
 
static ActRanged Ranged = new ActRanged()
 
static ActThrow Throw = new ActThrow()
 
static ActItem Item = new ActItem()
 
static Dictionary< string, Actdict = new Dictionary<string, Act>()
 
- Static Public Attributes inherited from EClass
static Core core
 

Additional Inherited Members

- 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]
 

Detailed Description

Definition at line 5 of file ACT.cs.

Member Function Documentation

◆ Create() [1/3]

static Act ACT.Create ( int  id)
inlinestatic

Definition at line 36 of file ACT.cs.

37 {
38 return Create(EClass.sources.elements.map[id]);
39 }
static Act Create(int id)
Definition: ACT.cs:36
Definition: EClass.cs:5
static SourceManager sources
Definition: EClass.cs:42
SourceElement elements

References Create(), SourceManager.elements, and EClass.sources.

Referenced by Element._WriteNote(), ActMelee.Attack(), Create(), TraitAbility.CreateAct(), TraitCatalyst.CreateAct(), Init(), ActZap.Perform(), ButtonAbility.SetAct(), ButtonAbility.ShowMouseHintRight(), and Chara.UseAbility().

◆ Create() [2/3]

static Act ACT.Create ( SourceElement::Row  row)
inlinestatic

Definition at line 46 of file ACT.cs.

47 {
48 if (row == null)
49 {
50 row = EClass.sources.elements.alias["AI_SelfHarm"];
51 }
52 Act act = ClassCache.Create<Act>(row.type.IsEmpty(row.alias), "Elin") ?? new Act();
53 if (act != null)
54 {
55 act.id = row.id;
56 act._source = row;
57 }
58 return act;
59 }
Definition: ACT.cs:62

References SourceManager.elements, and EClass.sources.

◆ Create() [3/3]

static Act ACT.Create ( string  id)
inlinestatic

Definition at line 41 of file ACT.cs.

42 {
43 return Create(EClass.sources.elements.alias[id]);
44 }

References Create(), SourceManager.elements, and EClass.sources.

◆ Init()

static void ACT.Init ( )
inlinestatic

Definition at line 25 of file ACT.cs.

26 {
27 foreach (SourceElement.Row row in EClass.sources.elements.rows)
28 {
29 if (row.group == "ABILITY" || row.group == "SPELL")
30 {
31 dict[row.alias] = Create(row);
32 }
33 }
34 }
static Dictionary< string, Act > dict
Definition: ACT.cs:23

References Create(), dict, SourceManager.elements, and EClass.sources.

Referenced by SourceManager.Init().

Member Data Documentation

◆ Chat

ActChat ACT.Chat = new ActChat()
static

Definition at line 9 of file ACT.cs.

Referenced by ActPlan._Update(), and ActionMode.DoFunc().

◆ dict

Dictionary<string, Act> ACT.dict = new Dictionary<string, Act>()
static

Definition at line 23 of file ACT.cs.

Referenced by Init().

◆ Item

ActItem ACT.Item = new ActItem()
static

Definition at line 21 of file ACT.cs.

Referenced by GoalAutoCombat.BuildAbilityList(), and GoalCombat.BuildAbilityList().

◆ Kick

ActKick ACT.Kick = new ActKick()
static

Definition at line 13 of file ACT.cs.

Referenced by ActPlan._Update().

◆ Melee

◆ Pick

ActPick ACT.Pick = new ActPick()
static

Definition at line 11 of file ACT.cs.

◆ Ranged

◆ Throw

ActThrow ACT.Throw = new ActThrow()
static

Definition at line 19 of file ACT.cs.

Referenced by AM_Adv._OnUpdateInput(), and GoalCombat.TryThrow().

◆ Wait

new ActWait ACT.Wait = new ActWait()
static

Definition at line 7 of file ACT.cs.

Referenced by AM_Adv._OnUpdateInput(), and ActPlan._Update().


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