123456789101112131415161718192021 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActShengBingPushCtrl : MsgController<ActShengBingPush>
- {
- protected override void OnProcess(ActShengBingPush message, object context)
- {
- PartnersData.Instance.ClearJibanRwd();
- foreach (var jiban in message.jiban)
- {
- PartnersData.Instance.SetJibanRwdState(jiban.jbId, jiban.level);
- }
- PartnersData.Instance.UsePlanId = message.useSuit;
- PartnersService.Instance.InitPartnerMap(message.shengbing);
- PartnersService.Instance.InitPlanMap(message.suit);
- PartnersService.Instance.UpdateCurUpPartnerMap();
- }
- }
- }
|