예제 #1
0
        public static void SendHelloServer()
        {
            ByteBuffer buffer = new ByteBuffer();

            buffer.WriteInteger((int)ClientPackets.CHelloServer);
            buffer.WriteString("HI!I'M READY TO SUFFER");
            ClientTCP.SendData(buffer.ToArray());
            buffer.Dispose();
        }
예제 #2
0
 public static void InitializeClient()
 {
     ClientHandleData.InitializePackets();
     ClientTCP.InitializingNetworking();
 }