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

Public Member Functions

override void OnSetActions ()
 
- Public Member Functions inherited from InspectGroup< ObjInfo >
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< ObjInfo >
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< ObjInfo >
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< ObjInfo >
Type type
 
List< Itemactions
 
List< IInspecttargets
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 1 of file InspectGroupObj.cs.

Member Function Documentation

◆ OnSetActions()

override void InspectGroupObj.OnSetActions ( )
inlinevirtual

Reimplemented from InspectGroup< ObjInfo >.

Definition at line 5 of file InspectGroupObj.cs.

6 {
7 TaskDesignation taskDesignation = base.FirstTarget.pos.detail?.designation;
8 if (taskDesignation is TaskCut)
9 {
10 Add("cancel".lang() + "\n(" + taskDesignation.Name + ")", "", delegate(ObjInfo t)
11 {
12 TaskDesignation taskDesignation2 = t.pos.detail?.designation;
13 if (taskDesignation2 is TaskCut)
14 {
15 taskDesignation2.Destroy();
16 }
17 }, sound: true);
18 return;
19 }
20 Add("Cut", "", delegate(ObjInfo t)
21 {
22 Point pos = t.pos.Copy();
24 {
25 pos = pos
26 }) && base.Solo)
27 {
28 SE.Beep();
29 }
30 }, sound: true);
31 }
virtual new string Name
Definition: AIAct.cs:68
TaskDesignation designation
Definition: CellDetail.cs:19
override bool TryAdd(T t)
Definition: EClass.cs:5
static Map _map
Definition: EClass.cs:18
Item Add(string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)
TaskManager tasks
Definition: Map.cs:34
Definition: Point.cs:9
Point Copy()
Definition: Point.cs:467
CellDetail detail
Definition: Point.cs:71
DesignationList< TaskCut > cut
Definition: TaskManager.cs:15
Designations designations
Definition: TaskManager.cs:62
Point pos
Definition: TaskPoint.cs:11
Status Destroy()
Definition: Task.cs:31

References EClass._map, InspectGroup< ObjInfo >.Add(), Point.Copy(), TaskManager.Designations.cut, CellDetail.designation, TaskManager.designations, Task.Destroy(), Point.detail, AIAct.Name, BaseInspectPos.pos, TaskPoint.pos, Map.tasks, and DesignationList< T >.TryAdd().

Property Documentation

◆ MultiName

override string InspectGroupObj.MultiName
get

Definition at line 3 of file InspectGroupObj.cs.


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