BanzaiLib

From WowAce Wiki

(Redirected from Banzai-1.0)
Jump to: navigation, search
Summary
Lib: BanzaiLib
Aggro notification library.
TOC 2.3 (20300)
Category Libraries
Author Rabbit
Details
Version 1.1
Credits maia
Embeds Ace2, RosterLib
Links
Betas Ace SVN Zip
Changelog FishEye

Contents

This addon page is not claimed.
Please see Unclaimed Addon Pages for more details.

BanzaiLib provides you with a set of events and methods for aggro notification.

Banzai-1.0 requires AceLibrary, AceOO-2.0, AceEvent-2.0 and RosterLib-2.0.

API Documentation

Events

Banzai_UnitGainedAggro

Triggered when a unit in your raid group gains aggro.

Args

unitId
string - The unit ID that got aggro.
unitTable
table - Table containing the unit ID's of the units that aggroed the given unit.

Banzai_PlayerGainedAggro

Triggered when you gain aggro.

Args

unitTable
table - Table containing the unit ID's of the units that aggroed you.

Banzai_UnitLostAggro

Triggered when a unit in your raid group loses aggro.

Args

unitId
string - The unit that lost aggro.

Banzai_PlayerLostAggro

Triggered when you lost aggro.

Args

unitId
string - The unit that lost aggro.

Methods

GetUnitAggroByUnitId

Returns the current aggro status (nil/true) of the given unit ID.

Args

unitId
string - The unit ID to query for.

GetUnitAggroByUnitName

Returns the current aggro status (nil/true) of the given unit name.

Args

unitName
string - The unit to query for.
Personal tools
Support the Site