diff options
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h index 35a2f82..fc6740d 100644 --- a/src/core/player.h +++ b/src/core/player.h @@ -121,6 +121,12 @@ public: /// receive player info from a stream void receive_client_update(std::istream &is); + /// serialize short player info to a stream + void serialize_short_server_update(std::ostream & os) const; + + /// receive short player info from a stream + void receive_short_server_update(std::istream &is); + /// clear all the data void clear(); |