Trackmania ManiaScript Reference 2024.9.17.1117
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 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.

◆ IsWritingUserSave

Boolean const CSystemPlatform::IsWritingUserSave

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


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