123456789101112131415161718192021222324252627282930313233 |
- using FL.Network;
- using XGame.Framework.Data;
- using XGame.Framework.Network;
- namespace FL.Data
- {
- public class ShopService : DataSingleton<ShopService>
- {
- #region 新接口
- //进入商店
- public void RequestShopInto()
- {
- var param = new ShopIntoRequest() { };
- NetModule.Request(param);
- }
- //普通商店购买
- public void RequestShopBuy(int id)
- {
- var param = new ShopBuyRequest() { id = id };
- NetModule.Request(param);
- }
- //人民币购买
- public void RequestShopRmbBuy(int id, int daibi)
- {
- var param = new ShopRmbBuyRequest() { id = id, daibi = daibi };
- NetModule.Request(param);
- }
- #endregion
- }
- }
|