Public Member Functions | Public Attributes

CNpcSchedule Class Reference

Inherits INpcSchedule.

List of all members.

Public Member Functions

 CNpcSchedule (string& name)
 CNpcSchedule ()
void Init ()
uint get_PID ()
string get_Name ()
string get_FullName ()
CNpcSchedule Clone ()
CNpcTask@ AddTask (NpcTaskType type, string& name)
INpcTask@ AddTask_OnFirstCall (string& name)
INpcTask@ AddTask_OnIdle (string& name)
INpcTask@ AddTask_OnTime (string& name, uint8 hour, uint8 minute)
INpcTask@ AddTask_OnTimes (string& name, array< uint8 >& hours, array< uint8 >& minutes)
INpcTask@ AddTask_OnHour (string& name, uint8 hour)
INpcTask@ AddTask_OnHours (string& name, array< uint8 >& hours)
INpcTask@ AddTask_OnMinute (string& name, uint8 minute)
INpcTask@ AddTask_OnMinutes (string& name, array< uint8 >& minutes)
INpcTask@ AddTask_OnNight (string& name)
INpcTask@ AddTask_OnDay (string& name)
INpcTask@ AddTask_OnMorning (string& name)
INpcTask@ AddTask_OnAfternoon (string& name)
INpcTask@ AddTask_OnEvening (string& name)
INpcTask@ AddTask_EveryNight (string& name)
INpcTask@ AddTask_EveryDay (string& name)
INpcTask@ AddTask_EveryMorning (string& name)
INpcTask@ AddTask_EveryAfternoon (string& name)
INpcTask@ AddTask_EveryEvening (string& name)
INpcTask@ AddTask_EveryFullHour (string& name)
uint GetTasks (array< INpcTask@>& tasksList)
void Save (Buffer& buffer)
void Load (Buffer& buffer)

Public Attributes

uint pid
string name
bool hardcoded
array< CNpcTask@> tasks

Constructor & Destructor Documentation

CNpcSchedule ( string&  name  ) 
CNpcSchedule (  ) 

Member Function Documentation

void Init (  ) 
uint get_PID (  ) 
string get_Name (  ) 
string get_FullName (  ) 
CNpcSchedule Clone (  ) 
CNpcTask@ AddTask ( NpcTaskType  type,
string&  name 
)
INpcTask@ AddTask_OnFirstCall ( string&  name  ) 
INpcTask@ AddTask_OnIdle ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_OnTime ( string&  name,
uint8  hour,
uint8  minute 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnTimes ( string&  name,
array< uint8 >&  hours,
array< uint8 >&  minutes 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnHour ( string&  name,
uint8  hour 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnHours ( string&  name,
array< uint8 >&  hours 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnMinute ( string&  name,
uint8  minute 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnMinutes ( string&  name,
array< uint8 >&  minutes 
)

Implements INpcSchedule.

INpcTask@ AddTask_OnNight ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_OnDay ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_OnMorning ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_OnAfternoon ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_OnEvening ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryNight ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryDay ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryMorning ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryAfternoon ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryEvening ( string&  name  ) 

Implements INpcSchedule.

INpcTask@ AddTask_EveryFullHour ( string&  name  ) 

Implements INpcSchedule.

uint GetTasks ( array< INpcTask@>&  tasksList  ) 

Implements INpcSchedule.

void Save ( Buffer&  buffer  ) 
void Load ( Buffer&  buffer  ) 

Member Data Documentation

uint pid
bool hardcoded
array<CNpcTask@> tasks