mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename CSM flavours to restrictions
& Satisfy LINT
This commit is contained in:
parent
7bdf5eae05
commit
db42542e27
13 changed files with 65 additions and 54 deletions
|
@ -462,7 +462,7 @@ private:
|
|||
u32 SendActiveObjectRemoveAdd(session_t peer_id, const std::string &datas);
|
||||
void SendActiveObjectMessages(session_t peer_id, const std::string &datas,
|
||||
bool reliable = true);
|
||||
void SendCSMFlavourLimits(session_t peer_id);
|
||||
void SendCSMRestrictionFlags(session_t peer_id);
|
||||
|
||||
/*
|
||||
Something random
|
||||
|
@ -650,9 +650,9 @@ private:
|
|||
std::unordered_map<std::string, ModMetadata *> m_mod_storages;
|
||||
float m_mod_storage_save_timer = 10.0f;
|
||||
|
||||
// CSM flavour limits byteflag
|
||||
u64 m_csm_flavour_limits = CSMFlavourLimit::CSM_FL_NONE;
|
||||
u32 m_csm_noderange_limit = 8;
|
||||
// CSM restrictions byteflag
|
||||
u64 m_csm_restriction_flags = CSMRestrictionFlags::CSM_RF_NONE;
|
||||
u32 m_csm_restriction_noderange = 8;
|
||||
|
||||
// ModChannel manager
|
||||
std::unique_ptr<ModChannelMgr> m_modchannel_mgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue