From b9bf6ef9138bbf028b5b11e41ae29094eb94355e Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Mon, 22 Jun 2015 19:23:20 +0200 Subject: [PATCH] Placeholders Signed-off-by: Alar of Daggerspine --- ShipYard.lua | 9 +++++---- info.txt | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ShipYard.lua b/ShipYard.lua index d2a5934..7fb4a30 100644 --- a/ShipYard.lua +++ b/ShipYard.lua @@ -11,11 +11,12 @@ local generated local module=addon:NewSubClass('ShipYard') --#Module function module:OnInitialize() print("ShipYard Loaded") + self:SafeHookScript(GSF,"OnShow","Setup",true) end -function module:Setup() - print("Doing one time initialization") - self:SafeHookScript(GSF,"OnShow","GSF_OnShow",true) +function module:Setup(this,...) + print("Doing one time initialization for",this:GetName(),...) + self:SafeHookScript(GSF,"OnShow","OnShow",true) end -function module:GSF_OnShow() +function module:OnShow() print("Doing all time initialization") end diff --git a/info.txt b/info.txt index 0739699..2ed1975 100644 --- a/info.txt +++ b/info.txt @@ -442,3 +442,6 @@ TargetSpellHasFollowerItemLevelUpgrade", UpgradeBuilding", UpgradeGarrison", +GARRISON_FOLLOWER_ADDEDD 0x0000000000AAE2CA Moira's Hammer Destroyer 63895 100 2 false Ships_DreadnaughtA 2 +GARRISON_FOLLOWER_ADDEDD FollowerID name className displayID level foolowerTyoeID isFavorite texPrefix quality + -- 1.7.9.5