ManiaScript Reference  2019-05
CEditorMainPlugin Struct Reference
Inheritance diagram for CEditorMainPlugin:
CAnyEditorPlugin CManiaApp CNod

Public Types

enum  EMeshEditorAPI {
  Materials, Interactions, Display, Global,
  Sets, Voxel, PickInfo, UndoRedo
}
 
- Public Types inherited from CAnyEditorPlugin
enum  EInteractionStatus { Active, Closed, Aborted }
 
- Public Types inherited from CManiaApp
enum  ELinkType { ExternalBrowser, ManialinkBrowser }
 

Public Member Functions

Void Help_Open ()
 
Void Help_Close ()
 
CEditorPluginHandle GetPluginHandle (Text Name)
 
Void SendPluginEvent (CEditorPluginHandle Handle, Text Type, Text[] Data)
 
Void Context_SetActive (Text ContextName, Boolean IsActive)
 
Boolean Context_IsActive (Text ContextName)
 
Boolean Binding_IsActive (Text BindingName)
 
Boolean Binding_IsActive (Text ContextName, Text BindingName)
 
Void Plugin_SetClearance (CEditorPluginHandle Handle, EMeshEditorAPI API, Boolean IsAllowed)
 
- Public Member Functions inherited from CManiaApp
CUILayer UILayerCreate ()
 
Void UILayerDestroy (CUILayer Layer)
 
Void UILayerDestroyAll ()
 
Void LayerCustomEvent (CUILayer Layer, Text Type, Text[] Data)
 
Void OpenLink (Text Url, ELinkType LinkType)
 
Boolean OpenFileInExplorer (Text FileName)
 
Void Dialog_Message (Text Message)
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 

Public Attributes

const CEditorPluginHandle [] Plugins
 
- Public Attributes inherited from CAnyEditorPlugin
const CManiaAppEvent [] PendingEvents
 
const CEditorModule ModuleEditor
 
const CEditorMesh MeshEditor
 
const CEditorEditor EditorEditor
 
const EInteractionStatus InteractionStatus
 
- Public Attributes inherited from CManiaApp
const Text ManiaAppUrl
 
const Text ManiaAppBaseUrl
 
const Integer Now
 
const Boolean IsVisible
 
Integer LayersDefaultManialinkVersion
 
const CUser LocalUser
 
const CTitle LoadedTitle
 
Boolean EnableMenuNavigationInputs
 
const CUILayer [] UILayers
 
const CParsingManager Xml
 
const CHttpManager Http
 
const CVideoManager Video
 
const CAudioManager Audio
 
const CInputManager Input
 
const CDataFileMgr DataFileMgr
 
const CScoreMgr ScoreMgr
 
const CUserV2Manager UserMgr
 
const CSystemPlatform System
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Persistent API for editor plugins.

Member Enumeration Documentation

◆ EMeshEditorAPI

Enumerator
Materials 
Interactions 
Display 
Global 
Sets 
Voxel 
PickInfo 
UndoRedo 

Member Function Documentation

◆ Binding_IsActive() [1/2]

Boolean CEditorMainPlugin::Binding_IsActive ( Text  BindingName)

◆ Binding_IsActive() [2/2]

Boolean CEditorMainPlugin::Binding_IsActive ( Text  ContextName,
Text  BindingName 
)

◆ Context_IsActive()

Boolean CEditorMainPlugin::Context_IsActive ( Text  ContextName)

◆ Context_SetActive()

Void CEditorMainPlugin::Context_SetActive ( Text  ContextName,
Boolean  IsActive 
)

◆ GetPluginHandle()

CEditorPluginHandle CEditorMainPlugin::GetPluginHandle ( Text  Name)

◆ Help_Close()

Void CEditorMainPlugin::Help_Close ( )

◆ Help_Open()

Void CEditorMainPlugin::Help_Open ( )

◆ Plugin_SetClearance()

Void CEditorMainPlugin::Plugin_SetClearance ( CEditorPluginHandle  Handle,
EMeshEditorAPI  API,
Boolean  IsAllowed 
)

◆ SendPluginEvent()

Void CEditorMainPlugin::SendPluginEvent ( CEditorPluginHandle  Handle,
Text  Type,
Text []  Data 
)

Member Data Documentation

◆ Plugins

const CEditorPluginHandle [] CEditorMainPlugin::Plugins