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
@@ -12,11 +12,17 @@
namespace Multiplayer
{
inline bool ServerToClientConnectionData::CanSendUpdates()
inline bool ServerToClientConnectionData::CanSendUpdates() const
{
return m_canSendUpdates;
}
inline void ServerToClientConnectionData::SetCanSendUpdates(bool canSendUpdates)
{
m_canSendUpdates = canSendUpdates;
}
inline NetworkEntityHandle ServerToClientConnectionData::GetPrimaryPlayerEntity()
{
return m_controlledEntity;