Mercurial > wow > libmoduledbshare-1-0
comparison LibModuleDBShare-1.0/LibModuleDBShare-1.0.lua @ 11:35159f132552 master
added initialProfile parameter to NewGroup
| author | Andrew Knoll <andrewtknoll@gmail.com> |
|---|---|
| date | Sat, 09 Mar 2013 21:50:36 -0500 |
| parents | 4366f51a7069 |
| children | 5947b9721b9c |
comparison
equal
deleted
inserted
replaced
| 10:d1472ab61fd1 | 11:35159f132552 |
|---|---|
| 15 local DBGroup = {}; | 15 local DBGroup = {}; |
| 16 | 16 |
| 17 --- Creates a new DB group. | 17 --- Creates a new DB group. |
| 18 -- @param groupName The name of the new DB group. | 18 -- @param groupName The name of the new DB group. |
| 19 -- @param usesDualSpec True if this group should use LibDualSpec, false otherwise. | 19 -- @param usesDualSpec True if this group should use LibDualSpec, false otherwise. |
| 20 -- @param initialProfile The name of the profile to start with. | |
| 20 -- @usage | 21 -- @usage |
| 21 -- local myAddonDBGroup = LibStub("LibModuleDBShare-1.0"):NewGroup("MyAddonGroupName", true) | 22 -- local myAddonDBGroup = LibStub("LibModuleDBShare-1.0"):NewGroup("MyAddonGroupName", true) |
| 22 -- @return the new DB group object | 23 -- @return the new DB group object |
| 23 function LibModuleDBShare:NewGroup(groupName, usesDualSpec) | 24 function LibModuleDBShare:NewGroup(groupName, usesDualSpec, initialProfile) |
| 24 | 25 |
| 25 end | 26 end |
| 26 | 27 |
| 27 --- Retrieves an existing DB group. | 28 --- Retrieves an existing DB group. |
| 28 -- @param groupName The name of the DB group to retrieve. | 29 -- @param groupName The name of the DB group to retrieve. |
