1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Notify other players of wielded item change

This commit is contained in:
Giuseppe Bilotta
2011-08-11 07:02:57 +02:00
parent 88a9bae160
commit 371af9c241
4 changed files with 110 additions and 0 deletions

View File

@@ -479,6 +479,10 @@ private:
void SendObjectData(float dtime);
void SendPlayerInfos();
void SendInventory(u16 peer_id);
// send wielded item info about player to all
void SendWieldedItem(const Player *player);
// send wielded item info about all players to all players
void SendPlayerItems();
void SendChatMessage(u16 peer_id, const std::wstring &message);
void BroadcastChatMessage(const std::wstring &message);
void SendPlayerHP(Player *player);