| | |
| | | public class CrossServerBaseManager : GameSystemManager<CrossServerBaseManager> |
| | | { |
| | | public Dictionary<int, CrossZoneInfo> crossZoneInfoDict = new Dictionary<int, CrossZoneInfo>(); |
| | | |
| | | // 跨服状态更新事件,参数为mapID |
| | | public event Action<int> OnCrossZoneInfoUpdateEvent; |
| | | |
| | | public override void Init() |
| | | { |
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEventOnRelogin += OnBeforePlayerDataInitialize; |
| | |
| | | CrossServerID = netPack.CrossServerID |
| | | }; |
| | | |
| | | OnCrossZoneInfoUpdateEvent?.Invoke((int)netPack.MapID); |
| | | } |
| | | |
| | | // 没有数据代表不在跨服中,群英有个特殊约定zoneid等于0代表结算中 |