C# Class Gablarski.Client.CurrentUser

Inheritance: UserInfo, ICurrentUserHandler
Afficher le fichier Open project: ermau/Gablarski

Méthodes publiques

Méthode Description
CurrentUser ( IGablarskiClientContext context ) : System
Join ( string nickname, string serverPassword ) : void
Join ( string nickname, string phonetic, string serverPassword ) : void
Login ( string username, string password ) : void
MuteCapture ( ) : void

Mutes all capture and sets the user's status accordingly.

MutePlayback ( ) : void

Mutes all playback and sets the user's status accordingly.

Register ( string username, string password ) : void
SetComment ( string comment ) : void

Sets the current user's comment.

SetStatus ( UserStatus status ) : void

Sets the current user's status.

UnmuteCapture ( ) : void

Unmutes all capture and sets the user's status accordingly.

UnmutePlayback ( ) : void

Unmutes all playback and sets the user's status accordingly.

Méthodes protégées

Méthode Description
OnJoinResult ( ReceivedJoinResultEventArgs e ) : void
OnKicked ( EventArgs e ) : void
OnLoginResult ( ReceivedLoginResultEventArgs e ) : void
OnPermissionsChanged ( EventArgs e ) : void
OnRegisterResult ( ReceivedRegisterResultEventArgs e ) : void

Private Methods

Méthode Description
CurrentUser ( IGablarskiClientContext context, int userId, string nickname, int currentChannelId ) : System
OnJoinResultMessage ( MessageEventArgs e ) : void
OnLoginResultMessage ( MessageEventArgs e ) : void
OnPermissionsMessage ( MessageEventArgs e ) : void
OnRegisterResultMessage ( MessageEventArgs e ) : void
OnUserChangedChannelMessage ( MessageEventArgs e ) : void
OnUserKickedMessage ( MessageEventArgs e ) : void
OnUserUpdatedMessage ( MessageEventArgs e ) : void

Method Details

CurrentUser() public méthode

public CurrentUser ( IGablarskiClientContext context ) : System
context IGablarskiClientContext
Résultat System

Join() public méthode

public Join ( string nickname, string serverPassword ) : void
nickname string
serverPassword string
Résultat void

Join() public méthode

public Join ( string nickname, string phonetic, string serverPassword ) : void
nickname string
phonetic string
serverPassword string
Résultat void

Login() public méthode

public Login ( string username, string password ) : void
username string
password string
Résultat void

MuteCapture() public méthode

Mutes all capture and sets the user's status accordingly.
public MuteCapture ( ) : void
Résultat void

MutePlayback() public méthode

Mutes all playback and sets the user's status accordingly.
public MutePlayback ( ) : void
Résultat void

OnJoinResult() protected méthode

protected OnJoinResult ( ReceivedJoinResultEventArgs e ) : void
e ReceivedJoinResultEventArgs
Résultat void

OnKicked() protected méthode

protected OnKicked ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLoginResult() protected méthode

protected OnLoginResult ( ReceivedLoginResultEventArgs e ) : void
e ReceivedLoginResultEventArgs
Résultat void

OnPermissionsChanged() protected méthode

protected OnPermissionsChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnRegisterResult() protected méthode

protected OnRegisterResult ( ReceivedRegisterResultEventArgs e ) : void
e ReceivedRegisterResultEventArgs
Résultat void

Register() public méthode

public Register ( string username, string password ) : void
username string
password string
Résultat void

SetComment() public méthode

Sets the current user's comment.
public SetComment ( string comment ) : void
comment string The comment to set. null is valid to clear.
Résultat void

SetStatus() public méthode

Sets the current user's status.
public SetStatus ( UserStatus status ) : void
status UserStatus The status to set.
Résultat void

UnmuteCapture() public méthode

Unmutes all capture and sets the user's status accordingly.
public UnmuteCapture ( ) : void
Résultat void

UnmutePlayback() public méthode

Unmutes all playback and sets the user's status accordingly.
public UnmutePlayback ( ) : void
Résultat void