1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 20:53:45 +01: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);