API:ActionBarFrame OnEvent

__NOTOC__
Usage: Updates the Action Bars.
ActionBarFrame_OnEvent(this, event)
== Parameters ==
=== Arguments ===
:;this
::string - uses self frame name, "ActionBarFrame"
:;event
::string - valid events are "VARIABLES_LOADED" and "UNIT_CLASS_CHANGED"
=== Returns ===
:nil
== Example ==
ActionBarFrame_OnEvent("ActionBarFrame", "VARIABLES_LOADED")
== Related Functions ==
* ActionBar_Restoe
* ActionBarFrame_LoadIni
* ActionBarFrame_OnLoad
* ActionBarFrame_OnUpdate
* ActionBarFrame_Update
== Source Code ==
function ActionBarFrame_OnEvent(this, event)
	if ( event == "VARIABLES_LOADED" ) then
		ActionBarFrame_Update(this);
	elseif ( event == "UNIT_CLASS_CHANGED" ) then
		if ( arg1 == "player" ) then
			ActionBarFrame_Update(this);
		end
	end
end
Category:Functions