summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.sources.inc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-04 16:12:09 -0300
committershennetsind <ind@henn.et>2013-10-04 16:12:09 -0300
commita49787ff1589d86efa87263676761ddcbecd64ce (patch)
tree3f4c4f003f261d51995f0e3ff7092bbf82bbab68 /src/plugins/HPMHooking/HPMHooking.sources.inc
parent2f2afbd3b63a75695f8f96e3bcb4db9fff5a7dc6 (diff)
downloadhercules-a49787ff1589d86efa87263676761ddcbecd64ce.tar.gz
hercules-a49787ff1589d86efa87263676761ddcbecd64ce.tar.bz2
hercules-a49787ff1589d86efa87263676761ddcbecd64ce.tar.xz
hercules-a49787ff1589d86efa87263676761ddcbecd64ce.zip
HPM: Hooking!
http://hercules.ws/board/topic/2399-hpm-hooking-now-available/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.sources.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.sources.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.sources.inc b/src/plugins/HPMHooking/HPMHooking.sources.inc
new file mode 100644
index 000000000..89a668e0c
--- /dev/null
+++ b/src/plugins/HPMHooking/HPMHooking.sources.inc
@@ -0,0 +1,37 @@
+memcpy(&HPMHooks.source.atcommand, atcommand, sizeof(struct atcommand_interface));
+memcpy(&HPMHooks.source.battle, battle, sizeof(struct battle_interface));
+memcpy(&HPMHooks.source.bg, bg, sizeof(struct battleground_interface));
+memcpy(&HPMHooks.source.buyingstore, buyingstore, sizeof(struct buyingstore_interface));
+memcpy(&HPMHooks.source.chat, chat, sizeof(struct chat_interface));
+memcpy(&HPMHooks.source.chrif, chrif, sizeof(struct chrif_interface));
+memcpy(&HPMHooks.source.clif, clif, sizeof(struct clif_interface));
+memcpy(&HPMHooks.source.duel, duel, sizeof(struct duel_interface));
+memcpy(&HPMHooks.source.elemental, elemental, sizeof(struct elemental_interface));
+memcpy(&HPMHooks.source.guild, guild, sizeof(struct guild_interface));
+memcpy(&HPMHooks.source.gstorage, gstorage, sizeof(struct guild_storage_interface));
+memcpy(&HPMHooks.source.homun, homun, sizeof(struct homunculus_interface));
+memcpy(&HPMHooks.source.instance, instance, sizeof(struct instance_interface));
+memcpy(&HPMHooks.source.intif, intif, sizeof(struct intif_interface));
+memcpy(&HPMHooks.source.ircbot, ircbot, sizeof(struct irc_bot_interface));
+memcpy(&HPMHooks.source.itemdb, itemdb, sizeof(struct itemdb_interface));
+memcpy(&HPMHooks.source.logs, logs, sizeof(struct log_interface));
+memcpy(&HPMHooks.source.mail, mail, sizeof(struct mail_interface));
+memcpy(&HPMHooks.source.map, map, sizeof(struct map_interface));
+memcpy(&HPMHooks.source.mapit, mapit, sizeof(struct mapit_interface));
+memcpy(&HPMHooks.source.mapreg, mapreg, sizeof(struct mapreg_interface));
+memcpy(&HPMHooks.source.mercenary, mercenary, sizeof(struct mercenary_interface));
+memcpy(&HPMHooks.source.mob, mob, sizeof(struct mob_interface));
+memcpy(&HPMHooks.source.npc, npc, sizeof(struct npc_interface));
+memcpy(&HPMHooks.source.party, party, sizeof(struct party_interface));
+memcpy(&HPMHooks.source.path, path, sizeof(struct path_interface));
+memcpy(&HPMHooks.source.pc, pc, sizeof(struct pc_interface));
+memcpy(&HPMHooks.source.pet, pet, sizeof(struct pet_interface));
+memcpy(&HPMHooks.source.quest, quest, sizeof(struct quest_interface));
+memcpy(&HPMHooks.source.script, script, sizeof(struct script_interface));
+memcpy(&HPMHooks.source.searchstore, searchstore, sizeof(struct searchstore_interface));
+memcpy(&HPMHooks.source.skill, skill, sizeof(struct skill_interface));
+memcpy(&HPMHooks.source.status, status, sizeof(struct status_interface));
+memcpy(&HPMHooks.source.storage, storage, sizeof(struct storage_interface));
+memcpy(&HPMHooks.source.trade, trade, sizeof(struct trade_interface));
+memcpy(&HPMHooks.source.unit, unit, sizeof(struct unit_interface));
+memcpy(&HPMHooks.source.vending, vending, sizeof(struct vending_interface));