Planeshift
Classes | Defines

msgmanager.h File Reference

#include <csutil/ref.h>
#include "net/subscriber.h"
#include "net/message.h"
#include "util/eventmanager.h"
#include "globals.h"

Go to the source code of this file.

Classes

class  MessageManager< SubClass >
 Provides a manager to facilitate subscriptions. More...
class  MessageManagerBase
 Base server-side class for subscriptions. More...

Defines

#define NO_VALIDATION   0x00
 These flags define the tests that are centrally done before subclasses get the message.
#define REQUIRE_ACTOR   0x08
#define REQUIRE_ALIVE   0x10
#define REQUIRE_ALREADY_READY_CLIENT   0x04
#define REQUIRE_ANY_CLIENT   0x01
#define REQUIRE_READY_CLIENT   0x02
#define REQUIRE_TARGET   0x20
#define REQUIRE_TARGETACTOR   0x40
#define REQUIRE_TARGETNPC   0x80