LibWrapperHealComm-1.0

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

This is a small wrapper library that is used to make the transition from LibHealComm-3.0 to LibHealComm-4.0 easier for both authors and users. There are no function calls or callbacks to register for this to work.

Because LHC-3.0 does not send GUIDs for healing targets, the wrapper will try and figure out the GUID it will prioritize players over pets/vehicles. The first healing message sent from LibHealComm-3.0 will be ignored per user, so that if they are using both LHC-3.0 and LHC-4.0 it will not bug out.

Sending LHC-3.0 data

By default this will take LHC-4.0 data and send it in the LHC-3.0 format (when it can) assuming there is not an instance of 3.0 already running, this can be forcibly disabled using:

local WrapperHC = LibStub("LibWrapperHealComm-1.0")
WrapperHC:DisableSendingData(true)

How does this work?

This will not make addons work with LHC-4.0 that are currently using LHC-3.0, authors will have to update to take advantage of the new spells in 4.0.

When receiving LHC-3.0 data, it will attempt to convert it to the LHC-4.0 format locally provided the sender is not already sending LHC-4.0 data.
If the player is not running LHC-3.0 and someone in the group is running LHC-3.0, then it will convert LHC-4.0 data into the LHC-3.0 format. This cannot send any healing spells that LHC-3.0 does not already support.

Another library?! For how long?!

How long this library will be necessary depends on the changes Blizzard makes in the coming patches. Most likely this library will be phased out with Cataclysm or a patch that breaks compatibility with most mods, the library will still be available should people choose to continue embedding it but it wouldn't be needed.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    20468
  • Created
    Aug 16, 2009
  • Last Released File
    Dec 31, 2009
  • Total Downloads
    7,444
  • License

Categories

Members

Recent Files