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. | |
Public Attributes | |
uint32_t | flags |
Additional flags for detecting if the subscriber should be notified. | |
iNetSubscriber * | subscriber |
The actual subscriber that wants to be notified. |
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.
Subscription::Subscription | ( | iNetSubscriber * | nSubscriber, |
uint32_t | nFlags = 0x01 |
||
) | [inline] |
Constructor without a callback.
nSubscriber | Sets subscriber |
nFlags | Sets flags |
Definition at line 58 of file msghandler.h.
bool Subscription::operator< | ( | const Subscription & | other | ) | const [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.
The actual subscriber that wants to be notified.
Definition at line 50 of file msghandler.h.