ActJobClassResetClassPushCtrl.cs 447 B

123456789101112131415
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActJobClassResetClassPushCtrl : MsgController<ActJobClassResetClassPush>
  6. {
  7. protected override void OnProcess(ActJobClassResetClassPush message, object context)
  8. {
  9. if (message.currentClass > 0)PlayerData.Instance.JobId = message.currentClass;
  10. PlayerData.Instance.ResetJobId = message.resetClass;
  11. }
  12. }
  13. }