Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
serverpackethandler.cpp File Reference
#include "chatmessage.h"
#include "server.h"
#include "log.h"
#include "emerge.h"
#include "mapblock.h"
#include "modchannels.h"
#include "nodedef.h"
#include "remoteplayer.h"
#include "rollback_interface.h"
#include "scripting_server.h"
#include "settings.h"
#include "tool.h"
#include "version.h"
#include "irrlicht_changes/printing.h"
#include "network/connection.h"
#include "network/networkprotocol.h"
#include "network/serveropcodes.h"
#include "server/player_sao.h"
#include "server/serverinventorymgr.h"
#include "util/auth.h"
#include "util/base64.h"
#include "util/pointedthing.h"
#include "util/serialize.h"
#include "util/srp.h"
#include "clientdynamicinfo.h"
+ Include dependency graph for serverpackethandler.cpp:

Functions

static void getWieldedItem (const PlayerSAO *playersao, std::optional< ItemStack > &ret)
 
static bool pkt_read_formspec_fields (NetworkPacket *pkt, StringMap &fields)
 

Function Documentation

◆ getWieldedItem()

static void getWieldedItem ( const PlayerSAO * playersao,
std::optional< ItemStack > & ret )
inlinestatic

References PlayerSAO::getWieldedItem().

Referenced by Server::handleCommand_Interact().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pkt_read_formspec_fields()

static bool pkt_read_formspec_fields ( NetworkPacket * pkt,
StringMap & fields )
static

References NetworkPacket::readLongString(), and sanitize_untrusted().

Referenced by Server::handleCommand_InventoryFields(), and Server::handleCommand_NodeMetaFields().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: