ActLongdanLevelPushCtrl.cs 577 B

1234567891011121314151617
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActLongdanLevelPushCtrl : MsgController<ActLongdanLevelPush>
  6. {
  7. protected override void OnProcess(ActLongdanLevelPush message, object context)
  8. {
  9. if (message == null) return;
  10. DragonEggData.Instance.UpLvTime = (long)message.upLvTime*1000;
  11. DragonEggData.Instance.Exp = message.exp;
  12. DragonEggData.Instance.Level = message.level;
  13. EventSingle.Instance.Notify(EventDefine.RefreshTreasureChestUI);
  14. }
  15. }
  16. }