aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-11 07:02:57 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-11 15:22:36 +0200
commit371af9c241c3064d64e1109098aa5471e545d32c (patch)
tree3e58bd6b0662ba26a008a208024717eb03f667bf /src/server.h
parent88a9bae160dd0bf28fe41b2a45c198d67a65c914 (diff)
downloadminetest-371af9c241c3064d64e1109098aa5471e545d32c.tar.gz
minetest-371af9c241c3064d64e1109098aa5471e545d32c.tar.bz2
minetest-371af9c241c3064d64e1109098aa5471e545d32c.zip
Notify other players of wielded item change
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index 4a2d667a8..b10703e70 100644
--- a/src/server.h
+++ b/src/server.h
@@ -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);