WoW:API TOSAccepted: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wowapi|Glue}}
This is a '[[World of Warcraft API/Glue|Glue]]' runtime Lua function. See also [[GlueXML]].
== Sample ==
== Sample ==


Line 7: Line 10:
     --user has not accepted Terms of Service
     --user has not accepted Terms of Service
  end
  end
[[Category:World of Warcraft API/GlueXML]]
[[Category:World of Warcraft API/GlueXML]]

Revision as of 06:09, 20 September 2013

Glue API < TOSAccepted

This is a 'Glue' runtime Lua function. See also GlueXML.

Sample

local acceptedTOS = TOSAccepted();
if(acceptedTOS) then
   --user accepted the Terms of Service
else
   --user has not accepted Terms of Service
end