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

            Console.WriteLine("join - {0}", packet.nickname);
        }