This commit is contained in:
aozhiwei 2022-12-23 09:45:29 +08:00
parent 43f2302b0f
commit 49eb2d1d81
2 changed files with 6 additions and 0 deletions

View File

@ -28,4 +28,6 @@ namespace mt
class Dress;
class Drop;
class NpcStandard;
class Buff;
class SafeArea;
}

View File

@ -26,6 +26,8 @@
#include "mt/Dress.h"
#include "mt/Drop.h"
#include "mt/NpcStandard.h"
#include "mt/Buff.h"
#include "mt/MapThing.h"
#include "app.h"
@ -77,6 +79,8 @@ namespace mt
RegMetaTable<Dress>(res_path_);
RegMetaTable<Drop>(res_path_);
RegMetaTable<NpcStandard>(res_path_);
RegMetaTable<Buff>(res_path_);
RegMetaTable<MapThing>(res_path_);
{
for (auto& itr : meta_tables) {
itr->static_pre_init_cb();