API for the plugins of the map editor.
Inherits from Game::CGameManiaApp → MwFoundations::CMwNod
Inherits from Game::CGameManiaApp → MwFoundations::CMwNod
API for the plugins of the map editor.
void ComputeShadows()
void ComputeShadows1(CGameEditorPluginMap::EShadowsQuality ShadowsQuality)
void DisplayDefaultSetObjectivesDialog()
bool Undo()
bool 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(int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
void TestMapWithMode(wstring RulesModeName)
void TestMapWithMode2(wstring RulesModeName, string SettingsXml)
void TestMapWithMode_SplitScreen(wstring RulesModeName)
void TestMapWithMode_SplitScreen_n(wstring RulesModeName, uint ScreenCount)
void TestMapWithMode_SplitScreen_n_m(wstring RulesModeName, uint ScreenCount, uint FakeCount, string SettingsXml)
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, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir, bool OnGround, uint VariantIndex)
bool PlaceBlock(CGameCtnBlockInfo@ BlockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool CanPlaceBlock_NoDestruction(CGameCtnBlockInfo@ BlockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir, bool OnGround, uint VariantIndex)
bool PlaceBlock_NoDestruction(CGameCtnBlockInfo@ BlockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool CanPlaceRoadBlocks(CGameCtnBlockInfo@ BlockModel, int3 StartCoord, int3 EndCoord)
bool PlaceRoadBlocks(CGameCtnBlockInfo@ BlockModel, int3 StartCoord, int3 EndCoord)
bool CanPlaceTerrainBlocks(CGameCtnBlockInfo@ BlockModel, int3 StartCoord, int3 EndCoord)
bool PlaceTerrainBlocks(CGameCtnBlockInfo@ BlockModel, int3 StartCoord, int3 EndCoord)
bool PlaceTerrainBlocks_NoDestruction(CGameCtnBlockInfo@ BlockModel, int3 StartCoord, int3 EndCoord)
bool CanPlaceMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool PlaceMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool CanPlaceMacroblock_NoDestruction(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool PlaceMacroblock_NoDestruction(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool CanPlaceMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool PlaceMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool RemoveMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool RemoveMacroblock_NoTerrain(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
CGameCtnBlock@ GetBlock(int3 Coord)
CGameCtnBlock@ GetBlockSafe(CGameCtnBlockInfo@ BlockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool IsBlockModelSkinnable(CGameCtnBlockInfo@ BlockModel)
uint GetNbBlockModelSkins(CGameCtnBlockInfo@ BlockModel)
wstring GetBlockModelSkin(CGameCtnBlockInfo@ BlockModel, uint SkinIndex)
wstring GetSkinDisplayName(wstring SkinFileName)
wstring GetBlockSkin(CGameCtnBlock@ Block)
void SetBlockSkin(CGameCtnBlock@ Block, wstring SkinFileName)
bool IsMacroblockModelSkinnable(CGameCtnMacroBlockInfo@ BlockModel)
bool SetMacroblockSkin(CGameEditorMapMacroBlockInstance@ Macroblock, wstring SkinFileName)
bool OpenBlockSkinDialog(CGameCtnBlock@ Block)
bool RemoveBlock(int3 Coord)
bool RemoveBlockSafe(CGameCtnBlockInfo@ BlockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool RemoveTerrainBlocks(int3 StartCoord, int3 EndCoord)
uint GetBlockGroundHeight(CGameCtnBlockInfo@ BlockModel, int CoordX, int CoordZ, CGameEditorPluginMap::ECardinalDirections Dir)
uint GetGroundHeight(int CoordX, int CoordZ)
int3 GetMouseCoordOnGround()
int3 GetMouseCoordAtHeight(uint CoordY)
CGameCtnBlock@ GetStartLineBlock()
bool RemoveItem(CGameCtnEditorScriptSpecialProperty@ Item)
void CopyPaste_AddOrSubSelection(int3 StartCoord, int3 EndCoord)
bool CopyPaste_Symmetrize()
void SaveMacroblock(CGameCtnMacroBlockInfo@ MacroblockModel)
CGameCtnMacroBlockInfo@ GetMacroblockModelFromName(wstring MacroblockModelName)
CGameCtnMacroBlockInfo@ GetMacroblockModelFromFilePath(wstring MacroblockModelFilePath)
CGameCtnBlockInfo@ GetTerrainBlockModelFromName(wstring TerrainBlockModelName)
CGameCtnBlockInfo@ GetBlockModelFromName(wstring BlockModelName)
CGameEditorMapScriptClipList@ CreateFrameClipList()
CGameEditorMapScriptClipList@ CreateFixedClipList()
void UnvalidateMetadata()
void UnvalidateGameplayInfo()
void UnvalidatePlayfield()
bool RemoveMacroblock_NoTerrain_NoUnvalidate(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
bool PlaceMacroblock_NoTerrain_NoUnvalidate(CGameCtnMacroBlockInfo@ MacroblockModel, int3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
void GetConnectResults(CGameCtnBlock@ ExistingBlock, CGameCtnBlockInfo@ NewBlock)
void GetConnectResultsBlockToMacroBlock(CGameCtnBlock@ ExistingBlock, CGameCtnMacroBlockInfo@ NewBlock)
void GetConnectResultsMacroBlockToBlock(CGameEditorMapMacroBlockInstance@ ExistingBlock, CGameCtnBlockInfo@ NewBlock)
void GetConnectResultsMacroBlockToMacroBlock(CGameEditorMapMacroBlockInstance@ ExistingBlock, CGameCtnMacroBlockInfo@ NewBlock)
int GetStartBlockCount(bool IncludeMultilaps)
int GetFinishBlockCount(bool IncludeMultilaps)
int GetMultilapBlockCount()
int GetCheckpointBlockCount()
CGameEditorMapMacroBlockInstance@ CreateMacroblockInstance(CGameCtnMacroBlockInfo@ MacroblockModel, nat3 Coord, CGameEditorPluginMap::ECardinalDirections Dir)
CGameEditorMapMacroBlockInstance@ CreateMacroblockInstanceWithUserData(CGameCtnMacroBlockInfo@ MacroblockModel, nat3 Coord, CGameEditorPluginMap::ECardinalDirections Dir, int UserData)
CGameEditorMapMacroBlockInstance@ CreateMacroblockInstanceWithClipList(CGameCtnMacroBlockInfo@ MacroblockModel, nat3 Coord, CGameEditorPluginMap::ECardinalDirections Dir, CGameEditorMapScriptClipList@ DefaultClipList)
CGameEditorMapMacroBlockInstance@ CreateMacroblockInstanceWithClipListAndUserData(CGameCtnMacroBlockInfo@ MacroblockModel, nat3 Coord, CGameEditorPluginMap::ECardinalDirections Dir, CGameEditorMapScriptClipList@ DefaultClipList, int UserData)
CGameEditorMapMacroBlockInstance@ GetMacroblockInstanceFromOrder(uint Order)
CGameEditorMapMacroBlockInstance@ GetMacroblockInstanceFromUnitCoord(int3 Coord)
CGameEditorMapMacroBlockInstance@ GetLatestMacroblockInstance()
CGameEditorMapMacroBlockInstance@ GetLatestMacroblockInstanceWithOffset(uint Offset)
CGameEditorMapMacroBlockInstance@ GetMacroblockInstanceConnectedToClip(CGameEditorMapScriptClip@ Clip)
bool RemoveMacroblockInstance(CGameEditorMapMacroBlockInstance@ MacroblockInstance)
bool RemoveMacroblockInstanceFromOrder(uint Order)
bool RemoveMacroblockInstanceFromUnitCoord(uint Order)
bool RemoveMacroblockInstancesByUserData(int UserData)
void ResetAllMacroblockInstances()
uint GetMaxOrder()
bool SetMapType(wstring MapType)
wstring GetMapType()
void SetMapStyle(wstring MapStyle)
wstring GetMapStyle()
void SetMapIsCreatedWithPartyEditor(bool IsCreatedWithPartyEditor)
wstring GetAvailableMapName()
vec3 GetVec3FromCoord(nat3 Coord)
uint GetInterfaceNumber(CGameCtnCollector@ Collector)
void SetInterfaceNumber(CGameCtnCollector@ Collector, uint NewValue)
const MwFastBuffer<CGameEditorPluginMapScriptEvent@> PendingEvents
const CGameCtnChallenge@ Map
const wstring MapName
const wstring MapFileName
const bool IsEditorReadyForRequest
bool HoldLoadingScreen
const CGameEditorPluginMap::EShadowsQuality CurrentShadowsQuality
EShadowsQuality::NotComputed
EShadowsQuality::VeryFast
EShadowsQuality::Fast
EShadowsQuality::Default
EShadowsQuality::High
EShadowsQuality::Ultra
const bool IsUltraShadowsQualityAvailable
bool EnableMapTypeStartTest
CGameEditorPluginMap::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
EPlaceMode::Light
CGameEditorPluginMap::EditMode EditMode
EditMode::Unknown
EditMode::Place
EditMode::FreeLook
EditMode::Erase
EditMode::Pick
EditMode::SelectionAdd
EditMode::SelectionRemove
bool UndergroundMode
bool BlockStockMode
nat3 CursorCoord
CGameEditorPluginMap::ECardinalDirections CursorDir
ECardinalDirections::North
ECardinalDirections::East
ECardinalDirections::South
ECardinalDirections::West
CGameCtnBlockInfo@ CursorBlockModel
CGameCtnBlockInfo@ CursorTerrainBlockModel
CGameCtnMacroBlockInfo@ CursorMacroblockModel
const CGameEditorGenericInventory@ Inventory
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 CGameEditorPluginCameraAPI@ Camera
const CGameEditorPluginCursorAPI@ Cursor
const MwFastBuffer<CGameCtnEditorScriptAnchoredObject@> Items
const MwFastBuffer<wstring> MediatrackIngameClips
uint MediatrackIngameEditedClipIndex
const MwFastBuffer<CGameCtnBlock@> Blocks
const MwFastBuffer<CGameCtnBlockInfo@> BlockModels
const MwFastBuffer<CGameCtnBlockInfo@> TerrainBlockModels
const MwFastBuffer<CGameCtnMacroBlockInfo@> MacroblockModels
const MwFastBuffer<CGameCtnBlock@> ClassicBlocks
const MwFastBuffer<CGameCtnBlock@> TerrainBlocks
const MwNodPool<CGameEditorMapScriptClipList@> FixedClipLists
const MwNodPool<CGameEditorMapScriptClipList@> FrameClipLists
const MwNodPool<CGameEditorMapScriptClipList@> MacroblockInstanceClipLists
const MwNodPool<CGameEditorMapMacroBlockInstance@> MacroblockInstances
const MwFastBuffer<CGameEditorPluginMapConnectResults@> ConnectResults
const MwFastBuffer<CGameCtnEditorScriptSpecialProperty@> AnchorData
MwFastBuffer<nat3> CustomSelectionCoords
vec3 CustomSelectionRGB
bool EnableEditorInputsCustomProcessing
bool EnableCursorShowingWhenInterfaceIsFocused
bool HideEditorInterface
bool HideBlockHelpers
bool ShowPlacementGrid
float CursorBrightnessFactor
bool HideAlwaysCursorDirectionalArrow
const bool IsTesting
const bool IsValidating
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 CGameEditorPluginMap::EValidationStatus ValidationStatus
EValidationStatus::NotValidable
EValidationStatus::Validable
EValidationStatus::Validated
string ManialinkText
const CGameManialinkPage@ ManialinkPage
CGameUILayer@ UILayerCreate()
void UILayerDestroy(CGameUILayer@ Layer)
void UILayerDestroyAll()
void LayerCustomEvent(CGameUILayer@ Layer, wstring Type, MwFastBuffer<wstring>& Data)
void OpenLink(string Url, CGameManiaApp::ELinkType LinkType)
bool OpenFileInExplorer(wstring FileName)
void Dialog_Message(wstring Message)
wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)
const string ManiaAppUrl
const string ManiaAppBaseUrl
const int Now
const bool IsVisible
const uint CurrentDate
const string CurrentLocalDateText
const wstring CurrentTimezone
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 CXmlScriptParsingManager@ Xml
const CNetScriptHttpManager@ Http
const CGameVideoScriptManager@ Video
const CAudioScriptManager@ Audio
const CInputScriptManager@ Input
const CGameDataFileManagerScript@ DataFileMgr
const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr
const CGameUserPrivilegesManagerScript@ PrivilegeMgr
const CGameMasterServerRichPresenceManagerScript@ PresenceMgr
const CGameUserManagerScript@ UserMgr
const CSystemPlatformScript@ System
const CGameManiaPlanetScriptAPI@ ManiaPlanet
string IdName
const MwId Id
ECardinalDirections
ECardinalDirections::North
ECardinalDirections::East
ECardinalDirections::South
ECardinalDirections::West
ECardinalDirections8
ECardinalDirections8::North
ECardinalDirections8::East
ECardinalDirections8::South
ECardinalDirections8::West
ECardinalDirections8::NorthEast
ECardinalDirections8::SouthEast
ECardinalDirections8::SouthWest
ECardinalDirections8::NorthWest
ERelativeDirections
ERelativeDirections::Forward
ERelativeDirections::RightForward
ERelativeDirections::Right
ERelativeDirections::RightBackward
ERelativeDirections::Backward
ERelativeDirections::LeftBackward
ERelativeDirections::Left
ERelativeDirections::LeftForward
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
EPlaceMode::Light
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
Documentation from build 2019-11-19 18:50:52
(Page rendering: 0.07 seconds, 13.1 MB)