From 9ca09d9849d13992836384903328688f2433871e Mon Sep 17 00:00:00 2001 From: AndreFaramir Date: Sun, 8 Apr 2012 17:19:58 -0300 Subject: [PATCH] remove unnecessary file --- modules/game_npctrade/callbacks.txt | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 modules/game_npctrade/callbacks.txt diff --git a/modules/game_npctrade/callbacks.txt b/modules/game_npctrade/callbacks.txt deleted file mode 100644 index 65d0bfed..00000000 --- a/modules/game_npctrade/callbacks.txt +++ /dev/null @@ -1,13 +0,0 @@ -void processOpenNpcTrade(const std::vector>& items); - void processPlayerGoods(int money, const std::vector>& goods); - void processCloseNpcTrade(); - -g_lua.callGlobalField("g_game", "onOpenNpcTrade", items); - g_lua.callGlobalField("g_game", "onPlayerGoods", goods); - g_lua.callGlobalField("g_game", "onCloseNpcTrade"); - - // npc trade related - void inspectNpcTrade(const ItemPtr& item); - void buyItem(const ItemPtr& item, int amount, bool ignoreCapacity, bool buyWithBackpack); - void sellItem(const ItemPtr& item, int amount, bool ignoreEquipped); - void closeNpcTrade(); \ No newline at end of file