Elin Modding Docs Doc
All Classes Namespaces
TaskList< T > Class Template Reference
Inheritance diagram for TaskList< T >:
EClass DesignationList< T > QueueList< T >

Public Member Functions

override bool TryAdd (Task t)
 
override void Remove (Task t)
 
override void SetAstLastItem (Task t)
 
override void OnLoad ()
 
virtual void OnAdd (T t)
 
virtual void SetAstLastItem (T t)
 
override Task GetTask (Chara chara, int radius=-1)
 
bool HaveTask (Point p)
 
void DestroyAll< T1 > ()
 
void DestroyAll (Func< T, bool > func)
 
virtual Task GetTask (Chara chara, int radius=-1)
 
virtual void OnLoad ()
 
virtual void SetAstLastItem (Task t)
 
virtual bool TryAdd (Task t)
 
virtual void Remove (Task t)
 

Public Attributes

List< T > items = new List<T>()
 

Protected Member Functions

virtual bool TryAdd (T t)
 
virtual void Remove (T t)
 

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

Type Constraints
T :Task 

Definition at line 6 of file TaskList.2.cs.

Member Function Documentation

◆ DestroyAll()

void TaskList< T >.DestroyAll ( Func< T, bool > func)

Definition at line 109 of file TaskList.2.cs.

◆ DestroyAll< T1 >()

void TaskList< T >.DestroyAll< T1 > ( )
Type Constraints
T1 :T 

Definition at line 97 of file TaskList.2.cs.

◆ GetTask() [1/2]

override Task TaskList< T >.GetTask ( Chara chara,
int radius = -1 )

Definition at line 64 of file TaskList.2.cs.

◆ GetTask() [2/2]

virtual Task TaskList< T >.GetTask ( Chara chara,
int radius = -1 )
virtual

Definition at line 7 of file TaskList.cs.

◆ HaveTask()

bool TaskList< T >.HaveTask ( Point p)

Definition at line 81 of file TaskList.2.cs.

◆ OnAdd()

virtual void TaskList< T >.OnAdd ( T t)
virtual

Definition at line 45 of file TaskList.2.cs.

◆ OnLoad() [1/2]

override void TaskList< T >.OnLoad ( )

Definition at line 27 of file TaskList.2.cs.

◆ OnLoad() [2/2]

virtual void TaskList< T >.OnLoad ( )
virtual

Definition at line 13 of file TaskList.cs.

◆ Remove() [1/3]

virtual void TaskList< T >.Remove ( T t)
protectedvirtual

Definition at line 51 of file TaskList.2.cs.

◆ Remove() [2/3]

override void TaskList< T >.Remove ( Task t)

Definition at line 15 of file TaskList.2.cs.

◆ Remove() [3/3]

virtual void TaskList< T >.Remove ( Task t)
virtual

Definition at line 29 of file TaskList.cs.

◆ SetAstLastItem() [1/3]

virtual void TaskList< T >.SetAstLastItem ( T t)
virtual

Definition at line 57 of file TaskList.2.cs.

◆ SetAstLastItem() [2/3]

override void TaskList< T >.SetAstLastItem ( Task t)

Definition at line 21 of file TaskList.2.cs.

◆ SetAstLastItem() [3/3]

virtual void TaskList< T >.SetAstLastItem ( Task t)
virtual

Definition at line 18 of file TaskList.cs.

◆ TryAdd() [1/3]

virtual bool TaskList< T >.TryAdd ( T t)
protectedvirtual

Definition at line 36 of file TaskList.2.cs.

◆ TryAdd() [2/3]

override bool TaskList< T >.TryAdd ( Task t)

Definition at line 9 of file TaskList.2.cs.

◆ TryAdd() [3/3]

virtual bool TaskList< T >.TryAdd ( Task t)
virtual

Definition at line 23 of file TaskList.cs.

Member Data Documentation

◆ items

List<T> TaskList< T >.items = new List<T>()

Definition at line 122 of file TaskList.2.cs.


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