diff options
Diffstat (limited to 'src/map/pc.t.hpp')
-rw-r--r-- | src/map/pc.t.hpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/map/pc.t.hpp b/src/map/pc.t.hpp new file mode 100644 index 0000000..feffd89 --- /dev/null +++ b/src/map/pc.t.hpp @@ -0,0 +1,44 @@ +#ifndef PC_T_HPP +#define PC_T_HPP + +#include <cstdint> + +enum class PC_GAINEXP_REASON +{ + KILLING = 0, + HEALING = 1, + SCRIPT = 2, + SHARING = 3, + + UNKNOWN, + COUNT, +}; + +enum class ADDITEM +{ + EXIST, + NEW, + OVERAMOUNT, + + // when used as error in nullpo_retr + ZERO = 0, +}; + +enum class CalcStatus +{ + NOW, + LATER , +}; + +enum class PickupFail : uint8_t +{ + OKAY = 0, + BAD_ITEM = 1, + TOO_HEAVY = 2, + TOO_FAR = 3, + INV_FULL = 4, + STACK_FULL = 5, + DROP_STEAL = 6, +}; + +#endif // PC_T_HPP |