summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-21 03:20:26 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-07 22:38:34 +0300
commite918e4d9a8a56cc6a0a653fa6398d731484496c7 (patch)
tree9f90a85e4adf0140fab745f275f5905ce1b932c8 /src/map/battle.h
parent072b831c2cf88f3161c0a0c2e4742d8f30f9701a (diff)
downloadhercules-e918e4d9a8a56cc6a0a653fa6398d731484496c7.tar.gz
hercules-e918e4d9a8a56cc6a0a653fa6398d731484496c7.tar.bz2
hercules-e918e4d9a8a56cc6a0a653fa6398d731484496c7.tar.xz
hercules-e918e4d9a8a56cc6a0a653fa6398d731484496c7.zip
Add ZC_PING and CZ_PING packets
For supported packet version, from now server send ping packets to client.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 7e03f0a8e..723a86874 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -580,6 +580,9 @@ struct Battle_Config {
int magicrod_type;
int feature_enable_achievement;
+
+ int ping_timer_interval;
+ int ping_time;
};
/* criteria for battle_config.idletime_critera */