Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InspectGroupTask.cs
Go to the documentation of this file.
1public class InspectGroupTask : InspectGroup<TaskPoint>
2{
3 public override string MultiName => "Task";
4
5 public override void OnSetActions()
6 {
7 TaskPoint firstTarget = base.FirstTarget;
8 Add("cancel".lang() + "\n(" + firstTarget.Name + ")", "", delegate(TaskPoint t)
9 {
10 t.Destroy();
11 }, sound: true);
12 }
13}
virtual new string Name
Definition: AIAct.cs:68
override void OnSetActions()
override string MultiName
Item Add(string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)
Status Destroy()
Definition: Task.cs:31