t8-mod/source/proxy-dll/loader/component_interface.hpp

30 lines
293 B
C++
Raw Normal View History

2023-03-06 15:40:07 -05:00
#pragma once
class component_interface
{
public:
virtual ~component_interface() = default;
virtual void pre_start()
{
}
virtual void pre_destroy()
{
}
virtual void post_unpack()
{
}
virtual bool is_supported()
{
return true;
}
virtual int priority()
{
return 0;
}
};