屠宰场客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
824 B

using BO.BO;
using Forks.JsonRpc.Client;
using Forks.JsonRpc.Client.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BO.Utils
{
public static class BaseInfoRpcUtil
{
//public static List<BaseInfoEntity> GetBaseInfoEntity(string rpcName)
//{
// var list = RpcFacade.Call<List<RpcObject>>(string.Format("/MainSystem/B3ClientService/Rpcs/BaseInfoRpc/{0}", rpcName));
// var result = new List<BaseInfoEntity>();
// foreach (RpcObject o in list)
// {
// var entity = new BaseInfoEntity();
// entity.ID = o.Get<long>("ID");
// entity.Name = o.Get<string>("Name");
// entity.Spell = o.Get<string>("Spell");
// result.Add(entity);
// }
// return result;
//}
}
}