Added ReadyForEntityUpdates message allowing the server to send entity updates

This commit is contained in:
pereslav
2021-04-26 13:30:35 +01:00
parent 34f4ba7821
commit 008c653524
7 changed files with 56 additions and 9 deletions
@@ -92,6 +92,10 @@ namespace Multiplayer
//! @return the stats object bound to this multiplayer instance
MultiplayerStats& GetStats() { return m_stats; }
//! Sends a packet telling if entity update messages can be sent
//! @param readyForEntityUpdates Ready for entity updates or not
virtual void SendReadyForEntityUpdates(bool readyForEntityUpdates) = 0;
private:
MultiplayerStats m_stats;
};