19 #ifndef __TUTORIALMANAGER_H__ 20 #define __TUTORIALMANAGER_H__ 25 #include <iutil/document.h> ClientConnectionSet * clients
TutorialManager(ClientConnectionSet *pCCS)
bool LoadTutorialStrings()
Preload all tutorial strings from the Tips db table.
This manager catches events posted by the rest of the server and decides whether each client needs to...
void HandleMovement(MsgEntry *pMsg, Client *client)
Specifically handle the Movement event in the tutorial.
void HandleDeath(MsgEntry *pMsg, Client *client)
Specifically handle the Death event in the tutorial.
The structure of 1 queue entry (pointer to a message)
csArray< csString > tutorialMsg
Stores all the messages in the database above id 1001 (biased to 1001 so 1001 is 0).
void HandleConnect(MsgEntry *pMsg, Client *client)
Specifically handle the Connect event in the tutorial.
This class collects data of a netclient.
void HandleDamage(MsgEntry *pMsg, Client *client)
Specifically handle the Damage event in the tutorial.
virtual ~TutorialManager()
void HandleTarget(MsgEntry *pMsg, Client *client)
Specifically handle the Target event in the tutorial.
This class is a list of several CLient objects, it's designed for finding clients very fast based on ...
void HandleScriptMessage(uint32_t client, unsigned int which)
Specifically handle the message sent by a script.
void HandleGeneric(MsgEntry *pMsg, Client *client)
Handle tutorial events which come from events which do not have specific msgtypes.
void SendTutorialMessage(int which, Client *client, const char *instrs)
Package up the current event string for the client receiving the tutorial.
Provides a manager to facilitate subscriptions.