mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-21 14:21:32 +00:00
9 lines
232 B
C++
9 lines
232 B
C++
#include <sol.hpp>
|
|
#include "../corpse.h"
|
|
|
|
void lua_register_corpse(sol::state *state) {
|
|
auto corpse = state->create_simple_usertype<Corpse>(sol::base_classes, sol::bases<Mob, Entity>());
|
|
|
|
state->set_usertype("Corpse", corpse);
|
|
}
|