diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 20:25:00 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 20:25:00 +0000 |
commit | 2c37441be01d58e1714a604645d329575ae95f82 (patch) | |
tree | 582da8190d178ab96ffadc5d63e0c1f5d16bcb73 /src/messageout.h | |
parent | 6e6c1d4b25e7c833b68da0a2aba6861879e08881 (diff) | |
download | manaserv-2c37441be01d58e1714a604645d329575ae95f82.tar.gz manaserv-2c37441be01d58e1714a604645d329575ae95f82.tar.bz2 manaserv-2c37441be01d58e1714a604645d329575ae95f82.tar.xz manaserv-2c37441be01d58e1714a604645d329575ae95f82.zip |
Some messing about towards making cleaner code.
Diffstat (limited to 'src/messageout.h')
-rw-r--r-- | src/messageout.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/messageout.h b/src/messageout.h index 245c3dca..41a6b983 100644 --- a/src/messageout.h +++ b/src/messageout.h @@ -40,6 +40,11 @@ class MessageOut MessageOut(); /** + * Constructor that takes a message ID. + */ + MessageOut(short id); + + /** * Destructor. */ ~MessageOut(); @@ -60,12 +65,12 @@ class MessageOut * a call to this method. */ const Packet *getPacket(); - + /** * Returns the content of the message. */ char *getData(); - + /** * Returns the length of the data. */ |