public static void BeginClass(string classname, string baseclassname) { LuaAPI.BeginClass(LuaEnv.L, classname, baseclassname); }
public static void BeginClass(Type classType, Type baseclassType) { int idx = ObjectTranslator.Instance.PushObj(classType); LuaAPI.BeginClass(LuaEnv.L, classType.Name, baseclassType != null ? baseclassType.Name : null, idx); }