Quantcast

Placeholders

Alar of Daggerspine [06-22-15 - 17:23]
Placeholders

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
ShipYard.lua
info.txt
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
+