Mercurial > wow > mylilpony
comparison libMyLilPony/libMyLilPony_miscFunctions.lua @ 15:21764271e02f
Updated addon versioning to automatically update with repo revision.
author | syzler |
---|---|
date | Sun, 10 Apr 2011 07:30:01 +0000 |
parents | b1e344c17ab5 |
children | 22011265a16f |
comparison
equal
deleted
inserted
replaced
14:b1e344c17ab5 | 15:21764271e02f |
---|---|
1 -- libMyLilPony | |
2 -- Copyright (c) 2011, Syzler | 1 -- Copyright (c) 2011, Syzler |
3 -- All rights reserved. | 2 -- All rights reserved. |
4 -- | 3 -- |
5 -- Redistribution and use in source and binary forms, with or without | 4 -- Redistribution and use in source and binary forms, with or without |
6 -- modification, are permitted provided that the following conditions | 5 -- modification, are permitted provided that the following conditions |
27 -- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 26 -- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
28 -- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | 27 -- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
29 -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 28 -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
30 -- POSSIBILITY OF SUCH DAMAGE. | 29 -- POSSIBILITY OF SUCH DAMAGE. |
31 | 30 |
31 ------------------------------------------------------------------------ | |
32 -- Project: libMyLilPony | |
33 -- Project Version: @project-version@ | |
34 -- Last Author: @file-author@ | |
35 -- Last Updated: @file-date-iso@ | |
36 -- | |
32 -- Misc helper functions used in the library | 37 -- Misc helper functions used in the library |
38 ------------------------------------------------------------------------ | |
33 | 39 |
34 --- Gets a hashtable of buffs on the specified unit. | 40 --- Gets a hashtable of buffs on the specified unit. |
35 -- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose buffs are to be retrieved. | 41 -- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose buffs are to be retrieved. |
36 -- @returns a hashtable of buff spell IDs keyed on the ID. | 42 -- @returns a hashtable of buff spell IDs keyed on the ID. |
37 function MyLilPony.GetUnitBuffs(unit) | 43 function MyLilPony.GetUnitBuffs(unit) |