public void LeaveHandler(MySession session, Packets.Leave.C2S packet) { Console.WriteLine("leave - {0}", session.nickname); }
public void JoinHandler(MySession session, Packets.Join.C2S packet) { session.nickname = packet.nickname; Console.WriteLine("join - {0}", packet.nickname); }