Documentation ¶
Index ¶
Constants ¶
View Source
const ( IOSPlatformID = iota + 1 AndroidPlatformID HuaweiPlatformID BrowserPlatformID ConsolePlatformID LinuxPlatformID WindowsPlatformID IOSPlatformStr = "IOS" AndroidPlatformStr = "Android" HuaweiPlatformStr = "Huawei" BrowserPlatformStr = "Browser" ConsolePlatformStr = "Console" LinuxPlatformStr = "Linux" WindowsPlatformStr = "Windows" )
Variables ¶
View Source
var PlatformID = []int{ IOSPlatformID, AndroidPlatformID, HuaweiPlatformID, BrowserPlatformID, ConsolePlatformID, LinuxPlatformID, WindowsPlatformID, }
View Source
var PlatformID2Name = map[int]string{ IOSPlatformID: IOSPlatformStr, AndroidPlatformID: AndroidPlatformStr, HuaweiPlatformID: HuaweiPlatformStr, BrowserPlatformID: BrowserPlatformStr, ConsolePlatformID: ConsolePlatformStr, LinuxPlatformID: LinuxPlatformStr, WindowsPlatformID: WindowsPlatformStr, }
View Source
var PlatformName2ID = map[string]int{ IOSPlatformStr: IOSPlatformID, AndroidPlatformStr: AndroidPlatformID, HuaweiPlatformStr: HuaweiPlatformID, BrowserPlatformStr: BrowserPlatformID, ConsolePlatformStr: ConsolePlatformID, LinuxPlatformStr: LinuxPlatformID, WindowsPlatformStr: WindowsPlatformID, }
View Source
var PlatformStr = []string{ IOSPlatformStr, AndroidPlatformStr, HuaweiPlatformStr, BrowserPlatformStr, ConsolePlatformStr, LinuxPlatformStr, WindowsPlatformStr, }
Functions ¶
func PlatformIDToName ¶
func PlatformNameToID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.