summaryrefslogtreecommitdiff
path: root/src/map/pc.h
blob: 429a74d3f72cfd887e4d02bf655cb9d6d7947043 (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
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 Evol developers

#ifndef EVOL_MAP_PC
#define EVOL_MAP_PC

enum VarConst
{
    Const_ClientVersion = 10000
};

int epc_readparam_pre(struct map_session_data* sd, int *type);

int epc_setregistry(struct map_session_data *sd, int64 *reg, int *val);

void epc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int *posPtr);

void epc_unequipitem_pos(struct map_session_data *sd, int *nPtr, int *posPtr);

bool epc_can_attack (struct map_session_data *sd, int *target_id);

int epc_takeitem(struct map_session_data *sd, struct flooritem_data *fitem);

void epc_validate_levels(void);

#endif  // EVOL_MAP_PC