public static int _bind_rotate(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:rotate(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); float degree = (float)Lua.lua_tonumber(L, 2); try { self.Rotate(degree); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }