Fandom

WoWWiki

API IsLinuxClient

104,822pages on
this wiki
Add New Page
Talk0 Share
WoW API < IsLinuxClient

This is a boolean function which returns true if World of Warcraft is being run using the Linux client, it will return false with the Windows client under wine or OS X client run on other operating systems. Although there is no current official Linux client, the beta version of WoW had a Linux client, and the code retains a function to test for it.

eg

if IsLinuxClient() then
   s = "./myfile.xml"
else
   s = "myfile.xml"
end


[1]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.