Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
l_client.cpp File Reference
#include "l_client.h"
#include "chatmessage.h"
#include "client/client.h"
#include "client/clientevent.h"
#include "client/sound.h"
#include "client/clientenvironment.h"
#include "common/c_content.h"
#include "common/c_converter.h"
#include "cpp_api/s_base.h"
#include "gettext.h"
#include "l_internal.h"
#include "lua_api/l_nodemeta.h"
#include "gui/mainmenumanager.h"
#include "map.h"
#include "util/string.h"
#include "nodedef.h"
+ Include dependency graph for l_client.cpp:

Classes

struct  CSMFlagDesc
 

Macros

#define checkCSMRestrictionFlag(flag)    ( getClient(L)->checkCSMRestrictionFlag(CSMRestrictionFlags::flag) )
 

Variables

static const CSMFlagDesc flagdesc_csm_restriction []
 

Macro Definition Documentation

◆ checkCSMRestrictionFlag

#define checkCSMRestrictionFlag ( flag)     ( getClient(L)->checkCSMRestrictionFlag(CSMRestrictionFlags::flag) )

Variable Documentation

◆ flagdesc_csm_restriction

const CSMFlagDesc flagdesc_csm_restriction[]
static
Initial value:
= {
{"load_client_mods", CSM_RF_LOAD_CLIENT_MODS},
{"chat_messages", CSM_RF_CHAT_MESSAGES},
{"read_itemdefs", CSM_RF_READ_ITEMDEFS},
{"read_nodedefs", CSM_RF_READ_NODEDEFS},
{"lookup_nodes", CSM_RF_LOOKUP_NODES},
{"read_playerinfo", CSM_RF_READ_PLAYERINFO},
{NULL, 0}
}
@ CSM_RF_LOAD_CLIENT_MODS
Definition networkprotocol.h:932
@ CSM_RF_LOOKUP_NODES
Definition networkprotocol.h:936
@ CSM_RF_CHAT_MESSAGES
Definition networkprotocol.h:933
@ CSM_RF_READ_NODEDEFS
Definition networkprotocol.h:935
@ CSM_RF_READ_ITEMDEFS
Definition networkprotocol.h:934
@ CSM_RF_READ_PLAYERINFO
Definition networkprotocol.h:937

Referenced by ModApiClient::l_get_csm_restrictions().