public static get_uniqueid ( Lua L, int narg ) : int | ||
L | Lua | |
narg | int | |
Результат | int |
public static int _bind_setColorTransformMovie(Lua.lua_State L) { if (Lua.lua_gettop(L) == 6 && Luna.get_uniqueid(L, 1) == 7105034 && Lua.lua_isstring(L, 2) == 1 && Lua.lua_isnumber(L, 3) == 1 && Lua.lua_isnumber(L, 4) == 1 && Lua.lua_isnumber(L, 5) == 1 && Lua.lua_isnumber(L, 6) == 1) { return(_bind_setColorTransformMovie_overload_1(L)); } if (Lua.lua_gettop(L) == 10 && Luna.get_uniqueid(L, 1) == 7105034 && Lua.lua_isstring(L, 2) == 1 && Lua.lua_isnumber(L, 3) == 1 && Lua.lua_isnumber(L, 4) == 1 && Lua.lua_isnumber(L, 5) == 1 && Lua.lua_isnumber(L, 6) == 1 && Lua.lua_isnumber(L, 7) == 1 && Lua.lua_isnumber(L, 8) == 1 && Lua.lua_isnumber(L, 9) == 1 && Lua.lua_isnumber(L, 10) == 1) { return(_bind_setColorTransformMovie_overload_2(L)); } Lua.luaL_error(L, "setColorTransformMovie cannot find overloads."); return(0); }
public static int _bind_getParent(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != LunaTraits_LWF_Button.uniqueID) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed: LWF.Button.parent"); } LWF.Button a = Luna_LWF_Button.check(L, 1); Luna_LWF_Movie.push(L, a.parent, false); return(1); }
public static int _bind_getLWF(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != LunaTraits_LWF_Movie.uniqueID) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed: LWF.Movie.lwf"); } LWF.Movie a = Luna_LWF_Movie.check(L, 1); Luna_LWF_LWF.push(L, a.lwf, false); return(1); }
public static int addEventListener(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != LunaTraits_LWF_Button.uniqueID || Lua.lua_isstring(L, 2) == 0 || !Lua.lua_isfunction(L, 3)) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed: LWF.Button.addEventListener"); } LWF.Button a = Luna_LWF_Button.check(L, 1); return(a.lwf.AddEventHandlerLua(null, a)); }
public static int addButtonEventListener(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != LunaTraits_LWF_LWF.uniqueID || Lua.lua_isstring(L, 2) == 0 || !Lua.lua_istable(L, 3)) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed: LWF.addButtonEventListener"); } LWF.LWF a = Luna_LWF_LWF.check(L, 1); return(a.AddButtonEventHandlerLua()); }
public static int _bind_getName(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 7105034) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:getName(LWF.LWF self ...)"); } LWF.LWF o = Luna_LWF_LWF.check(L, 1); try { string ret = getName(o); Lua.lua_pushstring(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_getBlue(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 29625181) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:getBlue(LWF.Movie self ...)"); } LWF.Movie o = Luna_LWF_Movie.check(L, 1); try { float ret = getBlue(o); Lua.lua_pushnumber(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_getHeight(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 8952431) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:getHeight(LWF.Button self ...)"); } LWF.Button o = Luna_LWF_Button.check(L, 1); try { float ret = getHeight(o); Lua.lua_pushnumber(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_detachFromParent(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 55459900) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:detachFromParent(LWF.BitmapClip self)"); } LWF.BitmapClip self = Luna_LWF_BitmapClip.check(L, 1); try { self.DetachFromParent(); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_prevFrame(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 29625181) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:prevFrame(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); try { self.PrevFrame(); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind__property_get_originalHeight(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 55459900) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_get_originalHeight(LWF.BitmapClip a)"); } LWF.BitmapClip a = Luna_LWF_BitmapClip.check(L, 1); try { float ret = _property_get_originalHeight(a); Lua.lua_pushnumber(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind__property_get_x(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 32383421) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_get_x(LWF.Point a)"); } LWF.Point a = Luna_LWF_Point.check(L, 1); try { float ret = _property_get_x(a); Lua.lua_pushnumber(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_getFullName(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 8952431) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:getFullName(LWF.Button self)"); } LWF.Button self = Luna_LWF_Button.check(L, 1); try { string ret = self.GetFullName(); Lua.lua_pushstring(L, ret); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind__property_get_visible(Lua.lua_State L) { if (Lua.lua_gettop(L) != 1 || Luna.get_uniqueid(L, 1) != 55459900) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_get_visible(LWF.BitmapClip a)"); } LWF.BitmapClip a = Luna_LWF_BitmapClip.check(L, 1); try { bool ret = _property_get_visible(a); Lua.lua_pushboolean(L, ret?1:0); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int __index(Lua.lua_State L) { if (Lua.lua_gettop(L) == 2 && Luna.get_uniqueid(L, 1) == LunaTraits_LWF_Movie.uniqueID) { LWF.Movie o = Luna_LWF_Movie.check(L, 1); string name = Lua.lua_tostring(L, 2).ToString(); if (o.lwf.GetFieldLua(o, name)) { return(1); } LWF.Movie movie = o.SearchMovieInstance(name, false); if (movie != null) { Lua.lua_pop(L, 1); Luna_LWF_Movie.push(L, movie, false); return(1); } LWF.Button button = o.SearchButtonInstance(name, false); if (button != null) { Lua.lua_pop(L, 1); Luna_LWF_Button.push(L, button, false); return(1); } } { Lua.lua_CFunction fnc = null; if (LunaTraits_LWF_Movie.properties.TryGetValue(Lua.lua_tostring(L, 2).ToString(), out fnc)) { Lua.lua_pop(L, 1); // remove self return(fnc(L)); } } int mt = Lua.lua_getmetatable(L, 1); if (mt == 0) { Lua.luaL_error(L, "__index"); //end } Lua.lua_pushstring(L, Lua.lua_tostring(L, 2)); Lua.lua_rawget(L, -2); return(1); }
public static int _bind_setBlue(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isnumber(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:setBlue(LWF.Movie self ...)"); } LWF.Movie o = Luna_LWF_Movie.check(L, 1); float v = (float)Lua.lua_tonumber(L, 2); try { setBlue(o, v); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_setVisible(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isboolean(L, 2)) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:setVisible(LWF.Movie self ...)"); } LWF.Movie o = Luna_LWF_Movie.check(L, 1); bool v = Lua.lua_toboolean(L, 2) != 0; try { setVisible(o, v); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind__property_set_y(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 32383421 || Lua.lua_isnumber(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:_property_set_y(LWF.Point a, float b)"); } LWF.Point a = Luna_LWF_Point.check(L, 1); float b = (float)(float)Lua.lua_tonumber(L, 2); try { _property_set_y(a, b); } 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_clearEventListener(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 8952431 || Lua.lua_isstring(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:clearEventListener(LWF.Button self)"); } LWF.Button self = Luna_LWF_Button.check(L, 1); string eventName = Lua.lua_tostring(L, 2).ToString(); try { self.ClearEventHandler(eventName); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_localToGlobal(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Luna.get_uniqueid(L, 2) != LunaTraits_LWF_Point.uniqueID) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:localToGlobal(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); LWF.Point point = Luna_LWF_Point.check(L, 2); try { LWF.Point ret = self.LocalToGlobal(point); Luna_LWF_Point.push(L, ret, true, "LWF_Point"); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(1); }
public static int _bind_prevFrameMovie(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:prevFrameMovie(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); try { self.PrevFrameMovie(instanceName); } 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_gotoFrame(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isnumber(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:gotoFrame(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); int frameNo = (int)Lua.lua_tonumber(L, 2); try { self.GotoFrame(frameNo); } 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_gotoAndPlay(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isstring(L, 2) == 0) { return(_bind_gotoAndPlay_overload_1(L)); } if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isnumber(L, 2) == 0) { return(_bind_gotoAndPlay_overload_2(L)); } Lua.luaL_error(L, "gotoAndPlay cannot find overloads."); return(0); }
public static int _bind_removeButtonEventListener(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:removeButtonEventListener(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); int id = (int)Lua.lua_tonumber(L, 3); try { self.RemoveButtonEventHandler(instanceName, id); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_setAlphaMovie(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:setAlphaMovie(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); float v = (float)Lua.lua_tonumber(L, 3); try { self.SetAlphaMovie(instanceName, v); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }
public static int _bind_setVisibleMovie(Lua.lua_State L) { if (Lua.lua_gettop(L) != 3 || Luna.get_uniqueid(L, 1) != 7105034 || Lua.lua_isstring(L, 2) == 0 || !Lua.lua_isboolean(L, 3)) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:setVisibleMovie(LWF.LWF self)"); } LWF.LWF self = Luna_LWF_LWF.check(L, 1); string instanceName = Lua.lua_tostring(L, 2).ToString(); bool visible = (Lua.lua_toboolean(L, 3) != 0); try { self.SetVisibleMovie(instanceName, visible); } 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); }