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 GetBaseInfoEntity(string rpcName) //{ // var list = RpcFacade.Call>(string.Format("/MainSystem/B3ClientService/Rpcs/BaseInfoRpc/{0}", rpcName)); // var result = new List(); // foreach (RpcObject o in list) // { // var entity = new BaseInfoEntity(); // entity.ID = o.Get("ID"); // entity.Name = o.Get("Name"); // entity.Spell = o.Get("Spell"); // result.Add(entity); // } // return result; //} } }