blob: 56dae54e4909544f35270822fe19013a9f57468c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "Runtime/Math/Rect.h"
#include "Runtime/Math/Vector2.h"
#include "./LuaBind/LuaBind.h"
// lua 5.1 doc: https://www.lua.org/manual/5.1/
class LuaHelper
{
public:
static int Call(const char* func, const char* params, ...);
static bool IsType(LuaBind::State& state, const char* typeName, int idx);
static void OnRegisterNativeClass(LuaBind::State& state, int cls, std::string clsName, std::string pkgName);
};
|