LibDogTag-Unit-3.0

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 Mon, 16 Mar 2009 15:58:46 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 Mon, 16 Mar 2009 15:38:37 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 Mon, 16 Mar 2009 14:59:30 Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated on
16 Mar 2009
Reported on
16 Mar 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.

Reported by

Possible assignees