using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class ActShengBingPushCtrl : MsgController { protected override void OnProcess(ActShengBingPush message, object context) { PartnersData.Instance.ClearJibanActive(); foreach (var jiban in message.jiban) { PartnersData.Instance.SetJibanActiveState(jiban.jbId, jiban.level); } PartnersService.Instance.InitPartnerMap(message.shengbing); // PartnersData.Instance.ClearSbUpMap(); foreach (var cao in message.shangzhen) { PartnersData.Instance.UpSbMap.Add(cao.caoId, cao.sbId); } PartnersData.Instance.UpdateUpSbPosMap(); } } }