ManiaScript Trackmania 2020  30/10/2024
CSystemPlatform Class Reference

API for platform calls. More...

#include <2024_10_30.h>

Inheritance diagram for CSystemPlatform:
CNod

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

Definition at line 5474 of file 2024_10_30.h.

Member Enumeration Documentation

◆ ESystemPlatform

Enumerator
None 
Steam 
UPlay 
PS4 
XBoxOne 
PS5 
XBoxSeries 
Stadia 
Luna 

Definition at line 5479 of file 2024_10_30.h.

5479  {
5480  None,
5481  Steam,
5482  UPlay,
5483  PS4,
5484  XBoxOne,
5485  PS5,
5486  XBoxSeries,
5487  Stadia,
5488  Luna,
5489  };

◆ ESystemSkuIdentifier

Enumerator
Unknown 
EU 
US 
JP 
CN 

Definition at line 5493 of file 2024_10_30.h.

5493  {
5494  Unknown,
5495  EU,
5496  US,
5497  JP,
5498  CN,
5499  };

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.

Definition at line 5515 of file 2024_10_30.h.

◆ CurrentLocalDateText

Text const CSystemPlatform::CurrentLocalDateText

Definition at line 5519 of file 2024_10_30.h.

◆ CurrentTimezone

Text const CSystemPlatform::CurrentTimezone

Definition at line 5523 of file 2024_10_30.h.

◆ CurrentTimezoneTimeOffset

Text const CSystemPlatform::CurrentTimezoneTimeOffset

Definition at line 5527 of file 2024_10_30.h.

◆ ExeVersion

Text const CSystemPlatform::ExeVersion

Definition at line 5511 of file 2024_10_30.h.

◆ ExtraTool_Data

Text CSystemPlatform::ExtraTool_Data

Definition at line 5535 of file 2024_10_30.h.

◆ ExtraTool_Info

Text const CSystemPlatform::ExtraTool_Info

Definition at line 5531 of file 2024_10_30.h.

◆ IsWritingUserSave

Boolean const CSystemPlatform::IsWritingUserSave

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

Definition at line 5547 of file 2024_10_30.h.

◆ Platform

CSystemPlatform::ESystemPlatform const CSystemPlatform::Platform

Definition at line 5503 of file 2024_10_30.h.

◆ SkuIdentifier

CSystemPlatform::ESystemSkuIdentifier const CSystemPlatform::SkuIdentifier

Definition at line 5507 of file 2024_10_30.h.


The documentation for this class was generated from the following file:
CSystemPlatform::CN
@ CN
Definition: 2024_10_30.h:5498
CSystemPlatform::Unknown
@ Unknown
Definition: 2024_10_30.h:5494
CSystemPlatform::US
@ US
Definition: 2024_10_30.h:5496
CSystemPlatform::Stadia
@ Stadia
Definition: 2024_10_30.h:5487
CSystemPlatform::Luna
@ Luna
Definition: 2024_10_30.h:5488
CSystemPlatform::UPlay
@ UPlay
Definition: 2024_10_30.h:5482
CSystemPlatform::None
@ None
Definition: 2024_10_30.h:5480
CSystemPlatform::XBoxSeries
@ XBoxSeries
Definition: 2024_10_30.h:5486
CSystemPlatform::XBoxOne
@ XBoxOne
Definition: 2024_10_30.h:5484
CSystemPlatform::PS5
@ PS5
Definition: 2024_10_30.h:5485
CSystemPlatform::EU
@ EU
Definition: 2024_10_30.h:5495
CSystemPlatform::Steam
@ Steam
Definition: 2024_10_30.h:5481
CSystemPlatform::JP
@ JP
Definition: 2024_10_30.h:5497
CSystemPlatform::PS4
@ PS4
Definition: 2024_10_30.h:5483