示例#1
0
 static void server_UnbanEvent(AsyncChatLib.Server.ChatClient cc, AsyncChatLib.Common.ChatClientWrapper cw)
 {
     Console.WriteLine(cc.Name + " unbanned " + cw.Name);
 }
示例#2
0
 static void server_KickEvevnt(AsyncChatLib.Server.ChatClient cc, AsyncChatLib.Server.ChatClient ce)
 {
     Console.WriteLine(cc.Name + " kicked " + ce.Name);
 }
示例#3
0
 static void server_PrivateMessageEvent(AsyncChatLib.Server.ChatClient cc, AsyncChatLib.Server.ChatClient ce)
 {
     Console.WriteLine(cc.Name + " sent PM to " + ce.Name);
 }
示例#4
0
 static void server_GlobalMessageEvent(AsyncChatLib.Server.ChatClient cc, string s)
 {
     Console.WriteLine(cc.Name + " wrote >> " + s);
 }
示例#5
0
 static void server_DisconnectedEvent(AsyncChatLib.Server.ChatClient cc, string s)
 {
     Console.WriteLine(cc.Name + " disconnected. (" + s + ")");
 }
示例#6
0
 static void server_ConnectedEvent(AsyncChatLib.Server.ChatClient cc)
 {
     Console.WriteLine(cc.IPAddress + " connected and is waiting for auth.");
 }
示例#7
0
 static void server_BanEvent(AsyncChatLib.Server.ChatClient cc, AsyncChatLib.Server.ChatClient ce)
 {
     Console.WriteLine(cc.Name + " banned " + ce.Name);
 }
示例#8
0
 static void server_AuthenticatedEvent(AsyncChatLib.Server.ChatClient cc)
 {
     Console.WriteLine(cc.Name + " authenticated.");
 }