C# 클래스 GW2PAO.Modules.WvW.WvWController

상속: IWvWController
파일 보기 프로젝트 열기: SamHurne/gw2pao

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