summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_accounting.hpp.sq
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_accounting.hpp.sq')
-rw-r--r--src/ai/api/ai_accounting.hpp.sq2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_accounting.hpp.sq b/src/ai/api/ai_accounting.hpp.sq
index 37d65b5d7..1b71acf07 100644
--- a/src/ai/api/ai_accounting.hpp.sq
+++ b/src/ai/api/ai_accounting.hpp.sq
@@ -20,6 +20,8 @@ namespace SQConvert {
template <> int Return<AIAccounting *>(HSQUIRRELVM vm, AIAccounting *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIAccounting", res, NULL, DefSQDestructorCallback<AIAccounting>); return 1; }
} // namespace SQConvert
+template <> const char *GetClassName<AIAccounting>() { return "AIAccounting"; }
+
void SQAIAccounting_Register(Squirrel *engine)
{
DefSQClass <AIAccounting> SQAIAccounting("AIAccounting");