CGameCtnEditorPlugin

TrackMania Turbo API


CGameCtnEditorPlugin

ID 0x03160000
Uninstantiable

Inherits from Game::CGameManiaApp → MwFoundations::CMwNod

API for the plugins of the map editor.

Inherited by

Game::CGameCtnEditorPluginMapType 0x03154000
Methods

void ComputeShadows()

void ComputeShadows1(CGameCtnEditorPlugin::EShadowsQuality ShadowsQuality)

void Undo()

void Redo()

void Help()

void Validate()

void AutoSave()

void Quit()

void QuickQuit()

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

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

void TestMapFromStart()

void TestMapFromCoord(int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

void TestMapFromCoordWithMapTypeScript(int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

void TestMapWithMode(wstring RulesModeName)

void StartTestMapWithMode(wstring RulesModeName)

void SaveMap(wstring FileName)

void SaveMapCompat(wstring FileName, wstring Path)

bool GetRaceCamera(vec3 Position, float Yaw, float Pitch, float Roll, float FovY)

void RemoveAllBlocks()

void RemoveAllTerrain()

void RemoveAllOffZone()

void RemoveAllObjects()

void RemoveAll()

void RemoveAllBlocksAndTerrain()

void ShowCustomSelection()

void HideCustomSelection()

void CopyPaste_Copy()

void CopyPaste_Cut()

void CopyPaste_Remove()

void CopyPaste_SelectAll()

void CopyPaste_ResetSelection()

void OpenToolsMenu()

void EditMediatrackIngame()

void PreloadAllBlocks()

void PreloadAllItems()

bool CanPlaceBlock(CGameCtnBlockInfo@ BlockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir, bool OnGround, uint VariantIndex)

bool PlaceBlock(CGameCtnBlockInfo@ BlockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool CanPlaceBlock_NoDestruction(CGameCtnBlockInfo@ BlockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir, bool OnGround, uint VariantIndex)

bool PlaceBlock_NoDestruction(CGameCtnBlockInfo@ BlockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool CanPlaceRoadBlocks(CGameCtnBlockInfo@ BlockModel, int2 StartCoord, int2 EndCoord)

bool PlaceRoadBlocks(CGameCtnBlockInfo@ BlockModel, int2 StartCoord, int2 EndCoord)

bool CanPlaceTerrainBlocks(CGameCtnBlockInfo@ BlockModel, int2 StartCoord, int2 EndCoord)

bool PlaceTerrainBlocks(CGameCtnBlockInfo@ BlockModel, int2 StartCoord, int2 EndCoord)

bool PlaceTerrainBlocks_NoDestruction(CGameCtnBlockInfo@ BlockModel, int2 StartCoord, int2 EndCoord)

bool CanPlaceMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool PlaceMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool CanPlaceMacroblock_NoDestruction(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool PlaceMacroblock_NoDestruction(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool CanPlaceMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool PlaceMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool RemoveMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

bool RemoveMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int2 Coord, CGameCtnEditorPlugin::ECardinalDirections Dir)

CGameCtnBlock@ GetBlock(int2 Coord)

bool IsBlockModelSkinnable(CGameCtnBlockInfo@ BlockModel)

uint GetNbBlockModelSkins(CGameCtnBlockInfo@ BlockModel)

wstring GetBlockModelSkinName(CGameCtnBlockInfo@ BlockModel, uint SkinIndex)

uint GetBlockSkinIndex(CGameCtnBlock@ Block)

void SetBlockSkinIndex(CGameCtnBlock@ Block, uint SkinIndex)

bool OpenBlockSkinDialog(CGameCtnBlock@ Block)

bool RemoveBlock(int2 Coord)

bool RemoveTerrainBlocks(int2 StartCoord, int2 EndCoord)

uint GetBlockGroundHeight(CGameCtnBlockInfo@ BlockModel, int CoordX, int CoordZ, CGameCtnEditorPlugin::ECardinalDirections Dir)

uint GetGroundHeight(int CoordX, int CoordZ)

int2 GetMouseCoordOnGround()

int2 GetMouseCoordAtHeight(uint CoordY)

CGameCtnBlock@ GetStartLineBlock()

bool RemoveItem(CGameCtnEditorScriptSpecialProperty@ Item)

void CopyPaste_AddOrSubSelection(int2 StartCoord, int2 EndCoord)

bool CopyPaste_Symmetrize()

void SaveMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel)

CGameCtnMacroBlockInfo@ GetMacroblockModelFromName(wstring MacroblockModelName)

CGameCtnMacroBlockInfo@ GetMacroblockModelFromFilePath(wstring MacroblockModelFilePath)

CGameCtnBlockInfo@ GetTerrainBlockModelFromName(wstring TerrainBlockModelName)

CGameCtnBlockInfo@ GetBlockModelFromName(wstring BlockModelName)

wstring GetMapStyle()

void SetMapStyle(wstring MapStyle)

uint GetInterfaceNumber(CGameCtnCollector@ Collector)

void SetInterfaceNumber(CGameCtnCollector@ Collector, uint NewValue)

Members

const MwFastBuffer<CGameCtnEditorPluginScriptEvent@> PendingEvents

const CGameCtnChallenge@ Map

const wstring MapName

const bool IsEditorReadyForRequest

bool HoldLoadingScreen

const CGameCtnEditorPlugin::EShadowsQuality CurrentShadowsQuality

EShadowsQuality::NotComputed
EShadowsQuality::VeryFast
EShadowsQuality::Fast
EShadowsQuality::Default
EShadowsQuality::High
EShadowsQuality::Ultra

const bool IsUltraShadowsQualityAvailable

CGameCtnEditorPlugin::EPlaceMode PlaceMode

EPlaceMode::Unknown
EPlaceMode::Terraform
EPlaceMode::Block
EPlaceMode::Macroblock
EPlaceMode::Skin
EPlaceMode::CopyPaste
EPlaceMode::Test
EPlaceMode::Plugin
EPlaceMode::CustomSelection
EPlaceMode::OffZone
EPlaceMode::BlockProperty
EPlaceMode::Path
EPlaceMode::GhostBlock
EPlaceMode::Item

CGameCtnEditorPlugin::EditMode EditMode

EditMode::Unknown
EditMode::Place
EditMode::FreeLook
EditMode::Erase
EditMode::Pick
EditMode::SelectionAdd
EditMode::SelectionRemove

bool UndergroundMode

bool BlockStockMode

int3 CursorCoord

CGameCtnEditorPlugin::ECardinalDirections CursorDir

ECardinalDirections::North
ECardinalDirections::East
ECardinalDirections::South
ECardinalDirections::West

CGameCtnBlockInfo@ CursorBlockModel

CGameCtnBlockInfo@ CursorTerrainBlockModel

CGameCtnMacroBlockInfo@ CursorMacroblockModel

float CameraVAngle

float CameraHAngle

float CameraToTargetDistance

vec3 CameraTargetPosition

const vec3 CameraPosition

vec3 TargetedPosition

float ThumbnailCameraVAngle

float ThumbnailCameraHAngle

float ThumbnailCameraRoll

float ThumbnailCameraFovY

vec3 ThumbnailCameraPosition

bool EnableAirMapping

bool EnableMixMapping

const MwFastBuffer<CGameCtnEditorScriptAnchoredObject@> Items

const MwFastBuffer<wstring> MediatrackIngameClips

const MwFastBuffer<wstring> MediatrackIngameIsScriptClips

uint MediatrackIngameEditedClipIndex

const MwFastBuffer<CGameCtnBlock@> Blocks

const MwFastBuffer<CGameCtnBlockInfo@> BlockModels

const MwFastBuffer<CGameCtnBlockInfo@> TerrainBlockModels

const MwFastBuffer<CGameCtnMacroBlockInfo@> MacroblockModels

const MwFastBuffer<CGameCtnEditorScriptSpecialProperty@> AnchorData

MwFastBuffer<int3> CustomSelectionCoords

vec3 CustomSelectionRGB

bool EnableEditorInputsCustomProcessing

bool EnableCursorShowingWhenInterfaceIsFocused

bool HideEditorInterface

bool HideBlockHelpers

bool ShowPlacementGrid

bool IsTrustedPlugin_DevBuild

const CGameCtnEditorPlugin::EditorStatus EditorStatus

EditorStatus::Running
EditorStatus::ChallengeType
EditorStatus::Objectives
EditorStatus::ToPlayground
EditorStatus::ChangeEditor
EditorStatus::Save
EditorStatus::SaveSameId
EditorStatus::ToPlaygroundRecordPath
EditorStatus::QuickSave
EditorStatus::QuickLoad
EditorStatus::EditToolsMenu
EditorStatus::Quit
EditorStatus::QuickQuit
EditorStatus::ReplayRemoveAllKeys
EditorStatus::ReplaySave
EditorStatus::ReplayQuit
EditorStatus::ToAnim
EditorStatus::ToItem
EditorStatus::ToEditor
EditorStatus::ToLayer
EditorStatus::EditSequences
EditorStatus::QuickEditInGameClipGroup
EditorStatus::ComputeShadows
EditorStatus::ComputeShadowsFromScript
EditorStatus::ShootVideo
EditorStatus::ShootScreen
EditorStatus::Preview
EditorStatus::EditBlock
EditorStatus::EditBlockQuit
EditorStatus::AdditionalToolsMenu
EditorStatus::RecordGhost
EditorStatus::SaveMacroblock
EditorStatus::EditCameraEffectScript
EditorStatus::SaveFromScript
EditorStatus::CreatePluginScript
EditorStatus::EditPluginScript
EditorStatus::EditMapTypeScript
EditorStatus::ReloadMapTypeScript
EditorStatus::EditClipConfigScript
EditorStatus::ChooseMapType
EditorStatus::ClipExport
EditorStatus::ChooseBlockSkin
EditorStatus::Count

bool HideAlwaysCursorDirectionalArrow

float CursorBrightnessFactor

bool EnableUnlimitedUndoHistory

uint UndoHistorySize

uint CoppersLimit

bool TurboClassicMapEditorMode

const bool EditorInputIsDown_Menu

const bool EditorInputIsDown_SwitchToRace

const bool EditorInputIsDown_Undo

const bool EditorInputIsDown_Redo

const bool EditorInputIsDown_CursorUp

const bool EditorInputIsDown_CursorRight

const bool EditorInputIsDown_CursorDown

const bool EditorInputIsDown_CursorLeft

const bool EditorInputIsDown_CursorRaise

const bool EditorInputIsDown_CursorLower

const bool EditorInputIsDown_CursorTurn

const bool EditorInputIsDown_CursorPick

const bool EditorInputIsDown_CursorPlace

const bool EditorInputIsDown_CursorDelete

const bool EditorInputIsDown_CameraUp

const bool EditorInputIsDown_CameraRight

const bool EditorInputIsDown_CameraDown

const bool EditorInputIsDown_CameraLeft

const bool EditorInputIsDown_CameraZoomNext

const bool EditorInputIsDown_Camera0

const bool EditorInputIsDown_Camera1

const bool EditorInputIsDown_Camera3

const bool EditorInputIsDown_Camera7

const bool EditorInputIsDown_Camera9

const bool EditorInputIsDown_PivotChange

const bool EditorInputIsDown_CursorTurnSlightly

const bool EditorInputIsDown_CursorTurnSlightlyAntiClockwise

const bool EditorInputIsDown_IconUp

const bool EditorInputIsDown_IconRight

const bool EditorInputIsDown_IconDown

const bool EditorInputIsDown_IconLeft

const bool EditorInputIsDown_RemoveAll

const bool EditorInputIsDown_Save

const bool EditorInputIsDown_SaveAs

const bool EditorInputIsDown_MapStyle

const bool EditorInputIsDown_ClassicMapEditor

const float CollectionSquareSize

const float CollectionSquareHeight

const uint CollectionGroundY

const CGameCtnEditorPlugin::EValidationStatus ValidationStatus

EValidationStatus::NotValidable
EValidationStatus::Validable
EValidationStatus::Validated

string ManialinkText

const CGameManialinkPage@ ManialinkPage

Inherited methods CGameManiaApp

CGameUILayer@ UILayerCreate()

void UILayerDestroy(CGameUILayer@ Layer)

void UILayerDestroyAll()

void LayerCustomEvent(CGameUILayer@ Layer, wstring Type, MwFastBuffer<wstring>& Data)

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

wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)

Inherited members CGameManiaApp

const string DbgUrl

const int Now

const bool IsVisible

const uint CurrentDate

const string CurrentLocalDateText

uint LayersDefaultManialinkVersion

const CGamePlayerInfo@ LocalUser

const CGameManiaTitle@ LoadedTitle

const CGameManiaApp::ESystemPlatform SystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne

const CGameManiaApp::ESystemSkuIdentifier SystemSkuIdentifier

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

bool EnableMenuNavigationInputs

const float MouseX

const float MouseY

const MwFastBuffer<CGameUILayer@> UILayers

const CXmlScriptManager@ Xml

const CNetScriptHttpManager@ Http

const CGameVideoScriptManager@ Video

const CAudioScriptManager@ Audio

const CInputScriptManager@ Input

const CGameDataManagerScript@ DataMgr

const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr

const CGameUserPrivilegesManagerScript@ PrivilegeMgr

const CGameMasterServerRichPresenceManagerScript@ PresenceMgr

const CGameUserManagerScript@ UserMgr

const CGameManiaPlanetScriptAPI@ ManiaPlanet

const CGamePluginInterfacesScript@ Plugins

Inherited members CMwNod

string IdName

const MwId Id

Enums

ECardinalDirections

ECardinalDirections::North
ECardinalDirections::East
ECardinalDirections::South
ECardinalDirections::West

EPlaceMode

EPlaceMode::Unknown
EPlaceMode::Terraform
EPlaceMode::Block
EPlaceMode::Macroblock
EPlaceMode::Skin
EPlaceMode::CopyPaste
EPlaceMode::Test
EPlaceMode::Plugin
EPlaceMode::CustomSelection
EPlaceMode::OffZone
EPlaceMode::BlockProperty
EPlaceMode::Path
EPlaceMode::GhostBlock
EPlaceMode::Item

EditMode

EditMode::Unknown
EditMode::Place
EditMode::FreeLook
EditMode::Erase
EditMode::Pick
EditMode::SelectionAdd
EditMode::SelectionRemove

EShadowsQuality

EShadowsQuality::NotComputed
EShadowsQuality::VeryFast
EShadowsQuality::Fast
EShadowsQuality::Default
EShadowsQuality::High
EShadowsQuality::Ultra

EValidationStatus

EValidationStatus::NotValidable
EValidationStatus::Validable
EValidationStatus::Validated

EditorStatus

EditorStatus::Running
EditorStatus::ChallengeType
EditorStatus::Objectives
EditorStatus::ToPlayground
EditorStatus::ChangeEditor
EditorStatus::Save
EditorStatus::SaveSameId
EditorStatus::ToPlaygroundRecordPath
EditorStatus::QuickSave
EditorStatus::QuickLoad
EditorStatus::EditToolsMenu
EditorStatus::Quit
EditorStatus::QuickQuit
EditorStatus::ReplayRemoveAllKeys
EditorStatus::ReplaySave
EditorStatus::ReplayQuit
EditorStatus::ToAnim
EditorStatus::ToItem
EditorStatus::ToEditor
EditorStatus::ToLayer
EditorStatus::EditSequences
EditorStatus::QuickEditInGameClipGroup
EditorStatus::ComputeShadows
EditorStatus::ComputeShadowsFromScript
EditorStatus::ShootVideo
EditorStatus::ShootScreen
EditorStatus::Preview
EditorStatus::EditBlock
EditorStatus::EditBlockQuit
EditorStatus::AdditionalToolsMenu
EditorStatus::RecordGhost
EditorStatus::SaveMacroblock
EditorStatus::EditCameraEffectScript
EditorStatus::SaveFromScript
EditorStatus::CreatePluginScript
EditorStatus::EditPluginScript
EditorStatus::EditMapTypeScript
EditorStatus::ReloadMapTypeScript
EditorStatus::EditClipConfigScript
EditorStatus::ChooseMapType
EditorStatus::ClipExport
EditorStatus::ChooseBlockSkin
EditorStatus::Count

Documentation from build 2016-11-07 16:15:45
(Page rendering: 0.06 seconds, 11.37 MB)