Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Olympe::ScriptedEventEditorPlugin Class Reference

#include <AdditionalEditorPlugins.h>

+ Inheritance diagram for Olympe::ScriptedEventEditorPlugin:
+ Collaboration diagram for Olympe::ScriptedEventEditorPlugin:

Public Member Functions

 ScriptedEventEditorPlugin ()
 
virtual ~ScriptedEventEditorPlugin ()
 
std::string GetBlueprintType () const override
 
std::string GetDisplayName () const override
 
std::string GetDescription () const override
 
std::string GetIconPath () const override
 
std::string GetDefaultFolder () const override
 
nlohmann::json CreateNew (const std::string &name) override
 
bool CanHandle (const nlohmann::json &blueprint) const override
 
std::vector< ValidationErrorValidate (const nlohmann::json &blueprint) override
 
void RenderEditor (nlohmann::json &blueprintData, EditorContext_st &ctx) override
 
void RenderProperties (const nlohmann::json &blueprintData) override
 
void RenderToolbar (nlohmann::json &blueprintData) override
 
- Public Member Functions inherited from Olympe::BlueprintEditorPlugin
virtual ~BlueprintEditorPlugin ()=default
 

Detailed Description

Definition at line 57 of file AdditionalEditorPlugins.h.

Constructor & Destructor Documentation

◆ ScriptedEventEditorPlugin()

Olympe::ScriptedEventEditorPlugin::ScriptedEventEditorPlugin ( )
inline

Definition at line 60 of file AdditionalEditorPlugins.h.

◆ ~ScriptedEventEditorPlugin()

virtual Olympe::ScriptedEventEditorPlugin::~ScriptedEventEditorPlugin ( )
inlinevirtual

Definition at line 61 of file AdditionalEditorPlugins.h.

Member Function Documentation

◆ CanHandle()

bool Olympe::ScriptedEventEditorPlugin::CanHandle ( const nlohmann::json blueprint) const
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 184 of file AdditionalEditorPlugins.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ CreateNew()

json Olympe::ScriptedEventEditorPlugin::CreateNew ( const std::string &  name)
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 164 of file AdditionalEditorPlugins.cpp.

References GetComponentTypeID_Static(), and Olympe::GetCurrentTimestamp().

+ Here is the call graph for this function:

◆ GetBlueprintType()

std::string Olympe::ScriptedEventEditorPlugin::GetBlueprintType ( ) const
inlineoverridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 63 of file AdditionalEditorPlugins.h.

◆ GetDefaultFolder()

std::string Olympe::ScriptedEventEditorPlugin::GetDefaultFolder ( ) const
inlineoverridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 67 of file AdditionalEditorPlugins.h.

◆ GetDescription()

std::string Olympe::ScriptedEventEditorPlugin::GetDescription ( ) const
inlineoverridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 65 of file AdditionalEditorPlugins.h.

◆ GetDisplayName()

std::string Olympe::ScriptedEventEditorPlugin::GetDisplayName ( ) const
inlineoverridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 64 of file AdditionalEditorPlugins.h.

◆ GetIconPath()

std::string Olympe::ScriptedEventEditorPlugin::GetIconPath ( ) const
inlineoverridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 66 of file AdditionalEditorPlugins.h.

◆ RenderEditor()

void Olympe::ScriptedEventEditorPlugin::RenderEditor ( nlohmann::json blueprintData,
EditorContext_st ctx 
)
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 202 of file AdditionalEditorPlugins.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ RenderProperties()

void Olympe::ScriptedEventEditorPlugin::RenderProperties ( const nlohmann::json blueprintData)
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 224 of file AdditionalEditorPlugins.cpp.

◆ RenderToolbar()

void Olympe::ScriptedEventEditorPlugin::RenderToolbar ( nlohmann::json blueprintData)
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 229 of file AdditionalEditorPlugins.cpp.

◆ Validate()

std::vector< ValidationError > Olympe::ScriptedEventEditorPlugin::Validate ( const nlohmann::json blueprint)
overridevirtual

Implements Olympe::BlueprintEditorPlugin.

Definition at line 191 of file AdditionalEditorPlugins.cpp.

References Olympe::Error, and GetComponentTypeID_Static().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: