/// <summary> /// Возвращает данные о базе игрока /// </summary> /// <param name="msg"></param> /// <returns></returns> public async Task <wcfservice.BaseEntity> RetrieveBaseData(wcfservice.BaseAction msg) { var client = new Service1Client(); var result = await client.GetBaseInfoAsync(msg); client.Close(); return(result); }
/// <summary> /// Выполняет действия игрока с базой /// </summary> /// <param name="msg"></param> /// <returns></returns> public async Task <string> Action(wcfservice.BaseAction msg) { var client = new Service1Client(); var result = await client.BaseActionAsync(msg); client.Close(); return(result); }
/// <summary> /// Возвращает данные о юнитах на базе /// </summary> /// <returns></returns> public async Task <IEnumerable <wcfservice.UnitsData> > GetBaseUnitsList(wcfservice.BaseAction q) { var client = new Service1Client(); var entities = await client.GetBaseUnitsListAsync(q); client.Close(); return(entities); }
public System.Threading.Tasks.Task <wcfservice.BaseEntity> GetBaseInfoAsync(wcfservice.BaseAction msg) { return(base.Channel.GetBaseInfoAsync(msg)); }
public System.Threading.Tasks.Task <wcfservice.UnitsData[]> GetBaseUnitsListAsync(wcfservice.BaseAction obj) { return(base.Channel.GetBaseUnitsListAsync(obj)); }
public wcfservice.BaseEntity GetBaseInfo(wcfservice.BaseAction msg) { return(base.Channel.GetBaseInfo(msg)); }
public wcfservice.UnitsData[] GetBaseUnitsList(wcfservice.BaseAction obj) { return(base.Channel.GetBaseUnitsList(obj)); }
public System.Threading.Tasks.Task <wcfservice.StructureEntity[]> GetBaseStructuresAsync(wcfservice.BaseAction msg) { return(base.Channel.GetBaseStructuresAsync(msg)); }
public wcfservice.StructureEntity[] GetBaseStructures(wcfservice.BaseAction msg) { return(base.Channel.GetBaseStructures(msg)); }
public System.Threading.Tasks.Task <string> BaseActionAsync(wcfservice.BaseAction msg) { return(base.Channel.BaseActionAsync(msg)); }
public string BaseAction(wcfservice.BaseAction msg) { return(base.Channel.BaseAction(msg)); }