11 - Additional Tag: IsMounted
What is the enhancement in mind? How should it look and feel?
Add an IsMounted tag with a boolean return type.
edit: here this is actually working... I also wasn't sure which category would be most appropriate to put it in... I suppose cases could be made for both Auras and Misc.
DogTag:AddTag("Unit", "IsMounted", {
code = function()
return IsMounted()
end,
ret = "boolean",
doc = L["Return True if player is mounted"],
example = ('[IsMounted] => "True";[IsMounted] => ""'),
category = L["YOU DECIDE!"]
})
| User | When | Change |
|---|---|---|
| phaulen | Mar 16, 2009 at 15:58 UTC | Changed description:Add an IsMounted tag with a boolean return type. - edit: here this is actually working... breaks the help though (probably because I'm obviously leaving a lot of params out. I also wasn't sure which category would be most appropriate to put it in... + edit: here this is actually working... I also wasn't sure which category would be most appropriate to put it in... I suppose cases could be made for both Auras and Misc. <code> DogTag:AddTag("Unit", "IsMounted", { code = function() return IsMounted() end, - ret = "boolean" + ret = "boolean", + doc = L["Return True if player is mounted"], + example = ('[IsMounted] => "True";[IsMounted] => ""'), + category = L["YOU DECIDE!"] }) </code> |
| phaulen | Mar 16, 2009 at 15:38 UTC | Changed description type from Plain Text to Safe HTML Changed description: Add an IsMounted tag with a boolean return type. + edit: here this is actually working... breaks the help though (probably because I'm obviously leaving a lot of params out. I also wasn't sure which category would be most appropriate to put it in... + <code> + DogTag:AddTag("Unit", "IsMounted", { + code = function() + return IsMounted() + end, + ret = "boolean" + }) + </code> |
| phaulen | Mar 16, 2009 at 14:59 UTC | Create |
Facts
- Last updated
- Mar 16, 2009
- Reported
- Mar 16, 2009
- Status
- New - Issue has not had initial review yet.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 0