using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class ActJobClassCurrentClassPushCtrl : MsgController { 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); } } } }