using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class ActJobClassRunePlanPushCtrl : MsgController { protected override void OnProcess(ActJobClassRunePlanPush message, object context) { if (message.runePlan == null) return; var runePlanMap = PlayerData.Instance.RunePlanMap; foreach (var item in message.runePlan) { if (runePlanMap.ContainsKey(item.id)) { runePlanMap[item.id] = item; } else { runePlanMap.Add(item.id, item); } } } } }