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










                                                                         
                                             
 
                                                      
 
                                                                      
 
                                                             
 
                                                 
 
                                              
 

                               
                      
// 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(TBL_PC* sd, int *type);

int epc_setregistry(TBL_PC *sd, int64 *reg, int *val);

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

void epc_unequipitem_pos(TBL_PC *sd, int *nPtr, int *posPtr);

bool epc_can_attack (TBL_PC *sd, int *target_id);

int epc_takeitem(TBL_PC *sd, TBL_ITEM *fitem);

void epc_validate_levels(void);

#endif  // EVOL_MAP_PC