Bazaar developer reference

CvLuaUnit::GetTypeName()

Defined in
Lua/CvLuaUnit.cpp, line 612
Class
CvLuaUnit
Hook name
CivHooks::CvLuaUnit_GetTypeName

Hooks

static bool BeforeCvLuaUnit_GetTypeName(const char*& result);static void AfterCvLuaUnit_GetTypeName(const char*& result);static const char* ReplaceCvLuaUnit_GetTypeName(const char* (*original)());CivRegisterBefore<CivHooks::CvLuaUnit_GetTypeName>(host, &BeforeCvLuaUnit_GetTypeName);CivRegisterAfter<CivHooks::CvLuaUnit_GetTypeName>(host, &AfterCvLuaUnit_GetTypeName);CivRegisterReplace<CivHooks::CvLuaUnit_GetTypeName>(host, &ReplaceCvLuaUnit_GetTypeName);

Code

612const char* CvLuaUnit::GetTypeName()613{614	return "Unit";615}