Ejemplo n.º 1
0
        public int CoupleWishAdmire(int fromRole, int fromZone, int admireType, int toCoupleId)
        {
            ITianTiService kuaFuService = GetKuaFuService(true);

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