1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add control information to player interacts (#4685)

This commit is contained in:
raymoo 2016-11-11 23:22:39 -08:00 committed by Zeno-
parent 67ec2fa92d
commit e4031156f1
4 changed files with 76 additions and 49 deletions

View file

@ -197,6 +197,10 @@ public:
void Send(NetworkPacket* pkt);
// Helper for handleCommand_PlayerPos and handleCommand_Interact
void process_PlayerPos(RemotePlayer *player, PlayerSAO *playersao,
NetworkPacket *pkt);
// Both setter and getter need no envlock,
// can be called freely from threads
void setTimeOfDay(u32 time);