summaryrefslogblamecommitdiff
path: root/src/map/pc.t.hpp
blob: feffd893e8f62ca6eadac7692079b3f606454948 (plain) (tree)
1
2
3
4
5
6
7
8
9







                            
                
                
                
 
            





                  
        
               






















                                        
#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