summaryrefslogtreecommitdiff
path: root/src/map/map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r--src/map/map.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp
index 60b3462..eddbfad 100644
--- a/src/map/map.hpp
+++ b/src/map/map.hpp
@@ -121,6 +121,15 @@ struct quick_regeneration
unsigned char tickdelay; // number of ticks to next update
};
+enum class AutoMod
+{
+ off = 0,
+ autokill,
+ automove,
+ autoblock,
+ autokick,
+};
+
struct map_session_data : block_list, SessionData
{
struct
@@ -298,6 +307,8 @@ struct map_session_data : block_list, SessionData
unsigned guild:1;
} mute;
+ AutoMod automod;
+
tick_t flood_rates[0x220];
tick_t packet_flood_reset_due;
int packet_flood_in;