#pragma once
#include "global.h"
#include "MyStructDef.h"

class EntityDll
{
public:
	virtual ~EntityDll() = default;
	void Load(const wchar_t* dllName);
	void (*_GameCreateEntity)(const wchar_t* name, std::shared_ptr<Entity>* sp) = nullptr;
	int (*_GetEntityCount)() = nullptr;
	const wchar_t* (*_GetEntityName)(int id) = nullptr;
private:
	HMODULE dll = nullptr;
};

