#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; namespace XLua.CSObjectWrap { using Utils = XLua.Utils; public class SnxxzUIMainRedDotWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(Snxxz.UI.MainRedDot); Utils.BeginObjectRegister(type, L, translator, 0, 1, 20, 20); Utils.RegisterFunc(L, Utils.METHOD_IDX, "Register", _m_Register); Utils.RegisterFunc(L, Utils.GETTER_IDX, "roleRedpoint", _g_get_roleRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "roleTagRedpoint", _g_get_roleTagRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyRedpoint", _g_get_jadeDynastyRedpoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointMainMail", _g_get_redpointMainMail); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointMailFunc", _g_get_redpointMailFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointFriendQuest", _g_get_redpointFriendQuest); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointFriendChat", _g_get_redPointFriendChat); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointMainPack", _g_get_redPointMainPack); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointBagFunc", _g_get_redPointBagFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointDepotFunc", _g_get_redPointDepotFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointWashFunc", _g_get_redPointWashFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointSuitFunc", _g_get_redPointSuitFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyLaunch", _g_get_fairyLaunch); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyBaseFuncRedPoint", _g_get_fairyBaseFuncRedPoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyLivenRedPoint", _g_get_fairyLivenRedPoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyStoreRedPoint", _g_get_fairyStoreRedPoint); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointPetKeyFunc", _g_get_redPointPetKeyFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPointMountFunc", _g_get_redPointMountFunc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "redPonintPetFunc2", _g_get_redPonintPetFunc2); Utils.RegisterFunc(L, Utils.GETTER_IDX, "openServerRedpoint", _g_get_openServerRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "roleRedpoint", _s_set_roleRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "roleTagRedpoint", _s_set_roleTagRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "jadeDynastyRedpoint", _s_set_jadeDynastyRedpoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointMainMail", _s_set_redpointMainMail); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointMailFunc", _s_set_redpointMailFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointFriendQuest", _s_set_redpointFriendQuest); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointFriendChat", _s_set_redPointFriendChat); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointMainPack", _s_set_redPointMainPack); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointBagFunc", _s_set_redPointBagFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointDepotFunc", _s_set_redPointDepotFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointWashFunc", _s_set_redPointWashFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointSuitFunc", _s_set_redPointSuitFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyLaunch", _s_set_fairyLaunch); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyBaseFuncRedPoint", _s_set_fairyBaseFuncRedPoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyLivenRedPoint", _s_set_fairyLivenRedPoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyStoreRedPoint", _s_set_fairyStoreRedPoint); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointPetKeyFunc", _s_set_redPointPetKeyFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPointMountFunc", _s_set_redPointMountFunc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "redPonintPetFunc2", _s_set_redPonintPetFunc2); Utils.RegisterFunc(L, Utils.SETTER_IDX, "openServerRedpoint", _s_set_openServerRedpoint); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 22, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_key", Snxxz.UI.MainRedDot.RedPoint_key); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FAIRY_REDPOINT_KEY1", Snxxz.UI.MainRedDot.FAIRY_REDPOINT_KEY1); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_key1", Snxxz.UI.MainRedDot.RedPoint_key1); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_UpFuncBase", Snxxz.UI.MainRedDot.RedPoint_UpFuncBase); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_VipDot", Snxxz.UI.MainRedDot.RedPoint_VipDot); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_MainMailKey", Snxxz.UI.MainRedDot.RedPoint_MainMailKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_MailFuncKey", Snxxz.UI.MainRedDot.RedPoint_MailFuncKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_FriendQuestKey", Snxxz.UI.MainRedDot.RedPoint_FriendQuestKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_FriendChatKey", Snxxz.UI.MainRedDot.RedPoint_FriendChatKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_MainPackKey", Snxxz.UI.MainRedDot.RedPoint_MainPackKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_BagFuncKey", Snxxz.UI.MainRedDot.RedPoint_BagFuncKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_DepotFuncKey", Snxxz.UI.MainRedDot.RedPoint_DepotFuncKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_WashFuncKey", Snxxz.UI.MainRedDot.RedPoint_WashFuncKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_SuitFuncKey", Snxxz.UI.MainRedDot.RedPoint_SuitFuncKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FAIRY_REDPOINT_KEY2", Snxxz.UI.MainRedDot.FAIRY_REDPOINT_KEY2); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FAIRYLiven_REDPOINT_KEY3", Snxxz.UI.MainRedDot.FAIRYLiven_REDPOINT_KEY3); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FAIRYStore_REDPOINT_KEY3", Snxxz.UI.MainRedDot.FAIRYStore_REDPOINT_KEY3); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_PetKey", Snxxz.UI.MainRedDot.RedPoint_PetKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_MountPackKey", Snxxz.UI.MainRedDot.RedPoint_MountPackKey); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_PetKey2", Snxxz.UI.MainRedDot.RedPoint_PetKey2); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "REDPOINT_OPENSERVER", Snxxz.UI.MainRedDot.REDPOINT_OPENSERVER); Utils.EndClassRegister(type, L, translator); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if(LuaAPI.lua_gettop(L) == 1) { Snxxz.UI.MainRedDot gen_ret = new Snxxz.UI.MainRedDot(); translator.Push(L, 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 Snxxz.UI.MainRedDot constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_Register(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Register( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_roleRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.roleRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_roleTagRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.roleTagRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_jadeDynastyRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.jadeDynastyRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointMainMail(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointMainMail); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointMailFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointMailFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redpointFriendQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redpointFriendQuest); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointFriendChat(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointFriendChat); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointMainPack(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointMainPack); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointBagFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointBagFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointDepotFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointDepotFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointWashFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointWashFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointSuitFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointSuitFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyLaunch(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fairyLaunch); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyBaseFuncRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fairyBaseFuncRedPoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyLivenRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fairyLivenRedPoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_fairyStoreRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.fairyStoreRedPoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointPetKeyFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointPetKeyFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPointMountFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPointMountFunc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_redPonintPetFunc2(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.redPonintPetFunc2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_openServerRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.openServerRedpoint); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_roleRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.roleRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_roleTagRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.roleTagRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_jadeDynastyRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.jadeDynastyRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redpointMainMail(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointMainMail = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redpointMailFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointMailFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redpointFriendQuest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redpointFriendQuest = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointFriendChat(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointFriendChat = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointMainPack(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointMainPack = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointBagFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointBagFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointDepotFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointDepotFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointWashFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointWashFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointSuitFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointSuitFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fairyLaunch(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fairyLaunch = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fairyBaseFuncRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fairyBaseFuncRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fairyLivenRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fairyLivenRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_fairyStoreRedPoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.fairyStoreRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointPetKeyFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointPetKeyFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPointMountFunc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPointMountFunc = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_redPonintPetFunc2(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.redPonintPetFunc2 = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_openServerRedpoint(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Snxxz.UI.MainRedDot gen_to_be_invoked = (Snxxz.UI.MainRedDot)translator.FastGetCSObj(L, 1); gen_to_be_invoked.openServerRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } } }