mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Separate anticheat settings (#15040)
This commit is contained in:
14
src/server.h
14
src/server.h
@@ -81,6 +81,20 @@ struct PackedValue;
|
||||
struct ParticleParameters;
|
||||
struct ParticleSpawnerParameters;
|
||||
|
||||
// Anticheat flags
|
||||
enum {
|
||||
AC_DIGGING = 0x01,
|
||||
AC_INTERACTION = 0x02,
|
||||
AC_MOVEMENT = 0x04
|
||||
};
|
||||
|
||||
constexpr const static FlagDesc flagdesc_anticheat[] = {
|
||||
{"digging", AC_DIGGING},
|
||||
{"interaction", AC_INTERACTION},
|
||||
{"movement", AC_MOVEMENT},
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
enum ClientDeletionReason {
|
||||
CDR_LEAVE,
|
||||
CDR_TIMEOUT,
|
||||
|
Reference in New Issue
Block a user