C# Класс Gablarski.Client.CurrentUser

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

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

Метод Описание
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.

Защищенные методы

Метод Описание
OnJoinResult ( ReceivedJoinResultEventArgs e ) : void
OnKicked ( EventArgs e ) : void
OnLoginResult ( ReceivedLoginResultEventArgs e ) : void
OnPermissionsChanged ( EventArgs e ) : void
OnRegisterResult ( ReceivedRegisterResultEventArgs e ) : void

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

Метод Описание
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

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

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

public CurrentUser ( IGablarskiClientContext context ) : System
context IGablarskiClientContext
Результат System

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

public Join ( string nickname, string serverPassword ) : void
nickname string
serverPassword string
Результат void

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

public Join ( string nickname, string phonetic, string serverPassword ) : void
nickname string
phonetic string
serverPassword string
Результат void

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

public Login ( string username, string password ) : void
username string
password string
Результат void

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

Mutes all capture and sets the user's status accordingly.
public MuteCapture ( ) : void
Результат void

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

Mutes all playback and sets the user's status accordingly.
public MutePlayback ( ) : void
Результат void

OnJoinResult() защищенный Метод

protected OnJoinResult ( ReceivedJoinResultEventArgs e ) : void
e ReceivedJoinResultEventArgs
Результат void

OnKicked() защищенный Метод

protected OnKicked ( EventArgs e ) : void
e System.EventArgs
Результат void

OnLoginResult() защищенный Метод

protected OnLoginResult ( ReceivedLoginResultEventArgs e ) : void
e ReceivedLoginResultEventArgs
Результат void

OnPermissionsChanged() защищенный Метод

protected OnPermissionsChanged ( EventArgs e ) : void
e System.EventArgs
Результат void

OnRegisterResult() защищенный Метод

protected OnRegisterResult ( ReceivedRegisterResultEventArgs e ) : void
e ReceivedRegisterResultEventArgs
Результат void

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

public Register ( string username, string password ) : void
username string
password string
Результат void

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

Sets the current user's comment.
public SetComment ( string comment ) : void
comment string The comment to set. null is valid to clear.
Результат void

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

Sets the current user's status.
public SetStatus ( UserStatus status ) : void
status UserStatus The status to set.
Результат void

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

Unmutes all capture and sets the user's status accordingly.
public UnmuteCapture ( ) : void
Результат void

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

Unmutes all playback and sets the user's status accordingly.
public UnmutePlayback ( ) : void
Результат void