refactor: Refactorized whole project structure

This commit is contained in:
AURUMVORXX
2025-01-24 22:36:25 +03:00
parent d50f55086b
commit a479b5f85d
321 changed files with 288 additions and 219 deletions

View File

@@ -0,0 +1,17 @@
#include <sqapi.h>
#include <pybind11/embed.h>
#include <Utils.h>
#include "sqevents.h"
SQInteger sq_onPlayerUseCheat(HSQUIRRELVM vm)
{
SQInteger playerid, type;
nonut::sqGetValue(vm, 2, &playerid);
nonut::sqGetValue(vm, 3, &type);
py::dict kwargs = py::dict("playerid"_a=playerid, "type"_a=type);
callEvent("onPlayerUseCheat", kwargs);
return 0;
}