LibResComm-1.0

  • 2 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Main DathRarhek Phanx Nov 29, 2012
This library is basically deprecated. Addons using it should consider switching to LibResInfo-1.0, which does not depend on other group members having anything installed. Keeps track of resurrection spells cast in a group. Uses the CTRA protocol for communication. Does not send messages when oRA2 or CTRA is enabled. Credits: originally written by DathRarhek, updated and improved by Myrroddin and Phanx Mists of Pandaria This version is backwards compatible, code-wise, but will only work on WoW...
API description DathRarhek myrroddin Aug 21, 2012
Getting a library reference local ResComm = LibStub:GetLibrary("LibResComm-1.0"); Registering a callback function MyAddon:OnEnable() ResComm.RegisterCallback(self, "ResComm_ResStart"); ResComm.RegisterCallback(self, "ResComm_CanRes"); end function MyAddon:ResComm_ResStart(event, resser, endTime, target) SendChatMessage(resser .. " is ressing "..target); end function MyAddon:ResComm_CanRes(event, name, typeToken, typeString) if typeToken == "SS" then SendChatMessage(name.." has been...
  • 2 pages found