C# Class GW2PAO.Modules.WvW.ViewModels.WvWObjectiveViewModel

Inheritance: BindableBase
Show file Open project: SamHurne/gw2pao Class Usage Examples

Public Methods

Method Description
RefreshForMatchReset ( ICollection wvwTeams ) : void

Refreshes the objective information for a new WvW matchup

WvWObjectiveViewModel ( WvWObjective objective, WvWUserData userData, ICollection wvwTeams, ICollection displayedNotificationsCollection ) : GW2PAO.API.Data

Default constructor

Private Methods

Method Description
AddToHiddenObjectives ( ) : void

Adds the event to the list of hidden events

CanCopyChatCode ( ) : bool

Returns true if a chat code is available for this objective, else false

CloseNotification ( ) : void

Removes this objective from the collection of displayed notifications

CopyChatCode ( ) : void

Copies the objectives's chat code, if it has one

CopyEnemyHeadedToText ( ) : void

Copies "Enemy headed to 'x'" text to the clipboard for pasting into the in-game chat

CopyGeneralData ( ) : void

Copies general data about an objective to the clipboard for pasting into the in-game chat

CopyPlayerHeadedToText ( ) : void

Copies "I'm headed to 'x'" text to the clipboard for pasting into the in-game chat

CopyRIText ( ) : void

Copies "x: RI 'xx:xx:xx'" or "x: RI Not Active" text to the clipboard for pasting into the in-game chat

CopyUnderAttackText ( ) : void

Copies "'x' is under attack!" text to the clipboard for pasting into the in-game chat

RefreshVisibility ( ) : void

Refreshes the visibility of the event

Method Details

RefreshForMatchReset() public method

Refreshes the objective information for a new WvW matchup
public RefreshForMatchReset ( ICollection wvwTeams ) : void
wvwTeams ICollection The new collection of WvW teams
return void

WvWObjectiveViewModel() public method

Default constructor
public WvWObjectiveViewModel ( WvWObjective objective, WvWUserData userData, ICollection wvwTeams, ICollection displayedNotificationsCollection ) : GW2PAO.API.Data
objective GW2PAO.API.Data.Entities.WvWObjective The objective details
userData WvWUserData
wvwTeams ICollection Collection containing all of the WvW Teams
displayedNotificationsCollection ICollection
return GW2PAO.API.Data