C# Class Aura.Msgr.Network.Send

Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode Description
ChangeOptionsR ( MsgrClient client, bool success ) : void

Updates options on the client on success.

ChatBeginR ( Aura.Msgr.Database.User user, long sessionId, int friendId ) : void

Notifies users about friend being offline.

ChatInviteR ( Aura.Msgr.Chat.ChatSession session, Aura.Msgr.Database.User user ) : void

Notifies users about someone joining the chat.

ChatJoin ( Aura.Msgr.Database.User user, Aura.Msgr.Chat.ChatSession session ) : void

Sends initial chat session information to user.

ChatLeave ( Aura.Msgr.Chat.ChatSession session, Aura.Msgr.Database.User user ) : void

Notifies session user about user closing chat window.

ChatR ( Aura.Msgr.Chat.ChatSession session, int contactId, string message ) : void

Broadcasts chat message in session.

FriendBlockR ( Aura.Msgr.Database.User user, bool success, int friendId ) : void

Response to FriendBlock request.

FriendConfirm ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void

Sends live invitation from friend to user.

FriendInviteR ( MsgrClient client, FriendInviteResult result, Aura.Msgr.Database.Friend friend = null ) : void

Response to FriendInvite.

FriendListRequestR ( MsgrClient client, List friends ) : void

Sends friend list to client.

FriendOffline ( List users, Aura.Msgr.Database.User friend ) : void

Notifies users about friend being offline.

FriendOffline ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void

Notifies user about friend being offline.

FriendOnline ( List users, Aura.Msgr.Database.User friend ) : void

Notifies users about friend being online.

FriendOnline ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void

Notifies user about friend being online.

FriendOptionChanged ( List friends, Aura.Msgr.Database.User user ) : void

Updates user's status and nickname for all friends.

FriendUnblockR ( Aura.Msgr.Database.User user, bool success, int friendId ) : void

Response to FriendUnblock request.

GroupList ( MsgrClient client, ICollection groups ) : void

Sends group list to client.

GuildChatMsg ( Aura.Msgr.Database.User user, string sender, string msg ) : void

Sends GuildChatMsg from sender to user's client.

GuildMemberListR ( MsgrClient client, Guild guild ) : void

Sends GuildMemberListR to client.

GuildMemberRemove ( MsgrClient client, int contactId ) : void

Sends GuildMemberRemove to client.

GuildMemberState ( MsgrClient client, Guild guild, GuildMember member, Aura.Msgr.Database.User user, ContactStatus status ) : void

Sends GuildMemberState to client.

LoginR ( MsgrClient client, LoginResult result ) : void
NoteListRequestR ( MsgrClient client, List notes ) : void

Sends note list to client.

ReadNoteR ( MsgrClient client, Note note ) : void

Sends note to client.

SendNoteR ( MsgrClient client ) : void

Sends note to client.

YouGotNote ( MsgrClient client, Note note ) : void

Sends note to client.

Method Details

ChangeOptionsR() public static méthode

Updates options on the client on success.
public static ChangeOptionsR ( MsgrClient client, bool success ) : void
client MsgrClient
success bool
Résultat void

ChatBeginR() public static méthode

Notifies users about friend being offline.
public static ChatBeginR ( Aura.Msgr.Database.User user, long sessionId, int friendId ) : void
user Aura.Msgr.Database.User
sessionId long
friendId int
Résultat void

ChatInviteR() public static méthode

Notifies users about someone joining the chat.
public static ChatInviteR ( Aura.Msgr.Chat.ChatSession session, Aura.Msgr.Database.User user ) : void
session Aura.Msgr.Chat.ChatSession
user Aura.Msgr.Database.User
Résultat void

ChatJoin() public static méthode

Sends initial chat session information to user.
public static ChatJoin ( Aura.Msgr.Database.User user, Aura.Msgr.Chat.ChatSession session ) : void
user Aura.Msgr.Database.User
session Aura.Msgr.Chat.ChatSession
Résultat void

ChatLeave() public static méthode

Notifies session user about user closing chat window.
public static ChatLeave ( Aura.Msgr.Chat.ChatSession session, Aura.Msgr.Database.User user ) : void
session Aura.Msgr.Chat.ChatSession
user Aura.Msgr.Database.User
Résultat void

ChatR() public static méthode

Broadcasts chat message in session.
public static ChatR ( Aura.Msgr.Chat.ChatSession session, int contactId, string message ) : void
session Aura.Msgr.Chat.ChatSession
contactId int
message string
Résultat void

