/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EnginePlugins/FmodPlugin/Components/FmodComponent.h
28 строк
929 B
Jan Krassnigg
FMOD, Project Export and other fixes (#1350)
14 июл 2024, 23:06
Не верифицирован
14 июл 2024, 23:06
1c33687
Код
Авторство
О чём код?
#pragma once #include <Core/World/Component.h> #include <Core/World/World.h> #include <FmodPlugin/FmodPluginDLL.h> /// \brief Base class for all FMOD components, such that they all have a common ancestor class EZ_FMODPLUGIN_DLL ezFmodComponent : public ezComponent { EZ_DECLARE_ABSTRACT_COMPONENT_TYPE(ezFmodComponent, ezComponent); ////////////////////////////////////////////////////////////////////////// // ezComponent public: virtual void SerializeComponent(ezWorldWriter& inout_stream) const override {} virtual void DeserializeComponent(ezWorldReader& inout_stream) override {} ////////////////////////////////////////////////////////////////////////// // ezFmodComponent public: ezFmodComponent(); ~ezFmodComponent(); private: virtual void ezFmodComponentIsAbstract() = 0; // abstract classes are not shown in the UI, since this class has no other abstract functions so far, this is a dummy };