UserInfoLevelPushCtrl.cs 372 B

1234567891011121314
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class UserInfoLevelPushCtrl : MsgController<UserInfoLevelPush>
  6. {
  7. protected override void OnProcess(UserInfoLevelPush message, object context)
  8. {
  9. PlayerData.Instance.Level = message.level;
  10. PlayerData.Instance.Exp = message.exp;
  11. }
  12. }
  13. }