C# Класс GW2PAO.Modules.WvW.WvWController

Наследование: IWvWController
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CalculateDistances void
CanShowNotification bool
CheckForMapChange void
DisplayNotification void
HandleMatchChange void
InitializeAllObjectivesCollection void
InitializeWorlds void
RebuildCurrentObjectivesCollection void
Refresh void
RefreshObjectives void
RefreshTimers void
RefreshWorldScores void
WvWController System

Открытые методы

Метод Описание
Shutdown ( ) : void

Forces a shutdown of the controller, including all running timers/threads

Start ( ) : void

Starts the automatic refresh

Stop ( ) : void

Stops the automatic refresh

Приватные методы

Метод Описание
CalculateDistances ( ) : void

Recalculates/refreshes all calculated distances

CanShowNotification ( WvWObjectiveViewModel objectiveData ) : bool

Determines if we can show a notification for the given objective, based on user settings

CheckForMapChange ( ) : void

Performs a check for a map change and performs any neccessary actions if the map has changed

DisplayNotification ( WvWObjectiveViewModel objectiveData ) : void

Adds an objective to the notifications collection, and then removes the objective 10 seconds later

HandleMatchChange ( string newMatchID ) : void

Performs actions to handle a match change (either the match ended or the user switched matches)

InitializeAllObjectivesCollection ( ) : void

Initializes the All Objectives collection

InitializeWorlds ( ) : void

Initializes the WvW teams collection

RebuildCurrentObjectivesCollection ( WvWMap map ) : void

Rebuilds the current objectives collections

Refresh ( object state = null ) : void

Refreshes all objectives within the objectives collection This is the primary function of the WvWController

RefreshObjectives ( ) : void

Refreshes various state information for all objectives

RefreshTimers ( ) : void

Refreshes all timer values, including RI

RefreshWorldScores ( ) : void

Refreshes the score of all worlds

WvWController ( IWvWService wvwService, IPlayerService playerService, IHasWvWMap hasMap, IGuildService guildService, WvWUserData userData ) : System

Описание методов

Shutdown() публичный Метод

Forces a shutdown of the controller, including all running timers/threads
public Shutdown ( ) : void
Результат void

Start() публичный Метод

Starts the automatic refresh
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops the automatic refresh
public Stop ( ) : void
Результат void