summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-11 01:29:34 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-05 22:22:04 +0300
commitefd93a0d67a1dc90c68aa7185c2cdea7f55aa66b (patch)
tree8b29dfe7511fc0b7f84b9101d56e227d53e5eabb /src/map/clif.c
parente550b6e991fea6dfeca280200245bbc8401188f9 (diff)
downloadhercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.gz
hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.bz2
hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.xz
hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.zip
Add packet ZC_LOAD_CONFIRM
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 89daf48b7..11bd2218a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -21835,6 +21835,17 @@ static void clif_parse_attendance_reward_request(int fd, struct map_session_data
static void clif_parse_cz_blocking_play_cancel(int fd, struct map_session_data *sd) __attribute__((nonnull(2)));
static void clif_parse_cz_blocking_play_cancel(int fd, struct map_session_data *sd)
{
+ clif->loadConfirm(sd);
+}
+
+static void clif_loadConfirm(struct map_session_data *sd)
+{
+#if PACKETVER_MAIN_NUM >= 20190403 || PACKETVER_RE_NUM >= 20190320 || PACKETVER_ZERO_NUM >= 20190410
+ nullpo_retv(sd);
+ struct PACKET_ZC_LOAD_CONFIRM p;
+ p.packetType = HEADER_ZC_LOAD_CONFIRM;
+ clif->send(&p, sizeof(p), &sd->bl, SELF);
+#endif
}
static void clif_ui_action(struct map_session_data *sd, int32 UIType, int32 data)
@@ -23409,4 +23420,5 @@ void clif_defaults(void)
clif->pingTimer = clif_pingTimer;
clif->pingTimerSub = clif_pingTimerSub;
clif->pResetCooldown = clif_parse_ResetCooldown;
+ clif->loadConfirm = clif_loadConfirm;
}