summaryrefslogtreecommitdiff
path: root/src/map/pc.t.hpp
blob: feffd893e8f62ca6eadac7692079b3f606454948 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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