LibAvionOptions - API dokumentation
:Ace3Options(animationID, animationTable, textureList, soundList, functionList)
Arguments
- animationID:string - The unique identifier for this animation.
- animationTable:table - The table that defines this animation, see EOF for more.
- textureList:table - List of available textures (key=set-value, value=display)
- soundList:table - List of available sounds (key=set-value, value=display)
- functionList:table - List of available fuctions (key=set-value, value=display)
Returns
- options:table - Table that can be used for with ACE3 or Rock
Notes
- Builds an AceConfig3/Rock-Config-1.0 compatible options table for given animation.
:ShowGuideFrame(animationID, animationTable)
Arguments
- animationID:string - The unique identifier for this animation.
- animationTable:table - The table that defines this animation, see EOF for more.
Notes
- Shows a setup-overlay for easier animation configuration.
:HideGuideFrame(animationID)
Arguments
- animationID:string - The unique identifier for this animation.
Notes
- Hide setup-overlay again.
:UpdateGuideFrame(animationID)
Arguments
- animationID:string - The unique identifier for this animation.
Notes
- Will (force) the amimation to be updated according to updated animationTable.
:IsGuideFrameShown(animationID)
Arguments
- animationID:string - The unique identifier for this animation.
Notes
- Check if there is allready an setup-overlay assiciated with this identifier.
:ConvertAnimationTable(animationTable, textureList, soundList, functionList)
Arguments
- animationTable:table - The table that defines this animation, see EOF for more.
- textureList:table - List of available textures (key=set-value, value=display)
- soundList:table - List of available sounds (key=set-value, value=display)
- functionList:table - List of available fuctions (key=set-value, value=display)
Notes
- Will update the animation table, more precisly, it will set all entrys of animationFunc to its corresponding entry (defined by animationFuncNames entrys) in functionList. You should use this method to initialize your resently loaded animation tables, since functions won't be saved by wow. Just store the functions string identifier (NOTE: functionList = {[function]=identifier, ...}) in animationFuncNames and use this methode to restore the animation table. (Some goes for texture and sound)
:Embed(target)
Arguments
- target:table - Library or addon to embed LibAvion-2.0 in.
Notes
- Embeds methods from LibAvion-2.0 into target table.
Notes
- Callbacks are fired using CallbackHandler-1.0
Comments