mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-20 21:45:43 +00:00
36 lines
457 B
C++
36 lines
457 B
C++
#pragma once
|
|
|
|
class component_interface
|
|
{
|
|
public:
|
|
virtual ~component_interface()
|
|
{
|
|
}
|
|
|
|
virtual void post_start()
|
|
{
|
|
}
|
|
|
|
virtual void post_load()
|
|
{
|
|
}
|
|
|
|
virtual void pre_destroy()
|
|
{
|
|
}
|
|
|
|
virtual void post_unpack()
|
|
{
|
|
}
|
|
|
|
virtual void* load_import([[maybe_unused]] const std::string& library, [[maybe_unused]] const std::string& function)
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
virtual bool is_supported()
|
|
{
|
|
return true;
|
|
}
|
|
};
|