龙盒 上线版

This commit is contained in:
2022-03-16 10:03:39 +08:00
parent 2e11642e49
commit b727d126ae
6 changed files with 22 additions and 7 deletions

View File

@@ -43,3 +43,17 @@ int hook::RegisterHook()
return 0;
}
int hook::InitGameScript()
{
uint32_t v = GetSqVm();
SQPushRootTable(v);
SQPushString(v, L"SetHudUI", -1);
SQ_Get(v, -2);
SQPushRootTable(v);
//SQPushString(v, L"1.cpp", -1);
SQ_Call(v, 2, 1, 0);
SQPop(v, 2);
std::cout << u8"µ÷Óóɹ¦" << std::endl;
return 0;
}