Elin Modding Docs Doc
Loading...
Searching...
No Matches
ZoneEventManager Class Reference
Inheritance diagram for ZoneEventManager:
EClass

Public Member Functions

void OnLoad (Zone _zone)
 
void Add< T > (bool allowDuplicate=false)
 
void Add (ZoneEvent e, bool allowDuplicate=false)
 
void AddPreEnter (ZonePreEnterEvent e, bool executeIfActiveZone=true)
 
GetEvent< T > ()
 
void Remove< T > ()
 
void Remove (ZoneEvent e)
 
void Clear ()
 
void Tick (float delta)
 
void OnVisit ()
 
void OnLeaveZone ()
 
void OnSimulateHour ()
 

Public Attributes

Zone zone
 
List< ZoneEventlist = new List<ZoneEvent>()
 
List< ZonePreEnterEventlistPreEnter = new List<ZonePreEnterEvent>()
 

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

Definition at line 7 of file ZoneEventManager.cs.

Member Function Documentation

◆ Add()

void ZoneEventManager.Add ( ZoneEvent e,
bool allowDuplicate = false )

Definition at line 26 of file ZoneEventManager.cs.

◆ Add< T >()

void ZoneEventManager.Add< T > ( bool allowDuplicate = false)
Type Constraints
T :ZoneEvent 

Definition at line 20 of file ZoneEventManager.cs.

◆ AddPreEnter()

void ZoneEventManager.AddPreEnter ( ZonePreEnterEvent e,
bool executeIfActiveZone = true )

Definition at line 51 of file ZoneEventManager.cs.

◆ Clear()

void ZoneEventManager.Clear ( )

Definition at line 93 of file ZoneEventManager.cs.

◆ GetEvent< T >()

T ZoneEventManager.GetEvent< T > ( )
Type Constraints
T :ZoneEvent 

Definition at line 62 of file ZoneEventManager.cs.

◆ OnLeaveZone()

void ZoneEventManager.OnLeaveZone ( )

Definition at line 117 of file ZoneEventManager.cs.

◆ OnLoad()

void ZoneEventManager.OnLoad ( Zone _zone)

Definition at line 10 of file ZoneEventManager.cs.

◆ OnSimulateHour()

void ZoneEventManager.OnSimulateHour ( )

Definition at line 126 of file ZoneEventManager.cs.

◆ OnVisit()

void ZoneEventManager.OnVisit ( )

Definition at line 108 of file ZoneEventManager.cs.

◆ Remove()

void ZoneEventManager.Remove ( ZoneEvent e)

Definition at line 87 of file ZoneEventManager.cs.

◆ Remove< T >()

void ZoneEventManager.Remove< T > ( )
Type Constraints
T :ZoneEvent 

Definition at line 75 of file ZoneEventManager.cs.

◆ Tick()

void ZoneEventManager.Tick ( float delta)

Definition at line 99 of file ZoneEventManager.cs.

Member Data Documentation

◆ list

List<ZoneEvent> ZoneEventManager.list = new List<ZoneEvent>()

Definition at line 143 of file ZoneEventManager.cs.

◆ listPreEnter

List<ZonePreEnterEvent> ZoneEventManager.listPreEnter = new List<ZonePreEnterEvent>()

Definition at line 147 of file ZoneEventManager.cs.

◆ zone

Zone ZoneEventManager.zone

Definition at line 139 of file ZoneEventManager.cs.


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