ManiaScript
Script language used in ManiaPlanet
 All Classes Files Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | List of all members
CMapType Struct Reference

#include <big.h>

Inheritance diagram for CMapType:
CPlugin CNod CSmMapType CTmMapType

Public Types

enum  ValidationStatus { NotValidable, Validable, Validated }
- Public Types inherited from CPlugin
enum  CardinalDirections { North, East, South, West }
enum  PlaceMode {
  Unknown, Terraform, Block, Macroblock,
  Skin, CopyPaste, Test, Plugin,
  CustomSelection, OffZone, BlockProperty
}
enum  EditMode {
  Unknown, Place, FreeLook, Erase,
  Pick, SelectionAdd, SelectionRemove
}

Public Member Functions

Void ClearMapMetadata ()
Void RequestEnterPlayground ()
Void RequestLeavePlayground ()
- Public Member Functions inherited from CPlugin
Void ComputeShadows ()
Void Undo ()
Void Redo ()
Void Quit ()
Void Help ()
Void Validate ()
Void AutoSave ()
Void SaveMap (Text FileName, Text Path)
Void RemoveAllBlocks ()
Void RemoveAllBlocksAndTerrain ()
Void ShowCustomSelection ()
Void HideCustomSelection ()
Void CopyPaste_Copy ()
Void CopyPaste_Cut ()
Void CopyPaste_SelectAll ()
Void CopyPaste_ResetSelection ()
Void OpenToolsMenu ()
Boolean CanPlaceBlock (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir, Boolean OnGround, Integer VariantIndex)
Boolean PlaceBlock (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir)
Boolean CanPlaceBlock_NoDestruction (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir, Boolean OnGround, Integer VariantIndex)
Boolean PlaceBlock_NoDestruction (CBlockModel BlockModel, Int3 Coord, CardinalDirections Dir)
Boolean CanPlaceRoadBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
Boolean PlaceRoadBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
Boolean CanPlaceTerrainBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
Boolean PlaceTerrainBlocks (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
Boolean PlaceTerrainBlocks_NoDestruction (CBlockModel BlockModel, Int3 StartCoord, Int3 EndCoord)
Boolean CanPlaceMacroblock (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
Boolean PlaceMacroblock (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
Boolean CanPlaceMacroblock_NoDestruction (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
Boolean PlaceMacroblock_NoDestruction (CMacroblockModel BlockModel, Int3 Coord, CardinalDirections Dir)
CBlock GetBlock (Int3 Coord)
Boolean RemoveBlock (Int3 Coord)
Boolean RemoveTerrainBlocks (Int3 StartCoord, Int3 EndCoord)
Integer GetBlockGroundHeight (CBlockModel BlockModel, Integer CoordX, Integer CoordZ, CardinalDirections Dir)
CBlock GetStartLineBlock ()
Void CopyPaste_AddOrSubSelection (Int3 StartCoord, Int3 EndCoord)
Boolean CopyPaste_Symmetrize ()
Void SaveMacroblock (CMacroblockModel MacroblockModel)

Public Attributes

Boolean CustomEditAnchorData
ValidationStatus ValidationStatus
Text ValidabilityRequirementsMessage
const Boolean ValidationEndRequested
const Boolean IsSwitchedToPlayground
- Public Attributes inherited from CPlugin
const CMap Map
PlaceMode PlaceMode
EditMode EditMode
Boolean UndergroundMode
Boolean BlockStockMode
const Integer Now
Int3 CursorCoord
CardinalDirections CursorDir
CBlockModel CursorBlockModel
CBlockModel CursorTerrainBlockModel
CMacroblockModel CursorMacroblockModel
Real CameraVAngle
Real CameraHAngle
Real CameraToTargetDistance
Vec3 TargetedPosition
const CBlock[] Blocks
const CBlockModel[] BlockModels
const CBlockModel[] TerrainBlockModels
const CMacroblockModel[] MacroblockModels
const CAnchorData[] AnchorData
const CPluginEvent[] PendingEvents
Int3[] CustomSelectionCoords
Vec3 CustomSelectionRGB
Text ManialinkText
const CMlPage ManialinkPage
- Public Attributes inherited from CNod
const Ident Id

Member Enumeration Documentation

Enumerator:
NotValidable 
Validable 
Validated 

Member Function Documentation

Void CMapType::ClearMapMetadata ( )
Void CMapType::RequestEnterPlayground ( )
Void CMapType::RequestLeavePlayground ( )

Member Data Documentation

Boolean CMapType::CustomEditAnchorData
const Boolean CMapType::IsSwitchedToPlayground
Text CMapType::ValidabilityRequirementsMessage
const Boolean CMapType::ValidationEndRequested

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