diff Templates.lua @ 98:dadddb8a551f

- bag scan intervals - progress visualization - artifact xp updates
author Nenue
date Tue, 17 Jan 2017 09:49:15 -0500
parents caded2668701
children 74d6d97a2d24
line wrap: on
line diff
--- a/Templates.lua	Mon Jan 16 20:24:12 2017 -0500
+++ b/Templates.lua	Tue Jan 17 09:49:15 2017 -0500
@@ -54,4 +54,13 @@
   if not anchorAll then
     Veneer:InternalReanchor(self)
   end
+end
+
+function VeneerHandlerMixin:Print(...)
+  local txt = '|cFFFFFF00'..self:GetName()..'|r:'
+  for i = 1, select('#', ...) do
+    txt = txt .. ' '.. tostring(select(i, ...))
+  end
+
+  DEFAULT_CHAT_FRAME:AddMessage(txt)
 end
\ No newline at end of file