File chorus.toc changed (mode: 100644) (index 1a619ee..6c4dff2) |
1 |
1 |
##Interface: 30300 |
##Interface: 30300 |
2 |
2 |
##Notes: Add group frames and replace native solo frames. This is a work in progress. |
##Notes: Add group frames and replace native solo frames. This is a work in progress. |
3 |
3 |
##Title: Chorus |
##Title: Chorus |
4 |
|
##Version: 0.12.0-23-g2832bd5 |
|
|
4 |
|
##Version: 0.13.0 |
5 |
5 |
##SavedVariables: ChorusUnitGroupRoleMap, ChorusConf, ChorusConfProfileName, ChorusLuacheckrcDump |
##SavedVariables: ChorusUnitGroupRoleMap, ChorusConf, ChorusConfProfileName, ChorusLuacheckrcDump |
6 |
6 |
src\Chorus.xml |
src\Chorus.xml |
File src/ChorusPetFrameTemplate.lua changed (mode: 100644) (index 7bb745c..965e669) |
... |
... |
layout present pets neatly. |
41 |
41 |
@see FrameXML/SecureHandlers.lua:function SecureHandlerWrapScript |
@see FrameXML/SecureHandlers.lua:function SecureHandlerWrapScript |
42 |
42 |
|
|
43 |
43 |
@function petButtonInit |
@function petButtonInit |
|
44 |
|
|
44 |
45 |
@tparam frame b this protected pet button |
@tparam frame b this protected pet button |
45 |
|
@tparam frame secureHandler secure handler that will execute the secure script body for every pet button when appropriate |
|
46 |
|
@tparam string secureScriptBody the secure script that will be executed every time pets are added or removed from player group |
|
|
46 |
|
|
|
47 |
|
@tparam frame secureHandler secure handler that will execute the secure script |
|
48 |
|
body for every pet button when appropriate |
|
49 |
|
|
|
50 |
|
@tparam string secureScriptBody the secure script that will be executed every |
|
51 |
|
time pets are added or removed from player group |
|
52 |
|
|
47 |
53 |
@return nothing, only produces side effects |
@return nothing, only produces side effects |
48 |
54 |
]] |
]] |
49 |
55 |
local function petButtonInit(b, secureHandler, secureScriptBody) |
local function petButtonInit(b, secureHandler, secureScriptBody) |
|
... |
... |
Create forty pet buttons for the given pet frame to represent any pet in a raid |
81 |
87 |
@see petButtonInit |
@see petButtonInit |
82 |
88 |
|
|
83 |
89 |
@function petButtonFactory |
@function petButtonFactory |
84 |
|
@tparam frame petFrame this pets frame that will hold pet buttons created by this function |
|
85 |
|
@tparam string petButtonTemplate optional frame template for the pet button, defaults to `ChorusPetButtonTemplate` |
|
86 |
|
@tparam frame secureHandler secure handler that will execute the secure script body for every pet button when appropriate |
|
87 |
|
@tparam string secureScriptBody the secure script that will be executed every time pets are added or removed from player group |
|
|
90 |
|
|
|
91 |
|
@tparam frame petFrame this pets frame that will hold pet buttons created by |
|
92 |
|
this function |
|
93 |
|
|
|
94 |
|
@tparam string petButtonTemplate optional frame template for the pet button, |
|
95 |
|
defaults to `ChorusPetButtonTemplate` |
|
96 |
|
|
|
97 |
|
@tparam frame secureHandler secure handler that will execute the secure script |
|
98 |
|
body for every pet button when appropriate |
|
99 |
|
|
|
100 |
|
@tparam string secureScriptBody the secure script that will be executed every |
|
101 |
|
time pets are added or removed from player group |
|
102 |
|
|
88 |
103 |
@return nothing, only produces side effects |
@return nothing, only produces side effects |
89 |
104 |
]] |
]] |
90 |
105 |
local function petButtonFactory(petFrame, petButtonTemplate, secureHandler, secureScriptBody) |
local function petButtonFactory(petFrame, petButtonTemplate, secureHandler, secureScriptBody) |