static int _s_set_mFlip(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.mFlip = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_mShowingFileName(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.mShowingFileName); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.UIChatBubbleWidget __cl_gen_ret = new xc.UIChatBubbleWidget(); 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.UIChatBubbleWidget constructor!")); }
static int _m_StopLoadCoroutine(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.StopLoadCoroutine( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SetModelId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); try { { uint modelId = LuaAPI.xlua_touint(L, 2); __cl_gen_to_be_invoked.SetModelId(modelId); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SetDefaultImageEnabled(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); try { { bool enabled = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.SetDefaultImageEnabled(enabled); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Load(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.UIChatBubbleWidget __cl_gen_to_be_invoked = (xc.UIChatBubbleWidget)translator.FastGetCSObj(L, 1); try { { string fileName = LuaAPI.lua_tostring(L, 2); System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.Load(fileName); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }