Reworked file structure

This commit is contained in:
antopilo
2025-01-30 22:41:17 -05:00
parent e8a84c98ec
commit 92a64f19ea
2215 changed files with 1832 additions and 2069 deletions

View File

@@ -0,0 +1,24 @@
#include "EditorModule.h"
#include "../../Windows/EditorInterface.h"
void SelectEntity(int entityId)
{
if (entityId == -1)
{
Nuake::EditorInterface::Selection = EditorSelection();
return;
}
//Nuake::EditorInterface::Selection = EditorSelection(Nuake::Entity{ (entt::entity)entityId, Nuake::Engine::GetCurrentScene().get() });
}
int GetSelectedEntity()
{
return -10;
}
void EditorNetAPI::RegisterMethods()
{
RegisterMethod("Editor.SetSelectedEntityIcall", &SelectEntity);
RegisterMethod("Editor.GetSelectedEntityIcall", &GetSelectedEntity);
}