Mercurial > wow > mylilpony
comparison libMyLilPony/libMyLilPony_miscFunctions.lua @ 14:b1e344c17ab5
Changing to BSD license for more flexibility in licensing for derived addons and using as a library.
| author | syzler |
|---|---|
| date | Sun, 10 Apr 2011 07:12:30 +0000 |
| parents | d96c15f7477b |
| children | 21764271e02f |
comparison
equal
deleted
inserted
replaced
| 13:cca898af07b4 | 14:b1e344c17ab5 |
|---|---|
| 1 -- libMyLilPony | 1 -- libMyLilPony |
| 2 -- Copyright (c) 2011 Syzler | 2 -- Copyright (c) 2011, Syzler |
| 3 -- All rights reserved. | |
| 3 -- | 4 -- |
| 4 -- This program is free software: you can redistribute it and/or modify | 5 -- Redistribution and use in source and binary forms, with or without |
| 5 -- it under the terms of the GNU General Public License as published by | 6 -- modification, are permitted provided that the following conditions |
| 6 -- the Free Software Foundation, either version 3 of the License, or | 7 -- are met: |
| 7 -- (at your option) any later version. | |
| 8 -- | 8 -- |
| 9 -- This program is distributed in the hope that it will be useful, | 9 -- * Redistributions of source code must retain the above copyright |
| 10 -- but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 -- notice, this list of conditions and the following disclaimer. |
| 11 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 -- * Redistributions in binary form must reproduce the above copyright |
| 12 -- GNU General Public License for more details. | 12 -- notice, this list of conditions and the following disclaimer in |
| 13 -- the documentation and/or other materials provided with the | |
| 14 -- distribution. | |
| 15 -- * Neither the name of the MyLilPony Project nor the names of its | |
| 16 -- contributors may be used to endorse or promote products derived | |
| 17 -- from this software without specific prior written permission. | |
| 13 -- | 18 -- |
| 14 -- You should have received a copy of the GNU General Public License | 19 -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 15 -- along with this program. If not, see <http://www.gnu.org/licenses/>. | 20 -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 21 -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
| 22 -- FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
| 23 -- COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
| 24 -- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
| 25 -- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
| 26 -- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
| 27 -- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
| 28 -- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
| 29 -- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
| 30 -- POSSIBILITY OF SUCH DAMAGE. | |
| 16 | 31 |
| 17 -- Misc helper functions used in the library | 32 -- Misc helper functions used in the library |
| 18 | 33 |
| 19 --- Gets a hashtable of buffs on the specified unit. | 34 --- Gets a hashtable of buffs on the specified unit. |
| 20 -- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose buffs are to be retrieved. | 35 -- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose buffs are to be retrieved. |
