private static void OnAskForAllianceRankingListMessageReceived(AskForAllianceRankingListMessage message, ServerSessionMessage requestMessage) { if (message.GetLocalRanking()) { AllianceLocalRankingListMessage allianceLocalRankingListMessage = new AllianceLocalRankingListMessage(); allianceLocalRankingListMessage.SetAllianceRankingList(new LogicArrayList <AllianceRankingEntry>(0)); allianceLocalRankingListMessage.SetVillageType(message.GetVillageType()); ServerMessageManager.SendMessage(ScoringMessageManager.CreateForwardLogicMessage(allianceLocalRankingListMessage, requestMessage.SessionId), ServerManager.GetProxySocket(requestMessage.SessionId)); } else { AllianceRankingListMessage allianceRankingListMessage = new AllianceRankingListMessage(); allianceRankingListMessage.SetAllianceRankingList(ScoringManager.GetAllianceRankingList(message.GetVillageType(), message.RemoveAllianceId())); allianceRankingListMessage.SetDiamondPrizes(ScoringManager.GetDiamondPrizes()); allianceRankingListMessage.SetNextEndTimeSeconds(ScoringManager.GetNextEndTimeSeconds()); allianceRankingListMessage.SetVillageType(message.GetVillageType()); ServerMessageManager.SendMessage(ScoringMessageManager.CreateForwardLogicMessage(allianceRankingListMessage, requestMessage.SessionId), ServerManager.GetProxySocket(requestMessage.SessionId)); } }