FriendBlockR() public static méthode

Response to FriendBlock request.
public static FriendBlockR ( Aura.Msgr.Database.User user, bool success, int friendId ) : void
user Aura.Msgr.Database.User
success bool
friendId int Only required on success.
Résultat void

FriendConfirm() public static méthode

Sends live invitation from friend to user.
public static FriendConfirm ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void
user Aura.Msgr.Database.User
friend Aura.Msgr.Database.User
Résultat void

FriendInviteR() public static méthode

Response to FriendInvite.
public static FriendInviteR ( MsgrClient client, FriendInviteResult result, Aura.Msgr.Database.Friend friend = null ) : void
client MsgrClient
result FriendInviteResult
friend Aura.Msgr.Database.Friend Required for success, otherwise can be left null.
Résultat void

FriendListRequestR() public static méthode

Sends friend list to client.
public static FriendListRequestR ( MsgrClient client, List friends ) : void
client MsgrClient
friends List
Résultat void

FriendOffline() public static méthode

Notifies users about friend being offline.
public static FriendOffline ( List users, Aura.Msgr.Database.User friend ) : void
users List
friend Aura.Msgr.Database.User
Résultat void

FriendOffline() public static méthode

Notifies user about friend being offline.
public static FriendOffline ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void
user Aura.Msgr.Database.User
friend Aura.Msgr.Database.User
Résultat void

FriendOnline() public static méthode

Notifies users about friend being online.
public static FriendOnline ( List users, Aura.Msgr.Database.User friend ) : void
users List
friend Aura.Msgr.Database.User
Résultat void

FriendOnline() public static méthode

Notifies user about friend being online.
public static FriendOnline ( Aura.Msgr.Database.User user, Aura.Msgr.Database.User friend ) : void
user Aura.Msgr.Database.User
friend Aura.Msgr.Database.User
Résultat void

FriendOptionChanged() public static méthode

Updates user's status and nickname for all friends.
public static FriendOptionChanged ( List friends, Aura.Msgr.Database.User user ) : void
friends List
user Aura.Msgr.Database.User
Résultat void

FriendUnblockR() public static méthode

Response to FriendUnblock request.
public static FriendUnblockR ( Aura.Msgr.Database.User user, bool success, int friendId ) : void
user Aura.Msgr.Database.User
success bool
friendId int Only required on success.
Résultat void

GroupList() public static méthode

Sends group list to client.
public static GroupList ( MsgrClient client, ICollection groups ) : void
client MsgrClient
groups ICollection
Résultat void

GuildChatMsg() public static méthode

Sends GuildChatMsg from sender to user's client.
public static GuildChatMsg ( Aura.Msgr.Database.User user, string sender, string msg ) : void
user Aura.Msgr.Database.User
sender string
msg string
Résultat void

GuildMemberListR() public static méthode

Sends GuildMemberListR to client.
public static GuildMemberListR ( MsgrClient client, Guild guild ) : void
client MsgrClient
guild Guild
Résultat void

GuildMemberRemove() public static méthode

Sends GuildMemberRemove to client.
public static GuildMemberRemove ( MsgrClient client, int contactId ) : void
client MsgrClient
contactId int
Résultat void

GuildMemberState() public static méthode

Sends GuildMemberState to client.
public static GuildMemberState ( MsgrClient client, Guild guild, GuildMember member, Aura.Msgr.Database.User user, ContactStatus status ) : void
client MsgrClient
guild Guild
member Aura.Shared.Database.GuildMember
user Aura.Msgr.Database.User
status ContactStatus
Résultat void

LoginR() public static méthode

public static LoginR ( MsgrClient client, LoginResult result ) : void
client MsgrClient
result LoginResult
Résultat void

NoteListRequestR() public static méthode

Sends note list to client.
public static NoteListRequestR ( MsgrClient client, List notes ) : void
client MsgrClient
notes List Set to null for negative response.
Résultat void

ReadNoteR() public static méthode

Sends note to client.
public static ReadNoteR ( MsgrClient client, Note note ) : void
client MsgrClient
note Note Set to null for negative response.
Résultat void

SendNoteR() public static méthode

Sends note to client.
public static SendNoteR ( MsgrClient client ) : void
client MsgrClient
Résultat void

YouGotNote() public static méthode

Sends note to client.
public static YouGotNote ( MsgrClient client, Note note ) : void
client MsgrClient
note Note
Résultat void