summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/clientversionpacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/clientversionpacket.h')
-rw-r--r--protocols/Xfire/src/clientversionpacket.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/protocols/Xfire/src/clientversionpacket.h b/protocols/Xfire/src/clientversionpacket.h
index 4c40b1875a..c8c8d5e6ce 100644
--- a/protocols/Xfire/src/clientversionpacket.h
+++ b/protocols/Xfire/src/clientversionpacket.h
@@ -29,25 +29,25 @@
namespace xfirelib {
- /**
- * (Internal) Packet used to send client version information.
- * it is sent in Client::connect( std::string, std::string )
- * so users of xfirelib won't need this packet.
- */
- class ClientVersionPacket : public XFireSendPacketContent {
- public:
- XFirePacketContent* newPacket() { return new ClientVersionPacket(); }
-
- int getPacketId() { return 3; }
- int getPacketContent(char *buf);
- int getPacketAttributeCount();
- int getPacketSize() { return 1024; };
- void setProtocolVersion(int version);
- void parseContent(char *buf, int length, int numberOfAtts) { };
- private:
- int length;
- int version;
- };
+ /**
+ * (Internal) Packet used to send client version information.
+ * it is sent in Client::connect( std::string, std::string )
+ * so users of xfirelib won't need this packet.
+ */
+ class ClientVersionPacket : public XFireSendPacketContent {
+ public:
+ XFirePacketContent* newPacket() { return new ClientVersionPacket(); }
+
+ int getPacketId() { return 3; }
+ int getPacketContent(char *buf);
+ int getPacketAttributeCount();
+ int getPacketSize() { return 1024; }
+ void setProtocolVersion(int version);
+ void parseContent(char*, int, int) {}
+ private:
+ int length;
+ int version;
+ };
};