public void MicroSync() { if (!Validate()) { State = PvPBattleState.Internal; return; } if (BattleRegion != null) { BattleRegion.MicroSync(); } if (SpectateRegion != null) { SpectateRegion.MicroSync(); } ForEachTeam(t => t.MicroSync()); OnMicroSync(); }
public void MicroSync() { if (!Validate()) { State = PvPBattleState.Internal; return; } if (BattleRegion != null) { BattleRegion.MicroSync(); } if (SpectateRegion != null) { SpectateRegion.MicroSync(); } Teams.Where(team => team != null && !team.Deleted).ForEach(team => team.MicroSync()); OnMicroSync(); }