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