CGameManiaPlanetScriptAPI

Trackmania Next API


CGameManiaPlanetScriptAPI

ID 0x030D7000
Uninstantiable

Inherits from MwFoundations::CMwNod

Internal API for Maniaplanet.

Methods

void ClipboardSet(wstring ClipboardText)

void OpenLink(string Url, CGameManiaPlanetScriptAPI::ELinkType LinkType)

void QuitGameAndOpenLink(string Url)

void InstallTitle(string TitleId)

void InstallTitleFromUrl(string Url, wstring DisplayName)

void InstallTitleFromUrlEx1(string Url, wstring DisplayName, bool EnterAfterInstall)

void InstallTitleFromUrlEx2(string Url, wstring DisplayName, wstring OpenLinkAfterInstall)

void ShowTitle(string TitleId, bool ShowStation)

void SelectTitle(string TitleId)

void EnterTitle(string TitleId)

void ShowCurMapCard()

void SetMenuStationsActive(bool Activate)

void Dialog_Message(wstring Message)

void Dialog_EnterGameKey()

void Dialog_BuyTitleDialog(string TitleId, string OverrideBuyUrl, int OverrideActionAfterBuy)

void Dialog_BuyTitleEx(string TitleId, CGameManiaPlanetScriptAPI::EBuyTitleMode Mode, string OverrideBuyUrl, int OverrideActionAfterBuy)

void Dialog_GenerateGameKeys(string TitleId, uint FeaturesLevel, uint NbToGenerate, bool AddBuddyOnRegistration)

void Dialog_BuyStations()

void Dialog_SetServerFavourite(string ServerLogin, bool Favorite, bool Silent)

void Dialog_JoinServer(string ServerLogin, string ServerPassword, bool LAN, bool Spectate, string TitleId, bool Silent, bool ChannelServer)

void Dialog_QuitGame()

void Dialog_ChangeAvatar()

void Dialog_ChangeHorn()

void Dialog_ChangeCrosshair()

void Dialog_ChangeZone()

void Dialog_ChangePassword()

void Dialog_CommitProfileChanges()

void Dialog_CleanCache()

void Dialog_BindInput(int ActionIndex, CInputScriptPad@ Device)

void Dialog_UnbindInputDevice(CInputScriptPad@ Device)

void Dialog_DefaultInputBindings(CInputScriptPad@ Device)

void CustomMenu_Request(wstring Type, MwFastBuffer<wstring>& Data)

bool ParentalLock_Lock(string Password)

bool ParentalLock_Unlock(string Password, bool UnlockOnce)

void SetLocalUserClubLink(string ClubLink)

void SetLocalUserNickName(wstring NickName)

void SetLocalUserNickNameAndTrigram(wstring NickName, string Trigram)

void FlashWindow()

void CreateShortcut(string ShortcutName, string Url)

void HideSystemLoadingScreen()

void TmTurbo_LoadingOpportunity()

void LogToSessionTrace(wstring Text)

void Authentication_GetToken(MwId UserId, string AppLogin)

void MasterServer_ReleaseMSTaskResult(MwId TaskId)

CWebServicesTaskResult_PlanetsTransaction_Bill@ PlanetsTransaction_GivePlanets(string LoginPayee, uint Cost, wstring Label)

CWebServicesTaskResult@ BuyFullGame(MwId UserId)

void HMD_Activate(bool Enable)

void HMD_ResetTracking()

void HMD_SelectUser()

void DisplaySettings_LoadCurrent()

void DisplaySettings_Unload()

void DisplaySettings_Apply()

void AudioSettings_LoadCurrent()

void AudioSettings_Unload()

void AudioSettings_Apply()

void InputBindings_UpdateList(CGameManiaPlanetScriptAPI::EInputsListFilter Filter, CInputScriptPad@ Device)

void Language_Apply()

void DirectLink_Clear()

Members

const int Now

const string CurrentLocalDateText

const wstring CurrentTimezone

const CGamePlayerInfo@ LocalUser

const CGameManiaTitle@ LoadedTitle

const MwFastBuffer<CGameManiaTitle@> TitlesAvailable

const MwFastBuffer<CGameManiaTitle@> TitlesBases

const MwFastBuffer<string> TitleIdsInstalled

const MwFastBuffer<string> TitleIdsPayed

const uint EmptyStationsCount

const CSystemPlatformScript@ System

const CGameManiaPlanetScriptAPI::ESystemPlatform SystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne
ESystemPlatform::PS5
ESystemPlatform::XBoxSeries
ESystemPlatform::Stadia
ESystemPlatform::Luna

const CGameManiaPlanetScriptAPI::ESystemSkuIdentifier SystemSkuIdentifier

ESystemSkuIdentifier::Unknown
ESystemSkuIdentifier::EU
ESystemSkuIdentifier::US
ESystemSkuIdentifier::JP
ESystemSkuIdentifier::CN

