summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-13 04:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-29 05:01:37 +0300
commit031cdbe5b3f108d7a732c230d061c567de723a75 (patch)
treece23cf4125616c8c9cf2c9cea5b7cdaef03f3e00 /src/map/clif.h
parent73b971c66f460f5a1dcb600097b2551434f8726f (diff)
downloadhercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.gz
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.bz2
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.tar.xz
hercules-031cdbe5b3f108d7a732c230d061c567de723a75.zip
Add autogenerated messages list headers with original strings and translation.
Also add packet version checks for used messages.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 71dcba231..c80ed010a 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -55,6 +55,8 @@ struct skill_unit;
struct unit_data;
struct view_data;
+enum clif_messages;
+
/**
* Defines
**/
@@ -360,37 +362,6 @@ typedef enum useskill_fail_cause { // clif_skill_fail
USESKILL_FAIL_NEED_MORE_BULLET = 84,
}useskill_fail_cause;
-enum clif_messages {
- MSG_CANT_GET_ITEM_BECAUSE_WEIGHT = 0x034, ///< You cannot carry more items because you are overweight.
- MSG_CANT_USE_WHEN_SITDOWN = 0x297, ///< You cannot use this item while sitting.
- MSG_CANNOT_PARTYCALL = 0x4c5, ///< The party member was not summoned because you are not the party leader.
- MSG_NO_PARTYMEM_ON_THISMAP = 0x4c6, ///< There is no party member to summon in the current map.
- MSG_MER_FINISH = 0x4f2, ///< The mercenary contract has expired.
- MSG_MER_DIE = 0x4f3, ///< The mercenary has died.
- MSG_MER_RETIRE = 0x4f4, ///< You have released the mercenary.
- MSG_MER_RUNAWAY = 0x4f5, ///< The mercenary has run away.
- MSG_IMPOSSIBLE_SKILL_AREA = 0x536, ///< This skill cannot be used within this area
- MSG_IMPOSSIBLE_USEITEM_AREA = 0x537, ///< This item cannot be used within this area.
- MSG_OPEN_EQUIPEDITEM_REFUSED = 0x54d, ///< This character's equipment information is not open to the public.
- MSG_USESKILL_FAIL_MADOGEAR = 0x59b, ///< Item can only be used when Mado Gear is mounted.
- MSG_USESKILL_FAIL_CART = 0x5ef, ///< Usable only when cart is put on
- MSG_RUNESTONE_MAKEERROR_OVERCOUNT = 0x61b, ///< Cannot create Rune stone more than the maximum amount.
- MSG_UPGRADESKILLERROR_MORE_FIRSTJOBSKILL = 0x61e, ///< You must consume all '%d' remaining points in your 1st Job tab.
- MSG_UPGRADESKILLERROR_MORE_SECONDJOBSKILL = 0x61f, ///< You must consume all '%d' remaining points in your 2nd Job tab. 1st Tab is already done.
- MSG_SKILL_RECIPE_NOTEXIST = 0x622, ///< Inconvertible combination.
- MSG_SKILL_MATERIAL_FAIL = 0x625, ///< Material doesn't exist
- MSG_SKILL_SUCCESS = 0x626, ///< Successful
- MSG_SKILL_FAIL = 0x627, ///< Failed
- MSG_SKILL_FAIL_MATERIAL_IDENTITY = 0x62d, ///< Unable to use unchecked items as materials.
- MSG_CANNOT_EQUIP_ITEM_LEVEL = 0x6ed, ///< You are unable to have item in this level.
- MSG_CANNOT_USE_ITEM_LEVEL = 0x6ee, ///< You are unable to use item in this level
- MSG_ITEM_REUSE_LIMIT_SECOND = 0x746, ///< %d seconds left until you can use
- MSG_BUSY = 0x783, ///< any work in progress (NPC dialog, manufacturing...)quit and try again.
- MSG_FAIELD_RIDING_OVERLAPPED = 0x78b, ///< The reins of the status board items that are not available.
- MSG_PARTY_MASTER_CHANGE_SAME_MAP = 0x82e, ///< It is only possible to change the party leader while on the same map.
- MSG_ATTENDANCE_UNAVAILABLE = 0xd92, ///< Attendance Check failed. Please try again later.
-};
-
/**
* Used to answer CZ_PC_BUY_CASH_POINT_ITEM (clif_parse_cashshop_buy)
**/