protected override void OnFightEnded() { ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(Clients, false, PvpArenaStepEnum.ARENA_STEP_UNREGISTER, PvpArenaTypeEnum.ARENA_TYPE_3VS3); base.OnFightEnded(); }
public void RemoveFromQueue(ArenaParty party) { lock (m_queue) m_queue.RemoveAll(x => x.Party == party); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(party.Clients, false, PvpArenaStepEnum.ARENA_STEP_UNREGISTER, PvpArenaTypeEnum.ARENA_TYPE_3VS3); }
public void RemoveFromQueue(Character character) { lock (m_queue) m_queue.RemoveAll(x => x.Character == character); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(character.Client, false, PvpArenaStepEnum.ARENA_STEP_UNREGISTER, PvpArenaTypeEnum.ARENA_TYPE_3VS3); }
public override void StartPlacement() { ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(Clients, false, PvpArenaStepEnum.ARENA_STEP_STARTING_FIGHT, PvpArenaTypeEnum.ARENA_TYPE_3VS3); base.StartPlacement(); m_placementTimer = Map.Area.CallDelayed(FightConfiguration.PlacementPhaseTime, StartFighting); }
void OnMemberRemoved(ArenaPreFightTeam arg1, ArenaWaitingCharacter arg2) { arg2.ReadyChanged -= OnReadyChanged; arg2.FightDenied -= OnFightDenied; m_clients.Remove(arg2.Character.Client); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(Clients, false, PvpArenaStepEnum.ARENA_STEP_UNREGISTER, PvpArenaTypeEnum.ARENA_TYPE_3VS3); }
public void AddToQueue(Character character) { if (!CanJoinQueue(character)) { return; } lock (m_queue) m_queue.Add(new ArenaQueueMember(character)); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(character.Client, true, PvpArenaStepEnum.ARENA_STEP_REGISTRED, PvpArenaTypeEnum.ARENA_TYPE_3VS3); }
public override void Display() { ContextHandler.SendGameRolePlayArenaFightPropositionMessage(Character.Client, this, DisplayTime); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(Character.Client, false, PvpArenaStepEnum.ARENA_STEP_WAITING_FIGHT, PvpArenaTypeEnum.ARENA_TYPE_3VS3); Character.ArenaPopup = this; try { m_timer = Character.Area.CallDelayed(DisplayTime * 1000, Deny); } catch (Exception ex) { Deny(); } }
public void AddToQueue(ArenaParty party) { if (!party.Members.All(CanJoinQueue)) { return; } lock (m_queue) m_queue.Add(new ArenaQueueMember(party)); ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(party.Clients, true, PvpArenaStepEnum.ARENA_STEP_REGISTRED, PvpArenaTypeEnum.ARENA_TYPE_3VS3); foreach (var character in party.Members.Where(x => x != party.Leader)) { BasicHandler.SendTextInformationMessage(character.Client, TextInformationTypeEnum.TEXT_INFORMATION_MESSAGE, 272, party.Leader.Name); } //%1 vous a inscrit à un combat en Kolizéum. }