const string ExeVersion

const CGameCtnChallenge@ CurrentMap

const CGameManiaPlanetScriptAPI::EContext ActiveContext

EContext::MenuStartUp
EContext::MenuManiaPlanet
EContext::MenuManiaTitleMain
EContext::MenuProfile
EContext::MenuSolo
EContext::MenuLocal
EContext::MenuMulti
EContext::MenuEditors
EContext::EditorPainter
EContext::EditorTrack
EContext::EditorMediaTracker
EContext::Solo
EContext::SoloLoadScreen
EContext::Multi
EContext::MultiLoadScreen
EContext::MenuCustom
EContext::Unknown

const string ActiveContext_MenuFrame

const string ActiveContext_InGameDialogFrame

const string ActiveContext_DialogFrame

const string ActiveContext_SystemDialogFrame

const bool ActiveContext_ClassicDialogDisplayed

const uint ActiveContext_GameWill

const bool ActiveContext_ManialinkBrowserDisplayed

const bool ActiveContext_MenuStationsDisplayed

const bool ActiveContext_InGameMenuDisplayed

const CGameManiaPlanetScriptAPI::EMenuStationsPage ActiveContext_MenuStationsPage

EMenuStationsPage::Channels
EMenuStationsPage::Play
EMenuStationsPage::Options
EMenuStationsPage::Help

const CGameManiaPlanetScriptAPI::EMenuStationsPage ActiveContext_MenuStationsClickedPage

EMenuStationsPage::Channels
EMenuStationsPage::Play
EMenuStationsPage::Options
EMenuStationsPage::Help

const bool ActiveContext_IsProfileEditable

const string CurrentServerLogin

const wstring CurrentServerName

const wstring CurrentServerModeName

const string CurrentServerJoinLink

const MwFastBuffer<CGamePlayerInfo@> CurrentServerPlayers

const uint CurrentAppId

bool IsPrivateSession

const bool IsKioskMode

const bool ParentalLock_IsLocked

const uint TotalTimePlay

const uint AddictionLimiter_TimeLeftToday

const uint Messenger_MessagesCount

const uint AccountPlanets

const bool IsTitleTimeLimited

const bool IsTitleTimeLimitActivated

const bool CanUnlockTitleTimeLimitOnStore

const uint TitleTimeLeft

const uint CurConnectionDate

const uint PrevConnectionDate

const bool TmTurbo_IsDemo

const bool TmTurbo_IsPartialInstall

const bool TmTurbo_IsBeta

const bool TmTurbo_IsSlowInstall

bool Settings_StationsManualLayout

const bool PersistentIsReady

const bool Dialog_IsFinished

const bool Dialog_Success

const bool Dialog_Aborted

bool IsLiveStreamingEnabled

bool IsRemotePlayEnabled

const CGameScriptChatManager@ ChatManager

const NGameScriptChat_SContext@ ChatContext

const string ServerChatLog

const CGameUserManagerScript@ UserMgr

const CGameUserManagerScript@ WSNotificationMgr

const bool Authentication_GetTokenResponseReceived

const uint Authentication_ErrorCode

const string Authentication_Token

const MwFastBuffer<CWebServicesTaskResult@> MasterServer_MSTaskResults

const CGameMasterServerUserInfo@ MasterServer_MainMSUser

const MwFastBuffer<CGameMasterServerUserInfo@> MasterServer_MSUsers

const bool HMD_IsActive

const vec3 HMD_HeadTranslation

const float HMD_HeadYaw

const float HMD_HeadPitch

const float HMD_HeadRoll

const CGameUserScript@ HMD_CurrentUser

float HMD_WorldScale

float HMD_MoveScale

float HMD_HUD_Distance

const CGameManiaPlanetScriptAPI::EHmdWearingState HMD_WearingState

EHmdWearingState::Dismount
EHmdWearingState::Mount
EHmdWearingState::Unknown

const CGameManiaPlanetScriptAPI::EHmdTrackingState HMD_TrackingState

EHmdTrackingState::NotStarted
EHmdTrackingState::Calibrating
EHmdTrackingState::NotTracking
EHmdTrackingState::Tracking

const bool HMD_IsUserWarnBySystem_OutOfPlayArea

bool Cameras_BlackOut

const CGameDisplaySettingsWrapper@ DisplaySettings

const CGameAudioSettingsWrapper@ AudioSettings

bool AudioSettings_EnableAudio

float AudioSettings_MasterSoundVolume

float AudioSettings_SoundVolume_Scene

float AudioSettings_SoundVolume_Ui

float AudioSettings_MasterMusicVolume

bool AudioSettings_MuteWhenAppUnfocused

bool AudioSettings_DontMuteWhenAppUnfocused

float MasterSoundVolume

float MasterMusicVolume

