PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Platform

Platform

The Platform Enum is used to determine the operating system of the client.

Currently this can only be used in /CoreScripts.


Enums

Name Value Description

Windows

0

The client is running on a Windows Operating System.

OSX

1

The client is running on OSX (Apple desktop).

IOS

2

The client is running on IOS (Apple mobile).

Android

3

The client is running on Android (Google mobile).

XBoxOne

4

The client is running on an XBox One (console).

PS4

5

The client is running on a PS4 (console).

PS3

6

The client is running on a PS3 (console).

XBox360

7

The client is running on an XBox 360 (console).

WiiU

8

The client is running on a Wii U (console).

NX

9

The client is running on an NX Operating System (Cisco Nexus).

Ouya

10

The client is running on an Ouya Operating System (Android-Based).

AndroidTV

11

The client is running on an Android TV.

Chromecast

12

The client is running on Chromecast.

Linux

13

The client is running on a Linux Operating System (desktop).

SteamOS

14

The client is running on Steam.

WebOS

15

The client is running on WebOS.

DOS

16

The client is running on DOS.

BeOS

17

The client is running on BeOS.

UWP

18

The client is running on UWP.

None

19

The client’s operating system is unknown.

Referenced by

  • UserInputService/GetPlatform