Hooks
static bool BeforeCvLuaUnit_lGetDomainType(lua_State* L, int& result);static void AfterCvLuaUnit_lGetDomainType(lua_State* L, int& result);static int ReplaceCvLuaUnit_lGetDomainType(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lGetDomainType>(host, &BeforeCvLuaUnit_lGetDomainType);CivRegisterAfter<CivHooks::CvLuaUnit_lGetDomainType>(host, &AfterCvLuaUnit_lGetDomainType);CivRegisterReplace<CivHooks::CvLuaUnit_lGetDomainType>(host, &ReplaceCvLuaUnit_lGetDomainType);