mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add control information to player interacts (#4685)
This commit is contained in:
parent
67ec2fa92d
commit
e4031156f1
4 changed files with 76 additions and 49 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
u32 getSize() { return m_datasize; }
|
||||
u16 getPeerId() { return m_peer_id; }
|
||||
u16 getCommand() { return m_command; }
|
||||
const u32 getRemainingBytes() const { return m_datasize - m_read_offset; }
|
||||
|
||||
// Returns a c-string without copying.
|
||||
// A better name for this would be getRawString()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue