Planeshift
|
Manages a iNetSubscriber watching a certain message type. More...
#include <msghandler.h>
Public Member Functions | |
bool | operator< (const Subscription &other) const |
Subscription (iNetSubscriber *nSubscriber, uint32_t nFlags=0x01) | |
Constructor without a callback. More... | |
Public Attributes | |
uint32_t | flags |
Additional flags for detecting if the subscriber should be notified. More... | |
iNetSubscriber * | subscriber |
The actual subscriber that wants to be notified. More... | |
Manages a iNetSubscriber watching a certain message type.
Simple class containing data for subscribes that want to be informed of messages.
Definition at line 47 of file msghandler.h.
|
inline |
Constructor without a callback.
nSubscriber | Sets subscriber |
nFlags | Sets flags |
Definition at line 58 of file msghandler.h.
|
inline |
Definition at line 64 of file msghandler.h.
uint32_t Subscription::flags |
Additional flags for detecting if the subscriber should be notified.
Definition at line 49 of file msghandler.h.
iNetSubscriber* Subscription::subscriber |
The actual subscriber that wants to be notified.
Definition at line 50 of file msghandler.h.