Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InspectGroupChara Class Reference
Inheritance diagram for InspectGroupChara:
InspectGroup< Chara > EClass

Public Member Functions

override void OnSetActions ()
 
- Public Member Functions inherited from InspectGroup< Chara >
bool CanInspect ()
 
virtual bool Contains (IInspect t)
 
string GetName ()
 
virtual void SetActions ()
 
sealed override void SetActions ()
 
virtual void OnSetActions ()
 
Item Add (string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)
 
Item Add (string text, string idSprite, Action< T > action, bool sound=false, int priority=0, bool auto=false)
 

Properties

override string MultiName [get]
 
- Properties inherited from InspectGroup< Chara >
IInspect FirstTarget [get]
 
new T FirstTarget [get]
 
bool Solo [get]
 
virtual string MultiName [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 InspectGroup< Chara >
static InspectGroup Create (IInspect t)
 
- 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 InspectGroup< Chara >
Type type
 
List< Itemactions
 
List< IInspecttargets
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 3 of file InspectGroupChara.cs.

Member Function Documentation

◆ OnSetActions()

override void InspectGroupChara.OnSetActions ( )
inlinevirtual

Reimplemented from InspectGroup< Chara >.

Definition at line 7 of file InspectGroupChara.cs.

8 {
9 Chara first = base.FirstTarget;
10 string text = "charaInfo".lang();
11 if (!first.IsHomeMember())
12 {
13 text = text + "(" + "unidentified".lang() + ")";
14 }
15 if (first.IsHomeMember())
16 {
17 Add("tTalk".lang(), "", (Action)delegate
18 {
19 first.ShowDialog();
20 }, sound: false, 0, auto: false);
21 return;
22 }
23 Add(text, "", (Action)delegate
24 {
25 if (!first.IsHomeMember())
26 {
27 SE.Beep();
28 }
29 }, sound: false, 0, auto: false);
30 }
Definition: Chara.cs:10
void ShowDialog()
Definition: Chara.cs:6368
bool IsHomeMember()
Definition: Chara.cs:5942
Item Add(string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)

References InspectGroup< Chara >.Add(), Chara.IsHomeMember(), and Chara.ShowDialog().

Property Documentation

◆ MultiName

override string InspectGroupChara.MultiName
get

Definition at line 5 of file InspectGroupChara.cs.


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