diff options
author | gumi <git@gumi.ca> | 2019-04-12 12:12:38 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-04-15 11:58:44 -0400 |
commit | 1886d63ef5986a3e613b4880dc7ae00636435e0a (patch) | |
tree | 33da7b7c6e40eda3150da361038c668b546986d2 /src/map/map.hpp | |
parent | 74b9c2b7a055be043e449b3907059e5d2e5b49ed (diff) | |
download | tmwa-1886d63ef5986a3e613b4880dc7ae00636435e0a.tar.gz tmwa-1886d63ef5986a3e613b4880dc7ae00636435e0a.tar.bz2 tmwa-1886d63ef5986a3e613b4880dc7ae00636435e0a.tar.xz tmwa-1886d63ef5986a3e613b4880dc7ae00636435e0a.zip |
add gm automod tool
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r-- | src/map/map.hpp | 11 |
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; |