#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 FriendsModelWrap  
 | 
    { 
 | 
        public static void __Register(RealStatePtr L) 
 | 
        { 
 | 
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
            System.Type type = typeof(FriendsModel); 
 | 
            Utils.BeginObjectRegister(type, L, translator, 0, 54, 8, 4); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendChatInfoByGroup", _m_SendChatInfoByGroup); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendChatInfoToPlayer", _m_SendChatInfoToPlayer); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshFriendlist", _m_ReFreshFriendlist); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshGroupInfo", _m_ReFreshGroupInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPlayerName", _m_GetPlayerName); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshOnlineType", _m_RefreshOnlineType); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPlayerAttr", _m_RefreshPlayerAttr); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddFriend", _m_AddFriend); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AskIfAddFriend", _m_AskIfAddFriend); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DeleteFriend", _m_DeleteFriend); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommendFriendInfo", _m_GetRecommendFriendInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGroupRedPointKey", _m_SetGroupRedPointKey); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetFriendRedPointKey", _m_SetFriendRedPointKey); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "FriendChatRedPointCtrl", _m_FriendChatRedPointCtrl); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveFriendRed", _m_RemoveFriendRed); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFriendRedPointId", _m_GetFriendRedPointId); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGroupRedPointId", _m_GetGroupRedPointId); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOnlineType", _m_GetOnlineType); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SocialPlayerOrder", _m_SocialPlayerOrder); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCompareRecentResult", _m_GetCompareRecentResult); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCompareFriendResult", _m_GetCompareFriendResult); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsOnline", _m_IsOnline); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGroupAllInfo", _m_GetGroupAllInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFriendInfoDict", _m_GetFriendInfoDict); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFriendDictByType", _m_GetFriendDictByType); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFirendInfo", _m_GetFirendInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFriendQuestDict", _m_GetFriendQuestDict); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DeleteFriendQuest", _m_DeleteFriendQuest); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DeleteAllFriendQuest", _m_DeleteAllFriendQuest); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRecommendDict", _m_GetRecommendDict); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAddFriendInfo", _m_GetAddFriendInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickLookFight", _m_OnClickLookFight); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickRemoveBlack", _m_OnClickRemoveBlack); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickInviteTeam", _m_OnClickInviteTeam); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickApplyTeam", _m_OnClickApplyTeam); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickAddTeam", _m_OnClickAddTeam); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickAddBlack", _m_OnClickAddBlack); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickDeleteFriend", _m_OnClickDeleteFriend); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickAddFriend", _m_OnClickAddFriend); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSearchPlayerQuest", _m_SendSearchPlayerQuest); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickViewEquip", _m_OnClickViewEquip); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickPrivateChat", _m_OnClickPrivateChat); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFriendlistUI", _m_RefreshFriendlistUI); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPlayerShortInfo", _m_SetPlayerShortInfo); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSendCA9A3_tagCGQueryRecommendFriends", _m_OnSendCA9A3_tagCGQueryRecommendFriends); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFriendModel", _e_RefreshFriendModel); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFriendCntEvent", _e_RefreshFriendCntEvent); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshRecommendFriendEvent", _e_RefreshRecommendFriendEvent); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshQuestEvent", _e_RefreshQuestEvent); 
 | 
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "friendlistUIEvent", _e_friendlistUIEvent); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "TeamModel", _g_get_TeamModel); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenGreatLV", _g_get_OpenGreatLV); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "contactTypeNumDict", _g_get_contactTypeNumDict); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "newChatInfo", _g_get_newChatInfo); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "askAddFriendEvent", _g_get_askAddFriendEvent); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpointSocial", _g_get_redpointSocial); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "needLookInfoDict", _g_get_needLookInfoDict); 
 | 
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "tempFriendData", _g_get_tempFriendData); 
 | 
             
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "askAddFriendEvent", _s_set_askAddFriendEvent); 
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpointSocial", _s_set_redpointSocial); 
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "needLookInfoDict", _s_set_needLookInfoDict); 
 | 
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "tempFriendData", _s_set_tempFriendData); 
 | 
             
 | 
             
 | 
            Utils.EndObjectRegister(type, L, translator, null, null, 
 | 
                null, null, null); 
 | 
  
 | 
            Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0); 
 | 
             
 | 
             
 | 
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPoint_SocialKey", FriendsModel.RedPoint_SocialKey); 
 | 
             
 | 
             
 | 
             
 | 
             
 | 
            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) 
 | 
                { 
 | 
                     
 | 
                    FriendsModel gen_ret = new FriendsModel(); 
 | 
                    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 FriendsModel constructor!"); 
 | 
             
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_Init(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.Init(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_UnInit(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.UnInit(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnBeforePlayerDataInitialize(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.OnBeforePlayerDataInitialize(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnAfterPlayerDataInitialize(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.OnAfterPlayerDataInitialize(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SendChatInfoByGroup(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    GroupType _groupType;translator.Get(L, 2, out _groupType); 
 | 
                    string _info = LuaAPI.lua_tostring(L, 3); 
 | 
                     
 | 
                    gen_to_be_invoked.SendChatInfoByGroup( _groupType, _info ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SendChatInfoToPlayer(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    int _id = LuaAPI.xlua_tointeger(L, 2); 
 | 
                    string _name = LuaAPI.lua_tostring(L, 3); 
 | 
                    int _lv = LuaAPI.xlua_tointeger(L, 4); 
 | 
                    string _info = LuaAPI.lua_tostring(L, 5); 
 | 
                     
 | 
                    gen_to_be_invoked.SendChatInfoToPlayer( _id, _name, _lv, _info ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_ReFreshFriendlist(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB304_tagGCSocialPlayers _friendInfo = (HB304_tagGCSocialPlayers)translator.GetObject(L, 2, typeof(HB304_tagGCSocialPlayers)); 
 | 
                     
 | 
                    gen_to_be_invoked.ReFreshFriendlist( _friendInfo ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_ReFreshGroupInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB308_tagGCGroupPlayers _groupInfo = (HB308_tagGCGroupPlayers)translator.GetObject(L, 2, typeof(HB308_tagGCGroupPlayers)); 
 | 
                     
 | 
                    gen_to_be_invoked.ReFreshGroupInfo( _groupInfo ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetPlayerName(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB305_tagGCSocialName _playerName = (HB305_tagGCSocialName)translator.GetObject(L, 2, typeof(HB305_tagGCSocialName)); 
 | 
                     
 | 
                    gen_to_be_invoked.GetPlayerName( _playerName ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_RefreshOnlineType(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB306_tagGCSocialOnline _onlineType = (HB306_tagGCSocialOnline)translator.GetObject(L, 2, typeof(HB306_tagGCSocialOnline)); 
 | 
                     
 | 
                    gen_to_be_invoked.RefreshOnlineType( _onlineType ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_RefreshPlayerAttr(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB307_tagGCSocialRefreshType _data = (HB307_tagGCSocialRefreshType)translator.GetObject(L, 2, typeof(HB307_tagGCSocialRefreshType)); 
 | 
                     
 | 
                    gen_to_be_invoked.RefreshPlayerAttr( _data ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_AddFriend(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB301_tagGCAddSocialPlayer _addfriend = (HB301_tagGCAddSocialPlayer)translator.GetObject(L, 2, typeof(HB301_tagGCAddSocialPlayer)); 
 | 
                     
 | 
                    gen_to_be_invoked.AddFriend( _addfriend ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_AskIfAddFriend(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB303_tagGCFriendAskIfJoin _ifadd = (HB303_tagGCFriendAskIfJoin)translator.GetObject(L, 2, typeof(HB303_tagGCFriendAskIfJoin)); 
 | 
                     
 | 
                    gen_to_be_invoked.AskIfAddFriend( _ifadd ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_DeleteFriend(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HB302_tagGCDelSocialPlayer _deletefreind = (HB302_tagGCDelSocialPlayer)translator.GetObject(L, 2, typeof(HB302_tagGCDelSocialPlayer)); 
 | 
                     
 | 
                    gen_to_be_invoked.DeleteFriend( _deletefreind ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetRecommendFriendInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    HA9A8_tagGCRecommendFriendsInfo _recommendInfo = (HA9A8_tagGCRecommendFriendsInfo)translator.GetObject(L, 2, typeof(HA9A8_tagGCRecommendFriendsInfo)); 
 | 
                     
 | 
                    gen_to_be_invoked.GetRecommendFriendInfo( _recommendInfo ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SetGroupRedPointKey(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.SetGroupRedPointKey(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SetFriendRedPointKey(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    GroupType _type;translator.Get(L, 2, out _type); 
 | 
                     
 | 
                    gen_to_be_invoked.SetFriendRedPointKey( _type ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_FriendChatRedPointCtrl(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    ChatFriendData _data = (ChatFriendData)translator.GetObject(L, 2, typeof(ChatFriendData)); 
 | 
                     
 | 
                    gen_to_be_invoked.FriendChatRedPointCtrl( _data ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_RemoveFriendRed(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    GroupType _type;translator.Get(L, 2, out _type); 
 | 
                    int _id = LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                    gen_to_be_invoked.RemoveFriendRed( _type, _id ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetFriendRedPointId(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    GroupType _type;translator.Get(L, 2, out _type); 
 | 
                    int _id = LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                        int gen_ret = gen_to_be_invoked.GetFriendRedPointId( _type, _id ); 
 | 
                        LuaAPI.xlua_pushinteger(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetGroupRedPointId(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    GroupType _type;translator.Get(L, 2, out _type); 
 | 
                     
 | 
                        int gen_ret = gen_to_be_invoked.GetGroupRedPointId( _type ); 
 | 
                        LuaAPI.xlua_pushinteger(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetOnlineType(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    int _onlineType = LuaAPI.xlua_tointeger(L, 2); 
 | 
                     
 | 
                        string gen_ret = gen_to_be_invoked.GetOnlineType( _onlineType ); 
 | 
                        LuaAPI.lua_pushstring(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SocialPlayerOrder(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    byte _groupType = (byte)LuaAPI.xlua_tointeger(L, 2); 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<uint, FriendPlayer> gen_ret = gen_to_be_invoked.SocialPlayerOrder( _groupType ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetCompareRecentResult(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    FriendPlayer _start = (FriendPlayer)translator.GetObject(L, 2, typeof(FriendPlayer)); 
 | 
                    FriendPlayer _end = (FriendPlayer)translator.GetObject(L, 3, typeof(FriendPlayer)); 
 | 
                     
 | 
                        int gen_ret = gen_to_be_invoked.GetCompareRecentResult( _start, _end ); 
 | 
                        LuaAPI.xlua_pushinteger(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetCompareFriendResult(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    FriendPlayer _start = (FriendPlayer)translator.GetObject(L, 2, typeof(FriendPlayer)); 
 | 
                    FriendPlayer _end = (FriendPlayer)translator.GetObject(L, 3, typeof(FriendPlayer)); 
 | 
                     
 | 
                        int gen_ret = gen_to_be_invoked.GetCompareFriendResult( _start, _end ); 
 | 
                        LuaAPI.xlua_pushinteger(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_IsOnline(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    FriendPlayer _player = (FriendPlayer)translator.GetObject(L, 2, typeof(FriendPlayer)); 
 | 
                     
 | 
                        bool gen_ret = gen_to_be_invoked.IsOnline( _player ); 
 | 
                        LuaAPI.lua_pushboolean(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetGroupAllInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<byte, System.Collections.Generic.Dictionary<uint, FriendPlayer>> gen_ret = gen_to_be_invoked.GetGroupAllInfo(  ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetFriendInfoDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    byte _groupType = (byte)LuaAPI.xlua_tointeger(L, 2); 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<uint, FriendPlayer> gen_ret = gen_to_be_invoked.GetFriendInfoDict( _groupType ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetFriendDictByType(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    byte _groupType = (byte)LuaAPI.xlua_tointeger(L, 2); 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<uint, FriendPlayer> gen_ret = gen_to_be_invoked.GetFriendDictByType( _groupType ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetFirendInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _friendId = LuaAPI.xlua_touint(L, 2); 
 | 
                    byte _groupType = (byte)LuaAPI.xlua_tointeger(L, 3); 
 | 
                     
 | 
                        FriendPlayer gen_ret = gen_to_be_invoked.GetFirendInfo( _friendId, _groupType ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetFriendQuestDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<uint, FriendPlayer> gen_ret = gen_to_be_invoked.GetFriendQuestDict(  ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_DeleteFriendQuest(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _PlayerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.DeleteFriendQuest( _PlayerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_DeleteAllFriendQuest(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.DeleteAllFriendQuest(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetRecommendDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                        System.Collections.Generic.Dictionary<uint, FriendPlayer> gen_ret = gen_to_be_invoked.GetRecommendDict(  ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_GetAddFriendInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _id = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                        FriendPlayer gen_ret = gen_to_be_invoked.GetAddFriendInfo( _id ); 
 | 
                        translator.Push(L, gen_ret); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 1; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickLookFight(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickLookFight( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickRemoveBlack(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickRemoveBlack( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickInviteTeam(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerId = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickInviteTeam( _playerId ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickApplyTeam(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerId = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickApplyTeam( _playerId ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickAddTeam(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickAddTeam(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickAddBlack(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickAddBlack( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickDeleteFriend(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickDeleteFriend( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickAddFriend(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickAddFriend( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SendSearchPlayerQuest(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    string _playerName = LuaAPI.lua_tostring(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.SendSearchPlayerQuest( _playerName ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickViewEquip(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    uint _playerID = LuaAPI.xlua_touint(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickViewEquip( _playerID ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnClickPrivateChat(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.OnClickPrivateChat(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_RefreshFriendlistUI(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                    bool _isOpen = LuaAPI.lua_toboolean(L, 2); 
 | 
                     
 | 
                    gen_to_be_invoked.RefreshFriendlistUI( _isOpen ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_SetPlayerShortInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
             
 | 
                if(gen_param_count == 8&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 8))  
 | 
                { 
 | 
                    uint _PlayerID = LuaAPI.xlua_touint(L, 2); 
 | 
                    string _PlayerName = LuaAPI.lua_tostring(L, 3); 
 | 
                    byte _Job = (byte)LuaAPI.xlua_tointeger(L, 4); 
 | 
                    ushort _LV = (ushort)LuaAPI.xlua_tointeger(L, 5); 
 | 
                    ushort _RealmLV = (ushort)LuaAPI.xlua_tointeger(L, 6); 
 | 
                    byte _OnlineType = (byte)LuaAPI.xlua_tointeger(L, 7); 
 | 
                    bool _isJump = LuaAPI.lua_toboolean(L, 8); 
 | 
                     
 | 
                    gen_to_be_invoked.SetPlayerShortInfo( _PlayerID, _PlayerName, _Job, _LV, _RealmLV, _OnlineType, _isJump ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7))  
 | 
                { 
 | 
                    uint _PlayerID = LuaAPI.xlua_touint(L, 2); 
 | 
                    string _PlayerName = LuaAPI.lua_tostring(L, 3); 
 | 
                    byte _Job = (byte)LuaAPI.xlua_tointeger(L, 4); 
 | 
                    ushort _LV = (ushort)LuaAPI.xlua_tointeger(L, 5); 
 | 
                    ushort _RealmLV = (ushort)LuaAPI.xlua_tointeger(L, 6); 
 | 
                    byte _OnlineType = (byte)LuaAPI.xlua_tointeger(L, 7); 
 | 
                     
 | 
                    gen_to_be_invoked.SetPlayerShortInfo( _PlayerID, _PlayerName, _Job, _LV, _RealmLV, _OnlineType ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
            return LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.SetPlayerShortInfo!"); 
 | 
             
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _m_OnSendCA9A3_tagCGQueryRecommendFriends(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
             
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
             
 | 
             
 | 
                 
 | 
                { 
 | 
                     
 | 
                    gen_to_be_invoked.OnSendCA9A3_tagCGQueryRecommendFriends(  ); 
 | 
                     
 | 
                     
 | 
                     
 | 
                    return 0; 
 | 
                } 
 | 
                 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
             
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_TeamModel(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.TeamModel); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_OpenGreatLV(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.OpenGreatLV); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_contactTypeNumDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.contactTypeNumDict); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_newChatInfo(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.newChatInfo); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_askAddFriendEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.askAddFriendEvent); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_redpointSocial(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.redpointSocial); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_needLookInfoDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.needLookInfoDict); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _g_get_tempFriendData(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                translator.Push(L, gen_to_be_invoked.tempFriendData); 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 1; 
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_askAddFriendEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.askAddFriendEvent = translator.GetDelegate<System.Action>(L, 2); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_redpointSocial(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.redpointSocial = (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_needLookInfoDict(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.needLookInfoDict = (System.Collections.Generic.Dictionary<int, ChatFriendData>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, ChatFriendData>)); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _s_set_tempFriendData(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
             
 | 
                FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                gen_to_be_invoked.tempFriendData = (FriendPlayer)translator.GetObject(L, 2, typeof(FriendPlayer)); 
 | 
             
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_RefreshFriendModel(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
            FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#3 need System.Action!"); 
 | 
                } 
 | 
                 
 | 
                if (gen_param_count == 3) 
 | 
                { 
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { 
 | 
                        gen_to_be_invoked.RefreshFriendModel += gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { 
 | 
                        gen_to_be_invoked.RefreshFriendModel -= gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                } 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.RefreshFriendModel!"); 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_RefreshFriendCntEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
            FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                System.Action<GroupType, bool> gen_delegate = translator.GetDelegate<System.Action<GroupType, bool>>(L, 3); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#3 need System.Action<GroupType, bool>!"); 
 | 
                } 
 | 
                 
 | 
                if (gen_param_count == 3) 
 | 
                { 
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { 
 | 
                        gen_to_be_invoked.RefreshFriendCntEvent += gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { 
 | 
                        gen_to_be_invoked.RefreshFriendCntEvent -= gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                } 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.RefreshFriendCntEvent!"); 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_RefreshRecommendFriendEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
            FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                FriendsModel.OnRefresRecommendFriend gen_delegate = translator.GetDelegate<FriendsModel.OnRefresRecommendFriend>(L, 3); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#3 need FriendsModel.OnRefresRecommendFriend!"); 
 | 
                } 
 | 
                 
 | 
                if (gen_param_count == 3) 
 | 
                { 
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { 
 | 
                        gen_to_be_invoked.RefreshRecommendFriendEvent += gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { 
 | 
                        gen_to_be_invoked.RefreshRecommendFriendEvent -= gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                } 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.RefreshRecommendFriendEvent!"); 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_RefreshQuestEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
            FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                FriendsModel.OnRefreshQuest gen_delegate = translator.GetDelegate<FriendsModel.OnRefreshQuest>(L, 3); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#3 need FriendsModel.OnRefreshQuest!"); 
 | 
                } 
 | 
                 
 | 
                if (gen_param_count == 3) 
 | 
                { 
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { 
 | 
                        gen_to_be_invoked.RefreshQuestEvent += gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { 
 | 
                        gen_to_be_invoked.RefreshQuestEvent -= gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                } 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.RefreshQuestEvent!"); 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 
 | 
        static int _e_friendlistUIEvent(RealStatePtr L) 
 | 
        { 
 | 
            try { 
 | 
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); 
 | 
                int gen_param_count = LuaAPI.lua_gettop(L); 
 | 
            FriendsModel gen_to_be_invoked = (FriendsModel)translator.FastGetCSObj(L, 1); 
 | 
                System.Action<bool> gen_delegate = translator.GetDelegate<System.Action<bool>>(L, 3); 
 | 
                if (gen_delegate == null) { 
 | 
                    return LuaAPI.luaL_error(L, "#3 need System.Action<bool>!"); 
 | 
                } 
 | 
                 
 | 
                if (gen_param_count == 3) 
 | 
                { 
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { 
 | 
                        gen_to_be_invoked.friendlistUIEvent += gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                     
 | 
                    if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { 
 | 
                        gen_to_be_invoked.friendlistUIEvent -= gen_delegate; 
 | 
                        return 0; 
 | 
                    }  
 | 
                     
 | 
                } 
 | 
            } catch(System.Exception gen_e) { 
 | 
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e); 
 | 
            } 
 | 
            LuaAPI.luaL_error(L, "invalid arguments to FriendsModel.friendlistUIEvent!"); 
 | 
            return 0; 
 | 
        } 
 | 
         
 | 
         
 | 
         
 | 
    } 
 | 
} 
 |