C# Class GW2PAO.Modules.Teamspeak.ViewModels.TeamspeakViewModel

Inheritance: BindableBase
Mostrar archivo Open project: SamHurne/gw2pao

Public Methods

Method Description
Shutdown ( ) : void

Shutsdown the teamspeak view model, including connection to the Teamspeak Application

Private Methods

Method Description
FindChannel ( ICollection channelCollection, uint channelId ) : GW2PAO.Modules.Teamspeak.ViewModels.ChannelViewModel

Recursively searches through a collection of channels to find a specific ChannelViewModel object

FindParentChannel ( ICollection channelCollection, GW2PAO.Modules.Teamspeak.ViewModels.ChannelViewModel subChannel ) : GW2PAO.Modules.Teamspeak.ViewModels.ChannelViewModel

Recursively searches through a collection of channels to find a subChannel's parent ChannelViewModel object

SendMessage ( ) : void

Sends a message to the teamspeak channel's chat Uses the value of the MessageText property

TeamspeakService_ChannelAdded ( object sender, TS3 e ) : void

Handler for the Channel Added event

TeamspeakService_ChannelRemoved ( object sender, TS3 e ) : void

Handler for the Channel Removed event

TeamspeakService_ChannelUpdated ( object sender, TS3 e ) : void

Handler for the Channel Updated event

TeamspeakService_ClientChannelChanged ( object sender, TS3 e ) : void

Handles the New Channel Info event of the Teamspeak Service

TeamspeakService_ClientEnteredChannel ( object sender, TS3 e ) : void

Handler for the Client Entered Channel event

TeamspeakService_ClientExitedChannel ( object sender, TS3 e ) : void

Handler for the Client Exited Channel event

TeamspeakService_ConnectionRefused ( object sender, EventArgs e ) : void

Connection was refused, meaning teamspeak is not running

TeamspeakService_NewServerInfo ( object sender, TS3 e ) : void

Handles the New Server Info event of the Teamspeak Service

TeamspeakService_TalkStatusChanged ( object sender, TS3 e ) : void

Handles the talk status changed event

TeamspeakService_TextMessageReceived ( object sender, TS3 e ) : void

Handles the text message received event

TeamspeakViewModel ( ITeamspeakService teamspeakService, TeamspeakUserData userData ) : GW2PAO.PresentationCore

Method Details

Shutdown() public method

Shutsdown the teamspeak view model, including connection to the Teamspeak Application
public Shutdown ( ) : void
return void