aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/object.h
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2021-09-28 15:14:43 -0700
committerMike Buland <mbuland@penny-arcade.com>2021-09-28 15:14:43 -0700
commitbee0b9c862d5eb325b8c29767a89b3d895b5f5a9 (patch)
treea468749bdfefb64ade353b67b463e49dd4effa54 /c++-libbu++/src/object.h
parent7ebfdb3e7b71fdd315032adb0854e28f0073e1f7 (diff)
downloadlibgats-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.h3
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