diff options
Diffstat (limited to '')
-rw-r--r-- | src/Broadcaster.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/Broadcaster.cpp b/src/Broadcaster.cpp index 770a3987c..0a8f17930 100644 --- a/src/Broadcaster.cpp +++ b/src/Broadcaster.cpp @@ -358,19 +358,6 @@ void cWorld::BroadcastEntityProperties(const cEntity & a_Entity) -void cWorld::BroadcastEntityStatus(const cEntity & a_Entity, Int8 a_Status, const cClientHandle * a_Exclude) -{ - ForClientsWithEntity(a_Entity, *this, a_Exclude, [&](cClientHandle & a_Client) - { - a_Client.SendEntityStatus(a_Entity, a_Status); - } - ); -} - - - - - void cWorld::BroadcastEntityVelocity(const cEntity & a_Entity, const cClientHandle * a_Exclude) { ForClientsWithEntity(a_Entity, *this, a_Exclude, [&](cClientHandle & a_Client) @@ -384,7 +371,7 @@ void cWorld::BroadcastEntityVelocity(const cEntity & a_Entity, const cClientHand -void cWorld::BroadcastEntityAnimation(const cEntity & a_Entity, Int8 a_Animation, const cClientHandle * a_Exclude) +void cWorld::BroadcastEntityAnimation(const cEntity & a_Entity, EntityAnimation a_Animation, const cClientHandle * a_Exclude) { ForClientsWithEntity(a_Entity, *this, a_Exclude, [&](cClientHandle & a_Client) { @@ -631,19 +618,6 @@ void cWorld::BroadcastUnleashEntity(const cEntity & a_Entity) -void cWorld::BroadcastUseBed(const cEntity & a_Entity, Vector3i a_BedPos) -{ - ForClientsWithChunkAtPos(a_BedPos, *this, nullptr, [&](cClientHandle & a_Client) - { - a_Client.SendUseBed(a_Entity, a_BedPos.x, a_BedPos.y, a_BedPos.z); - } - ); -} - - - - - void cWorld::BroadcastWeather(eWeather a_Weather, const cClientHandle * a_Exclude) { ForClientsInWorld(*this, a_Exclude, [&](cClientHandle & a_Client) |