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

#include <AdditionalEditorPlugins.h>

+ Inheritance diagram for Olympe::LevelDefinitionEditorPlugin:
+ Collaboration diagram for Olympe::LevelDefinitionEditorPlugin:

Public Member Functions

 LevelDefinitionEditorPlugin ()
 
virtual ~LevelDefinitionEditorPlugin ()
 
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 78 of file AdditionalEditorPlugins.h.

Constructor & Destructor Documentation

◆ LevelDefinitionEditorPlugin()

Olympe::LevelDefinitionEditorPlugin::LevelDefinitionEditorPlugin ( )
inline

Definition at line 81 of file AdditionalEditorPlugins.h.

◆ ~LevelDefinitionEditorPlugin()

virtual Olympe::LevelDefinitionEditorPlugin::~LevelDefinitionEditorPlugin ( )
inlinevirtual

Definition at line 82 of file AdditionalEditorPlugins.h.

Member Function Documentation

◆ CanHandle()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 261 of file AdditionalEditorPlugins.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ CreateNew()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 238 of file AdditionalEditorPlugins.cpp.

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

+ Here is the call graph for this function:

◆ GetBlueprintType()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 84 of file AdditionalEditorPlugins.h.

◆ GetDefaultFolder()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 88 of file AdditionalEditorPlugins.h.

◆ GetDescription()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 86 of file AdditionalEditorPlugins.h.

◆ GetDisplayName()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 85 of file AdditionalEditorPlugins.h.

◆ GetIconPath()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 87 of file AdditionalEditorPlugins.h.

◆ RenderEditor()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 279 of file AdditionalEditorPlugins.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ RenderProperties()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 295 of file AdditionalEditorPlugins.cpp.

◆ RenderToolbar()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 300 of file AdditionalEditorPlugins.cpp.

◆ Validate()

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

Implements Olympe::BlueprintEditorPlugin.

Definition at line 268 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: