static int _m_GetInstance_xlua_st_(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { { xc.RedPointDataMgr __cl_gen_ret = xc.RedPointDataMgr.GetInstance( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Reset(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RedPointDataMgr __cl_gen_to_be_invoked = (xc.RedPointDataMgr)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.Reset( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_RefreshRedPointVisible(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RedPointDataMgr __cl_gen_to_be_invoked = (xc.RedPointDataMgr)translator.FastGetCSObj(L, 1); try { { uint red_point_id = LuaAPI.xlua_touint(L, 2); __cl_gen_to_be_invoked.RefreshRedPointVisible(red_point_id); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ResetSize(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RedPointDataMgr __cl_gen_to_be_invoked = (xc.RedPointDataMgr)translator.FastGetCSObj(L, 1); try { { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); __cl_gen_to_be_invoked.ResetSize(go); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_EnableRedPoint(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RedPointDataMgr __cl_gen_to_be_invoked = (xc.RedPointDataMgr)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); bool enable = LuaAPI.lua_toboolean(L, 3); __cl_gen_to_be_invoked.EnableRedPoint(id, enable); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_BindRedPoint(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RedPointDataMgr __cl_gen_to_be_invoked = (xc.RedPointDataMgr)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 6 && translator.Assignable <UnityEngine.GameObject>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); uint pointKey = LuaAPI.xlua_touint(L, 3); float deltaX = (float)LuaAPI.lua_tonumber(L, 4); float deltaY = (float)LuaAPI.lua_tonumber(L, 5); float scale = (float)LuaAPI.lua_tonumber(L, 6); __cl_gen_to_be_invoked.BindRedPoint(go, pointKey, deltaX, deltaY, scale); return(0); } if (__gen_param_count == 5 && translator.Assignable <UnityEngine.GameObject>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); uint pointKey = LuaAPI.xlua_touint(L, 3); float deltaX = (float)LuaAPI.lua_tonumber(L, 4); float deltaY = (float)LuaAPI.lua_tonumber(L, 5); __cl_gen_to_be_invoked.BindRedPoint(go, pointKey, deltaX, deltaY); return(0); } if (__gen_param_count == 4 && translator.Assignable <UnityEngine.GameObject>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); uint pointKey = LuaAPI.xlua_touint(L, 3); float deltaX = (float)LuaAPI.lua_tonumber(L, 4); __cl_gen_to_be_invoked.BindRedPoint(go, pointKey, deltaX); return(0); } if (__gen_param_count == 3 && translator.Assignable <UnityEngine.GameObject>(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) { UnityEngine.GameObject go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject)); uint pointKey = LuaAPI.xlua_touint(L, 3); __cl_gen_to_be_invoked.BindRedPoint(go, pointKey); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.RedPointDataMgr.BindRedPoint!")); }