123456789101112131415161718192021222324 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActShengbingShangzhenPushCtrl : MsgController<ActShengbingShangzhenPush>
- {
- protected override void OnProcess(ActShengbingShangzhenPush message, object context)
- {
- foreach (var cao in message.shangzhen)
- {
- if (PartnersData.Instance.UpSbMap.TryGetValue(cao.caoId, out var id))
- {
- PartnersData.Instance.UpSbMap.Remove(cao.caoId);
- PartnersData.Instance.UpSbMap.Add(cao.caoId, cao.sbId);
- }
- else
- {
- PartnersData.Instance.UpSbMap.Add(cao.caoId, cao.sbId);
- }
- }
- }
- }
- }
|