summaryrefslogblamecommitdiff
path: root/src/map/pc.h
blob: cfc37a0bad50e71a6f5ba5ae85f5299eac2cf89f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                         

                                                                       



                                                                                       

                                                                  

                                                                            
                      
// 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);

#endif  // EVOL_MAP_PC