using System.Collections.Generic; using FL.Network; using UnityEngine; using XGame.Framework.Data; using XGame.Framework.Network; namespace FL.Data { public class EpigraphService : DataSingleton { public void RequestEpiInto() { NetModule.Request(new MingwenIntoRequest()); } public void UpdateEpiData(List list) { EpigraphData.Instance.SetEpiInfo(list); EventSingle.Instance.Notify(EventDefine.EpigraphHaveInfoUpdate); } /// /// 升星 /// /// 铭文id public void RequestEpiStarUp(int id) { var param = new MingwenUpStarRequest() { sbId = id }; NetModule.Request(param); } /// /// 替换铭文 /// /// 要镶嵌铭文的圣兵 /// 要镶嵌的铭文id public void RequestEpiInset(int sbid, int mwid) { var param = new ShengbingBindingRequest() { sbId = sbid, mwId = mwid }; NetModule.Request(param); } } }