ActLongdanExpPushCtrl.cs 468 B

12345678910111213141516171819
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActLongdanExpPushCtrl : MsgController<ActLongdanExpPush>
  6. {
  7. protected override void OnProcess(ActLongdanExpPush message, object context)
  8. {
  9. if (message != null)
  10. {
  11. if (message?.exp != null)
  12. {
  13. DragonEggData.Instance.Exp = message.exp;
  14. }
  15. }
  16. }
  17. }
  18. }