mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-06 02:05:30 +01:00
Mark liquid and light updates low priority
This commit is contained in:
@@ -251,8 +251,8 @@ public:
|
||||
|
||||
void SentBlock(v3s16 p);
|
||||
|
||||
void SetBlockNotSent(v3s16 p);
|
||||
void SetBlocksNotSent(const std::vector<v3s16> &blocks);
|
||||
void SetBlockNotSent(v3s16 p, bool low_priority = false);
|
||||
void SetBlocksNotSent(const std::vector<v3s16> &blocks, bool low_priority = false);
|
||||
|
||||
/**
|
||||
* tell client about this block being modified right now.
|
||||
@@ -443,7 +443,7 @@ public:
|
||||
std::vector<session_t> getClientIDs(ClientState min_state=CS_Active);
|
||||
|
||||
/* mark blocks as not sent on all active clients */
|
||||
void markBlocksNotSent(const std::vector<v3s16> &positions);
|
||||
void markBlocksNotSent(const std::vector<v3s16> &positions, bool low_priority = false);
|
||||
|
||||
/* verify is server user limit was reached */
|
||||
bool isUserLimitReached();
|
||||
|
||||
Reference in New Issue
Block a user