WoW:API IsWindowsClient: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Corrected description mistake: function should return true on a "Windows" system instead of "Macintosh" system.)
m (Move page script moved page API IsWindowsClient to API IsWindowsClient without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''IsWindowsClient''' ''-Documentation by [[User:WyriHaximus|WyriHaximus]]-''</center>


Checks to see if client is running on Windows.
Checks to see if client is running on Windows.
Line 21: Line 20:


: Will check the user client and return true if the client is running on a Windows system.
: Will check the user client and return true if the client is running on a Windows system.
: If running on Linux with WINE, this returns true. IsLinuxClient(); is a relic from the World of Warcraft beta when there was a Linux client available.


----
----

Latest revision as of 04:46, 15 August 2023

WoW API < IsWindowsClient

Checks to see if client is running on Windows.

IsWindowsClient();

Arguments

none


Returns
true - If running on a Windows
false - If running on a Mac or Linux Box

Description
Will check the user client and return true if the client is running on a Windows system.
If running on Linux with WINE, this returns true. IsLinuxClient(); is a relic from the World of Warcraft beta when there was a Linux client available.