using FL.Network; using XGame.Framework.Data; using XGame.Framework.Network; namespace FL.Data { public class EpigraphService : DataSingleton { public void RequestEpiInto() { NetModule.Request(new MingwenIntoRequest()); } /// /// 升星 /// /// 铭文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); } /// /// 铭文一件上阵 /// public void RequestEpiWearAll() { NetModule.Request(new MingwenWearAllRequest()); } /// /// 铭文一键强化 /// public void RequestEpiStrongAll() { NetModule.Request(new MingwenStrongAllRequest()); } public void OpenUpMode(int mwId) { EpigraphData.Instance.UpModeSelect = mwId; EventSingle.Instance.Notify(EventDefine.EpigraphOpenUpMode, mwId); } public void FinishUpMode() { EpigraphData.Instance.UpModeSelect = 0; EventSingle.Instance.Notify(EventDefine.EpigraphFinishUpMode); } } }