12345678910111213141516171819202122232425262728 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActJobClassAllPointPushCtrl : MsgController<ActJobClassAllPointPush>
- {
- protected override void OnProcess(ActJobClassAllPointPush message, object context)
- {
- PlayerData.Instance.AllPoint = message.allPoint;
- if (message.runePlan != null)
- {
- 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);
- }
- }
- }
- }
- }
- }
|