public static printStack ( Lua L, bool compact = false ) : void | ||
L | Lua | |
compact | bool | |
리턴 | void |
public static int _bind_stopMovie(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 7105034 || Lua.lua_isstring(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:stopMovie(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); try { self.StopMovie(instanceName); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind__property_set_originalHeight(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 55459900 || Lua.lua_isnumber(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_set_originalHeight(LWF.BitmapClip a, float b)"); } LWF.BitmapClip a = Luna_LWF_BitmapClip.check(L, 1); float b = (float)(float)Lua.lua_tonumber(L, 2); try { _property_set_originalHeight(a, b); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind__property_set_visible(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 55459900 || !Lua.lua_isboolean(L, 2)) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_set_visible(LWF.BitmapClip a, bool b)"); } LWF.BitmapClip a = Luna_LWF_BitmapClip.check(L, 1); bool b = (bool)(Lua.lua_toboolean(L, 2) != 0); try { _property_set_visible(a, b); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_getText(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 7105034 || Lua.lua_isstring(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:getText(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string textName = Lua.lua_tostring(L, 2).ToString(); try { string ret = self.GetText(textName); Lua.lua_pushstring(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_removeEventListener(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != 8952431 || Lua.lua_isstring(L, 2) == 0 || Lua.lua_isnumber(L, 3) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:removeEventListener(LWF.Button self)"); } LWF.Button self = Luna_LWF_Button.check(L, 1); string eventName = Lua.lua_tostring(L, 2).ToString(); int id = (int)Lua.lua_tonumber(L, 3); try { self.RemoveEventHandler(eventName, id); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_scaleTo(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isnumber(L, 2) == 0 || Lua.lua_isnumber(L, 3) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:scaleTo(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); float vx = (float)Lua.lua_tonumber(L, 2); float vy = (float)Lua.lua_tonumber(L, 3); try { self.ScaleTo(vx, vy); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_rotateToMovie(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != 7105034 || Lua.lua_isstring(L, 2) == 0 || Lua.lua_isnumber(L, 3) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:rotateToMovie(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); float degree = (float)Lua.lua_tonumber(L, 3); try { self.RotateToMovie(instanceName, degree); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int attachMovie(Lua.lua_State L) { LWF.Movie a; int args = Lua.lua_gettop(L); if (args < 3 || args > 6) { goto error; } if (Luna.get_uniqueid(L, 1) != LunaTraits_LWF_Movie.uniqueID) { goto error; } if (Lua.lua_isstring(L, 2) == 0 || Lua.lua_isstring(L, 3) == 0) { goto error; } if (args >= 4 && !Lua.lua_istable(L, 4)) { goto error; } if (args >= 5 && Lua.lua_isnumber(L, 5) == 0) { goto error; } if (args >= 6 && !Lua.lua_isboolean(L, 6)) { goto error; } a = Luna_LWF_Movie.check(L, 1); return(a.lwf.AttachMovieLua(a)); error: Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed: LWF.Movie.attachMovie"); return(1); }