123456789101112131415161718 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActJobClassCurrentClassPushCtrl : MsgController<ActJobClassCurrentClassPush>
- {
- protected override void OnProcess(ActJobClassCurrentClassPush message, object context)
- {
- PlayerData.Instance.JobId = message.currentClass;
- if (message.classHistory != null)
- {
- PlayerData.Instance.JobHistoryList.Clear();
- PlayerData.Instance.JobHistoryList.AddRange(message.classHistory);
- }
- }
- }
- }
|