diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2021-09-28 15:14:43 -0700 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2021-09-28 15:14:43 -0700 |
commit | bee0b9c862d5eb325b8c29767a89b3d895b5f5a9 (patch) | |
tree | a468749bdfefb64ade353b67b463e49dd4effa54 /c++-libbu++/src/object.h | |
parent | 7ebfdb3e7b71fdd315032adb0854e28f0073e1f7 (diff) | |
download | libgats-bee0b9c862d5eb325b8c29767a89b3d895b5f5a9.tar.gz libgats-bee0b9c862d5eb325b8c29767a89b3d895b5f5a9.tar.bz2 libgats-bee0b9c862d5eb325b8c29767a89b3d895b5f5a9.tar.xz libgats-bee0b9c862d5eb325b8c29767a89b3d895b5f5a9.zip |
Added packet helpers?
Diffstat (limited to '')
-rw-r--r-- | c++-libbu++/src/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++-libbu++/src/object.h b/c++-libbu++/src/object.h index 62da7c1..859e126 100644 --- a/c++-libbu++/src/object.h +++ b/c++-libbu++/src/object.h | |||
@@ -44,6 +44,9 @@ namespace Gats | |||
44 | virtual void read( Bu::Stream &rIn, char cType )=0; | 44 | virtual void read( Bu::Stream &rIn, char cType )=0; |
45 | virtual Object *clone() const=0; | 45 | virtual Object *clone() const=0; |
46 | 46 | ||
47 | Bu::String toPacket(); | ||
48 | static Object *fromPacket( const Bu::String &sData ); | ||
49 | |||
47 | static Object *read( Bu::Stream &rIn ); | 50 | static Object *read( Bu::Stream &rIn ); |
48 | static Object *strToGats( const Bu::String &sStr ); | 51 | static Object *strToGats( const Bu::String &sStr ); |
49 | 52 | ||