summaryrefslogtreecommitdiff
path: root/src/emap/send.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-27 20:51:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-27 20:51:44 +0300
commit1a4218d46ecbed547be1a6849448bbfa3ef82bf3 (patch)
treefa3c1fad5d085b64874bbdaaa93cf48d22ada38f /src/emap/send.h
parent01fd24443da378059a8e88c0755c5526e7b66cbc (diff)
downloadevol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.gz
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.bz2
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.xz
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.zip
Add homunculus exp packet (0xb22)
Diffstat (limited to 'src/emap/send.h')
-rw-r--r--src/emap/send.h34
1 files changed, 25 insertions, 9 deletions
diff --git a/src/emap/send.h b/src/emap/send.h
index d2d6397..583f12b 100644
--- a/src/emap/send.h
+++ b/src/emap/send.h
@@ -4,8 +4,16 @@
#ifndef EVOL_MAP_SEND
#define EVOL_MAP_SEND
-void send_npccommand (TBL_PC *sd, int npcId, int cmd);
-void send_npccommand2 (TBL_PC *sd, int npcId, int cmd, int id, int x, int y);
+enum send_target;
+
+struct block_list;
+struct homun_data;
+struct item_data;
+struct map_session_data;
+struct unit_data;
+
+void send_npccommand (struct map_session_data *sd, int npcId, int cmd);
+void send_npccommand2 (struct map_session_data *sd, int npcId, int cmd, int id, int x, int y);
void send_local_message(int fd, struct block_list* bl, const char* msg);
void send_changelook(struct map_session_data* sd, struct map_session_data* sd2, int fd,
int id, int type, int val, int val2,
@@ -15,7 +23,7 @@ void send_mapmask_brodcast(const int map, const int mask);
void send_mob_info(struct block_list* bl1, struct block_list* bl2, enum send_target target);
void send_advmoving(struct unit_data* ud, bool moving, struct block_list *tbl, enum send_target target);
void send_changemusic_brodcast(const int map, const char *music);
-void send_changenpc_title (TBL_PC *sd, const int npcId, const char *name);
+void send_changenpc_title (struct map_session_data *sd, const int npcId, const char *name);
void send_join_ack(int fd, const char *const name, int flag);
void send_pc_info(struct block_list* bl1,
struct block_list* bl2,
@@ -23,16 +31,22 @@ void send_pc_info(struct block_list* bl1,
void send_npc_info(struct block_list* bl1,
struct block_list* bl2,
enum send_target target);
-void send_slave_say(TBL_PC *sd,
+void send_slave_say(struct map_session_data *sd,
struct block_list *bl,
const char *const name,
const char *const message);
void send_online_list(int fd, const char *buf, unsigned size);
-void send_client_command(TBL_PC *sd, const char *const command);
-void send_changelook2(struct map_session_data* sd, struct block_list *bl,
- int id, int type,
- int val, int val2, struct item_data *data, int n,
- enum send_target target);
+void send_client_command(struct map_session_data *sd,
+ const char *const command);
+void send_changelook2(struct map_session_data* sd,
+ struct block_list *bl,
+ int id,
+ int type,
+ int val,
+ int val2,
+ struct item_data *data,
+ int n,
+ enum send_target target);
void send_setwall(int m,
int layer,
int x1, int y1,
@@ -53,5 +67,7 @@ void send_pc_killed(int fd,
void send_walk_fail(int fd,
int x,
int y);
+void send_homun_exp(struct homun_data *hd,
+ const int exp);
#endif // EVOL_MAP_SEND