コード例 #1
0
ファイル: UnitTest_Kingdom.cs プロジェクト: jfefes/ORK3
        public bool Kingdom_GetKingdomShortInfo()
        {
            KingdomService.GetKingdomShortInfoRequest request = new KingdomService.GetKingdomShortInfoRequest() { KingdomId = 1 };
            KingdomService.GetKingdomShortInfoResponse response = kingdomsvc.GetKingdomShortInfo(request);

            if (response.Status.Status == 0 && response.KingdomInfo.KingdomId == 1) return true;

            return false;
        }
コード例 #2
0
        public bool Kingdom_GetKingdomShortInfo()
        {
            KingdomService.GetKingdomShortInfoRequest request = new KingdomService.GetKingdomShortInfoRequest()
            {
                KingdomId = 1
            };
            KingdomService.GetKingdomShortInfoResponse response = kingdomsvc.GetKingdomShortInfo(request);

            if (response.Status.Status == 0 && response.KingdomInfo.KingdomId == 1)
            {
                return(true);
            }

            return(false);
        }