static int _g_get_PointKey(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.RedPoint __cl_gen_to_be_invoked = (xc.ui.RedPoint)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.PointKey); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_mAssignRedPointObj(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.RedPoint __cl_gen_to_be_invoked = (xc.ui.RedPoint)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.mAssignRedPointObj = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_Scale(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.RedPoint __cl_gen_to_be_invoked = (xc.ui.RedPoint)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Scale = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.RedPoint __cl_gen_ret = new xc.ui.RedPoint(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.ui.RedPoint constructor!")); }
static int _m_RefreshPosAndScale(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.RedPoint __cl_gen_to_be_invoked = (xc.ui.RedPoint)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.RefreshPosAndScale( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }