C# 클래스 Skylabs.Lobby.Client

파일 보기 프로젝트 열기: octgn/OCTGN 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Config ILobbyConfig

Private Properties

프로퍼티 타입 설명
BeginConnect void
FireLoginComplete void
OnIgnorelistUpdated void
RebuildXmpp void
ReconnectTimerOnElapsed void
XmppOnOnAgentItem void
XmppOnOnAuthError void
XmppOnOnClose void
XmppOnOnError void
XmppOnOnIq void
XmppOnOnLogin void
XmppOnOnMessage void
XmppOnOnReadXml void
XmppOnOnRegisterError void
XmppOnOnRegistered void
XmppOnOnRosterEnd void
XmppOnOnRosterItem void
XmppOnOnRosterStart void
XmppOnOnSocketError void
XmppOnOnStreamError void
XmppOnOnWriteXml void
XmppOnOnXmppConnectionStateChanged void
XmppOnPresence void

공개 메소드들

메소드 설명
AcceptFriendship ( Jid user ) : void

The accept friendship.

BeginHostGame ( Octgn game, string gamename, string password, string actualgamename, string gameIconUrl, System.Version sasVersion, bool specators ) : void

The begin host game.

BeginLogin ( string username, string password ) : void

The begin login.

BeginReconnect ( ) : void

The begin get game list.

The begin reconnect.

BeginRegister ( string username, string password, string email ) : void

The begin register.

Client ( ILobbyConfig config ) : System

Initializes a new instance of the Client class.

DeclineFriendship ( Jid user ) : void

The decline friendship.

Disconnect ( ) : void
GetNotificationList ( ) : Notification[]

The get notification list.

HostedGameStarted ( ) : void

The get hosted games.

The hosted game started.

IgnoreUser ( string username ) : void
KillGame ( System.Guid gameId ) : void
LogOut ( ) : void

The log out.

RemoveFriend ( agsXMPP.protocol.x.muc.User user ) : void

The remove friend.

Send ( Element e ) : void

The send.

Send ( string s ) : void

The send.

SendFriendRequest ( string username ) : void

The send friend request.

SendGameInvite ( agsXMPP.protocol.x.muc.User user, System.Guid sessionId, string gamePassword ) : void
SetCustomStatus ( string status ) : void

The set custom status.

SetStatus ( UserStatus status ) : void

The set status.

Stop ( ) : void

The stop.

UnignoreUser ( agsXMPP.protocol.x.muc.User user ) : void

비공개 메소드들

메소드 설명
BeginConnect ( ) : void
FireLoginComplete ( LoginResults result ) : void

The fire login complete.

OnIgnorelistUpdated ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void
RebuildXmpp ( ) : void
ReconnectTimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
XmppOnOnAgentItem ( object sender, agsXMPP.protocol.iq.agent.Agent agent ) : void

The xmpp on on agent item.

XmppOnOnAuthError ( object sender, Element element ) : void

The xmpp on on auth error.

XmppOnOnClose ( object sender ) : void

The xmpp on on close.

XmppOnOnError ( object sender, Exception exception ) : void

The xmpp on on error.

XmppOnOnIq ( object sender, agsXMPP.protocol.client.IQ iq ) : void

The xmpp on on iq.

XmppOnOnLogin ( object sender ) : void

The xmpp on on login.

XmppOnOnMessage ( object sender, Message msg ) : void

The xmpp on on message.

XmppOnOnReadXml ( object sender, string xml ) : void

The xmpp on on read xml.

XmppOnOnRegisterError ( object sender, Element element ) : void

The xmpp on on register error.

XmppOnOnRegistered ( object sender ) : void

The xmpp on on registered.

XmppOnOnRosterEnd ( object sender ) : void

The xmpp on on roster end.

XmppOnOnRosterItem ( object sender, RosterItem item ) : void

The xmpp on on roster item.

XmppOnOnRosterStart ( object sender ) : void

The xmpp on on roster start.

XmppOnOnSocketError ( object sender, Exception exception ) : void

The xmpp on on socket error.

XmppOnOnStreamError ( object sender, Element element ) : void

The xmpp on on stream error.

XmppOnOnWriteXml ( object sender, string xml ) : void

The xmpp on on write xml.

XmppOnOnXmppConnectionStateChanged ( object sender, XmppConnectionState state ) : void

The xmpp on on xmpp connection state changed.

XmppOnPresence ( object sender, Presence pres ) : void

The xmpp on presence.

메소드 상세

AcceptFriendship() 공개 메소드

The accept friendship.
public AcceptFriendship ( Jid user ) : void
user Jid /// The user. ///
리턴 void

BeginHostGame() 공개 메소드

The begin host game.
public BeginHostGame ( Octgn game, string gamename, string password, string actualgamename, string gameIconUrl, System.Version sasVersion, bool specators ) : void
game Octgn /// The game. ///
gamename string /// The gamename. ///
password string
actualgamename string
gameIconUrl string
sasVersion System.Version
specators bool
리턴 void

BeginLogin() 공개 메소드

The begin login.
public BeginLogin ( string username, string password ) : void
username string /// The username. ///
password string /// The password. ///
리턴 void

BeginReconnect() 공개 메소드

The begin get game list. The begin reconnect.
public BeginReconnect ( ) : void
리턴 void

BeginRegister() 공개 메소드

The begin register.
public BeginRegister ( string username, string password, string email ) : void
username string /// The username. ///
password string /// The password. ///
email string /// The email. ///
리턴 void

Client() 공개 메소드

Initializes a new instance of the Client class.
public Client ( ILobbyConfig config ) : System
config ILobbyConfig Lobby Config
리턴 System

DeclineFriendship() 공개 메소드

The decline friendship.
public DeclineFriendship ( Jid user ) : void
user Jid /// The user. ///
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetNotificationList() 공개 메소드

The get notification list.
public GetNotificationList ( ) : Notification[]
리턴 Notification[]

HostedGameStarted() 공개 메소드

The get hosted games. The hosted game started.
public HostedGameStarted ( ) : void
리턴 void

IgnoreUser() 공개 메소드

public IgnoreUser ( string username ) : void
username string
리턴 void

KillGame() 공개 메소드

public KillGame ( System.Guid gameId ) : void
gameId System.Guid
리턴 void

LogOut() 공개 메소드

The log out.
public LogOut ( ) : void
리턴 void

RemoveFriend() 공개 메소드

The remove friend.
public RemoveFriend ( agsXMPP.protocol.x.muc.User user ) : void
user agsXMPP.protocol.x.muc.User /// The user. ///
리턴 void

Send() 공개 메소드

The send.
public Send ( Element e ) : void
e Element /// The e. ///
리턴 void

Send() 공개 메소드

The send.
public Send ( string s ) : void
s string /// The s. ///
리턴 void

SendFriendRequest() 공개 메소드

The send friend request.
public SendFriendRequest ( string username ) : void
username string /// The username. ///
리턴 void

SendGameInvite() 공개 메소드

public SendGameInvite ( agsXMPP.protocol.x.muc.User user, System.Guid sessionId, string gamePassword ) : void
user agsXMPP.protocol.x.muc.User
sessionId System.Guid
gamePassword string
리턴 void

SetCustomStatus() 공개 메소드

The set custom status.
public SetCustomStatus ( string status ) : void
status string /// The status. ///
리턴 void

SetStatus() 공개 메소드

The set status.
public SetStatus ( UserStatus status ) : void
status UserStatus /// The status. ///
리턴 void

Stop() 공개 메소드

The stop.
public Stop ( ) : void
리턴 void

UnignoreUser() 공개 메소드

public UnignoreUser ( agsXMPP.protocol.x.muc.User user ) : void
user agsXMPP.protocol.x.muc.User
리턴 void

프로퍼티 상세

Config 공개적으로 프로퍼티

The host.
public ILobbyConfig Config
리턴 ILobbyConfig