summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorIbrahem Hossam <ibrahem.h.basyone@gmail.com>2016-09-12 00:34:15 +0200
committerGitHub <noreply@github.com>2016-09-12 00:34:15 +0200
commitb407b408f2397eb6661c4ea152f6652142670455 (patch)
tree8b5f1b8c4b2ac743a2fd56c407051585a257900e /src/map/script.h
parent5b67dd0f17949beb1a54ee0ac13bd9b07c1bdd40 (diff)
parentedd59a66d8bfc83e601343c6d841cfaf9e135319 (diff)
downloadhercules-b407b408f2397eb6661c4ea152f6652142670455.tar.gz
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.bz2
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.xz
hercules-b407b408f2397eb6661c4ea152f6652142670455.zip
Merge pull request #1422 from 4144/packetsid
Update some packet ids for newer clients and add navigation script command.
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index c4c082263..a69000991 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -338,6 +338,17 @@ enum {
MF_NOVIEWID
};
+enum navigation_service {
+ NAV_NONE = 0,
+ NAV_AIRSHIP_ONLY = 1,
+ NAV_SCROLL_ONLY = 10,
+ NAV_AIRSHIP_AND_SCROLL = NAV_AIRSHIP_ONLY + NAV_SCROLL_ONLY, //11
+ NAV_KAFRA_ONLY = 100,
+ NAV_KAFRA_AND_AIRSHIP = NAV_KAFRA_ONLY + NAV_AIRSHIP_ONLY, // 101
+ NAV_KAFRA_AND_SCROLL = NAV_KAFRA_ONLY + NAV_SCROLL_ONLY, // 110
+ NAV_ALL = NAV_AIRSHIP_ONLY + NAV_SCROLL_ONLY + NAV_KAFRA_ONLY // 111-255
+};
+
/**
* Structures
**/