Beispiel #1
0
        public int CoupleWishJoinParty(int fromRole, int fromZone, int toCoupleId)
        {
            ITianTiService kuaFuService = GetKuaFuService();

            if (null != kuaFuService)
            {
                try
                {
                    return(kuaFuService.CoupleWishJoinParty(fromRole, fromZone, toCoupleId));
                }
                catch (System.Exception ex)
                {
                    ResetKuaFuService();
                    return(StdErrorCode.Error_Server_Internal_Error);
                }
            }
            else
            {
                return(StdErrorCode.Error_Server_Not_Registed);
            }
        }