Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CSystemPlatform Class Reference

API for platform calls. More...

#include <doc.h>

Inheritance diagram for CSystemPlatform:
[legend]

Public Types

enum  ESystemPlatform {
  None , Steam , UPlay , PS4 ,
  XBoxOne , PS5 , XBoxSeries , Stadia ,
  Luna
}
enum  ESystemSkuIdentifier {
  Unknown , EU , US , JP ,
  CN
}

Public Member Functions

Void ClipboardSet (Text ClipboardText)
Void FlashWindow ()

Public Attributes

CSystemPlatform::ESystemPlatform const Platform
CSystemPlatform::ESystemSkuIdentifier const SkuIdentifier
Text const ExeVersion
Integer const CurrentLocalDate
Text const CurrentLocalDateText
Text const CurrentTimezone
Text const CurrentTimezoneTimeOffset
Text const ExtraTool_Info
Text ExtraTool_Data
Boolean const IsWritingUserSave
Public Attributes inherited from CNod
Ident const Id

Detailed Description

API for platform calls.

Supported declare modes :

  • Local

Member Enumeration Documentation

◆ ESystemPlatform

Enumerator
None 
Steam 
UPlay 
PS4 
XBoxOne 
PS5 
XBoxSeries 
Stadia 
Luna 

◆ ESystemSkuIdentifier

Enumerator
Unknown 
EU 
US 
JP 
CN 

Member Function Documentation

◆ ClipboardSet()

Void CSystemPlatform::ClipboardSet ( Text ClipboardText)

◆ FlashWindow()

Void CSystemPlatform::FlashWindow ( )

Member Data Documentation

◆ CurrentLocalDate

Integer const CSystemPlatform::CurrentLocalDate

Beware: altough it is a number of seconds since 'local epoch', this is not a unix timestamp as it is the time in the local time zone. It is only useful for localized UI. Use Timelib::GetCurrent() instead if you need an absolute unix timestamp.

◆ CurrentLocalDateText

Text const CSystemPlatform::CurrentLocalDateText

◆ CurrentTimezone

Text const CSystemPlatform::CurrentTimezone

◆ CurrentTimezoneTimeOffset

Text const CSystemPlatform::CurrentTimezoneTimeOffset

◆ ExeVersion

Text const CSystemPlatform::ExeVersion

◆ ExtraTool_Data

Text CSystemPlatform::ExtraTool_Data

◆ ExtraTool_Info

Text const CSystemPlatform::ExtraTool_Info

◆ IsWritingUserSave

Boolean const CSystemPlatform::IsWritingUserSave

Background write to usersave in progress. Do not switch off the console.

◆ Platform

CSystemPlatform::ESystemPlatform const CSystemPlatform::Platform

◆ SkuIdentifier

CSystemPlatform::ESystemSkuIdentifier const CSystemPlatform::SkuIdentifier

The documentation for this class was generated from the following file: