diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-14 14:52:47 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-14 14:52:47 +0000 |
commit | eb753d99914a0941ad7e2cfa4c8a364723340fc9 (patch) | |
tree | 4b43acd7426ae91c5f8ec90e75118b30931baafb /src/net/messageout.h | |
parent | 760d4498bd6a7a079cbff9b79d4dfcdde2e4665e (diff) | |
download | mana-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.gz mana-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.bz2 mana-eb753d99914a0941ad7e2cfa4c8a364723340fc9.tar.xz mana-eb753d99914a0941ad7e2cfa4c8a364723340fc9.zip |
Added stream operator for char, short and long reading and writing.
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r-- | src/net/messageout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h index 7cbca165..a312cefe 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -33,6 +33,10 @@ class Packet; */ class MessageOut { + friend MessageOut& operator<<(MessageOut &msg, const char &rhs); + friend MessageOut& operator<<(MessageOut &msg, const short &rhs); + friend MessageOut& operator<<(MessageOut &msg, const long &rhs); + public: /** * Constructor. |