const string Config_GameScriptConfigJson

const MwFastBuffer<wstring> InputBindings_ActionNames

const MwFastBuffer<wstring> InputBindings_Bindings

const MwFastBuffer<string> InputBindings_BindingsRaw

const uint InputBindings_PlayerInputsCount

const MwFastBuffer<string> Language_AvailableChoices

const MwFastBuffer<wstring> Language_AvailableChoices_Names

const string Language_Current

string Language_NextStart

CGameManiaPlanetScriptAPI::ENetworkSpeed NetworkSpeed

ENetworkSpeed::Custom
ENetworkSpeed::_100Kbps
ENetworkSpeed::_1Mbps
ENetworkSpeed::_10Mbps
ENetworkSpeed::_100Mbps

uint NetworkSpeed_CustomDownload

uint NetworkSpeed_CustomUpload

const uint NetworkSpeed_Download

const uint NetworkSpeed_Upload

bool Network_EnableMapModLocators

bool Network_EnableMapSkinLocators

bool Network_EnableVehicleSkinLocators

CGameManiaPlanetScriptAPI::EPlayerInfoDisplayType Interface_PlayerInfoDisplayType

EPlayerInfoDisplayType::Name
EPlayerInfoDisplayType::Avatar
EPlayerInfoDisplayType::AvatarAndName

int Interface_PlayerInfoDisplaySize

const bool SkipIntroAndEpilepsyWarning

bool SystemSettings_SkipIntro

const bool SystemSettings_SkipIntro_ReadOnly

const CGameDirectLinkScript@ DirectLink

const CGameManiaPlanetScriptAPI::ENetworkSpeed NetworkSpeed_Current

ENetworkSpeed::Custom
ENetworkSpeed::_100Kbps
ENetworkSpeed::_1Mbps
ENetworkSpeed::_10Mbps
ENetworkSpeed::_100Mbps

CGameManiaPlanetScriptAPI::ENetworkSpeed NetworkSpeed_NextStart

ENetworkSpeed::Custom
ENetworkSpeed::_100Kbps
ENetworkSpeed::_1Mbps
ENetworkSpeed::_10Mbps
ENetworkSpeed::_100Mbps

const uint NetworkSpeed_CustomDownload_Current

uint NetworkSpeed_CustomDownload_NextStart

const uint NetworkSpeed_CustomUpload_Current

uint NetworkSpeed_CustomUpload_NextStart

const uint NetworkSpeed_Download_NextStart

const uint NetworkSpeed_Upload_NextStart

Inherited members CMwNod

string IdName

const MwId Id

Enums

EContext

EContext::MenuStartUp
EContext::MenuManiaPlanet
EContext::MenuManiaTitleMain
EContext::MenuProfile
EContext::MenuSolo
EContext::MenuLocal
EContext::MenuMulti
EContext::MenuEditors
EContext::EditorPainter
EContext::EditorTrack
EContext::EditorMediaTracker
EContext::Solo
EContext::SoloLoadScreen
EContext::Multi
EContext::MultiLoadScreen
EContext::MenuCustom
EContext::Unknown

ELinkType

ELinkType::ExternalBrowser
ELinkType::ManialinkBrowser

EBuyTitleMode

EBuyTitleMode::OpenStore
EBuyTitleMode::BuyIfNeeded
EBuyTitleMode::Ask

EMenuStationsPage

EMenuStationsPage::Channels
EMenuStationsPage::Play
EMenuStationsPage::Options
EMenuStationsPage::Help

ESystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne
ESystemPlatform::PS5
ESystemPlatform::XBoxSeries
ESystemPlatform::Stadia
ESystemPlatform::Luna

ESystemSkuIdentifier

ESystemSkuIdentifier::Unknown
ESystemSkuIdentifier::EU
ESystemSkuIdentifier::US
ESystemSkuIdentifier::JP
ESystemSkuIdentifier::CN

EHmdWearingState

EHmdWearingState::Dismount
EHmdWearingState::Mount
EHmdWearingState::Unknown

EHmdTrackingState

EHmdTrackingState::NotStarted
EHmdTrackingState::Calibrating
EHmdTrackingState::NotTracking
EHmdTrackingState::Tracking

EInputsListFilter

EInputsListFilter::All
EInputsListFilter::OnlyGeneral
EInputsListFilter::OnlyPlayer

EPlayerInfoDisplayType

EPlayerInfoDisplayType::Name
EPlayerInfoDisplayType::Avatar
EPlayerInfoDisplayType::AvatarAndName

ENetworkSpeed

ENetworkSpeed::Custom
ENetworkSpeed::_100Kbps
ENetworkSpeed::_1Mbps
ENetworkSpeed::_10Mbps
ENetworkSpeed::_100Mbps

Documentation from build 2024-04-30 16:52:32
(Page rendering: 0.06 seconds, 15.92 MB)