summaryrefslogtreecommitdiff
path: root/src/emap/pc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/pc.h')
-rw-r--r--src/emap/pc.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/emap/pc.h b/src/emap/pc.h
new file mode 100644
index 0000000..e850b81
--- /dev/null
+++ b/src/emap/pc.h
@@ -0,0 +1,42 @@
+// 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);
+
+int epc_isuseequip_post(int retVal, struct map_session_data *sd, int *nPtr);
+
+int epc_useitem_post(int retVal, struct map_session_data *sd, int *nPtr);
+
+int epc_equipitem_post(int retVal, struct map_session_data *sd,
+ int *nPtr, int *data);
+
+int epc_unequipitem_post(int retVal, struct map_session_data *sd,
+ int *nPtr, int *data);
+
+int epc_check_job_name(const char *name);
+
+int epc_setnewpc(int retVal, struct map_session_data *sd,
+ int *account_id, int *char_id, int *login_id1,
+ unsigned int *client_tick, int *sex, int *fd);
+
+#endif // EVOL_MAP_PC