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

Add minetest.get_player_window_information() (#12367)

This commit is contained in:
rubenwardy
2023-02-27 22:58:41 +00:00
committed by GitHub
parent fbbdae93ee
commit 39f4d26177
23 changed files with 345 additions and 35 deletions

View File

@@ -195,6 +195,7 @@ public:
void handleCommand_SrpBytesA(NetworkPacket* pkt);
void handleCommand_SrpBytesM(NetworkPacket* pkt);
void handleCommand_HaveMedia(NetworkPacket *pkt);
void handleCommand_UpdateClientInfo(NetworkPacket *pkt);
void ProcessData(NetworkPacket *pkt);
@@ -341,6 +342,7 @@ public:
void DisconnectPeer(session_t peer_id);
bool getClientConInfo(session_t peer_id, con::rtt_stat_type type, float *retval);
bool getClientInfo(session_t peer_id, ClientInfo &ret);
const ClientDynamicInfo *getClientDynamicInfo(session_t peer_id);
void printToConsoleOnly(const std::string &text);