Fixed comparison operators for net object pointers
This commit is contained in:
parent
26d807ce87
commit
4640158343
8 changed files with 62 additions and 18 deletions
|
|
@ -23,6 +23,7 @@ namespace NetworkingObjects {
|
|||
void read_update_message(cereal::PortableBinaryInputArchive& a, const std::shared_ptr<NetServer::ClientData>& clientReceivedFrom);
|
||||
void set_client(std::shared_ptr<NetClient> initClient, MessageCommandType initUpdateCommandID);
|
||||
void set_server(std::shared_ptr<NetServer> initServer, MessageCommandType initUpdateCommandID);
|
||||
void disconnect();
|
||||
bool is_server() const;
|
||||
template <typename T> NetObjOwnerPtr<T> read_create_message(cereal::PortableBinaryInputArchive& a, const std::shared_ptr<NetServer::ClientData>& clientReceivedFrom) {
|
||||
NetObjID id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue