static int _s_set_Data(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Data = (System.Collections.Generic.Dictionary <uint, xc.DBTitle.DBTitleItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, xc.DBTitle.DBTitleItem>)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_Data(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.Data); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _m_Unload(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.Unload( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { string strName = LuaAPI.lua_tostring(L, 2); string strPath = LuaAPI.lua_tostring(L, 3); xc.DBTitle __cl_gen_ret = new xc.DBTitle(strName, strPath); 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.DBTitle constructor!")); }
static int _m_GetData(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); xc.DBTitle.DBTitleItem __cl_gen_ret = __cl_gen_to_be_invoked.GetData(id); 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_SetTitleEffect(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); try { { uint titleId = LuaAPI.xlua_touint(L, 2); UnityEngine.UI.RawImage rawImg = (UnityEngine.UI.RawImage)translator.GetObject(L, 3, typeof(UnityEngine.UI.RawImage)); __cl_gen_to_be_invoked.SetTitleEffect(titleId, rawImg); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetTitleIcon(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBTitle __cl_gen_to_be_invoked = (xc.DBTitle)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 1) { string __cl_gen_ret = __cl_gen_to_be_invoked.GetTitleIcon( ); LuaAPI.lua_pushstring(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { uint titleId = LuaAPI.xlua_touint(L, 2); string __cl_gen_ret = __cl_gen_to_be_invoked.GetTitleIcon(titleId); LuaAPI.lua_pushstring(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.DBTitle.GetTitleIcon!")); }