WoW:API TOSAccepted: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API TOSAccepted to API TOSAccepted without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
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]]

Latest revision as of 04:47, 15 August 2023

Glue API < TOSAccepted

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

Sample[edit]

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