/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/AngelScript/EnginePluginAngelScript/AngelScriptAsset/AngelScriptContext.h
28 строк
995 B
Jan Krassnigg
AngelScript: #include dependencies, error line mapping (#1486)
14 фев 2025, 19:33
Не верифицирован
14 фев 2025, 19:33
be13136
Код
Авторство
О чём код?
#pragma once #include <EditorEngineProcessFramework/EngineProcess/EngineProcessDocumentContext.h> #include <EnginePluginAngelScript/EnginePluginAngelScriptDLL.h> class EZ_ENGINEPLUGINAS_DLL ezAngelScriptDocumentContext : public ezEngineProcessDocumentContext { EZ_ADD_DYNAMIC_REFLECTION(ezAngelScriptDocumentContext, ezEngineProcessDocumentContext); public: ezAngelScriptDocumentContext(); ~ezAngelScriptDocumentContext(); protected: virtual ezStatus ExportDocument(const ezExportDocumentMsgToEngine* pMsg) override; virtual void HandleMessage(const ezEditorEngineDocumentMsg* pMsg) override; ezEngineProcessViewContext* CreateViewContext() override; void DestroyViewContext(ezEngineProcessViewContext* pContext) override; void SyncExposedParameters(); asIScriptModule* CompileModule(ezStringBuilder& out_sCode, ezSet<ezString>* out_pDependencies); void RetrieveScriptInfos(ezStringView sBasePath); ezString m_sInputFile; ezString m_sClass; ezString m_sCode; };