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(); }
public static void InitializeClient() { ClientHandleData.InitializePackets(); ClientTCP.InitializingNetworking(); }