summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/xfireclanpacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/xfireclanpacket.h')
-rw-r--r--protocols/Xfire/src/xfireclanpacket.h47
1 files changed, 21 insertions, 26 deletions
diff --git a/protocols/Xfire/src/xfireclanpacket.h b/protocols/Xfire/src/xfireclanpacket.h
index 7e5b1bc843..55804f2a53 100644
--- a/protocols/Xfire/src/xfireclanpacket.h
+++ b/protocols/Xfire/src/xfireclanpacket.h
@@ -25,37 +25,32 @@
#ifndef __XFIRECLANPACKET_H
#define __XFIRECLANPACKET_H
-#include <string>
#include "xfirerecvpacketcontent.h"
#define XFIRE_CLAN_PACKET 158
namespace xfirelib {
- using namespace std;
-
- /**
- * beinhaltet, clanid, name und weburl-zusatz
- *
- */
- class XFireClanPacket : public XFireRecvPacketContent {
- public:
- XFirePacketContent* newPacket() { return new XFireClanPacket(); }
-
-
- int getPacketId() { return XFIRE_CLAN_PACKET; }
- int getPacketContent(char *buf) { return 0;}
- int getPacketAttributeCount() { return 3; };
- int getPacketSize() { return 1024; };
- void parseContent(char *buf, int length, int numberOfAtts);
-
- string name[10];
- string url[10];
- long clanid[10];
- int count;
-
- private:
- };
-
+ using namespace std;
+
+ /**
+ * beinhaltet, clanid, name und weburl-zusatz
+ *
+ */
+ class XFireClanPacket : public XFireRecvPacketContent {
+ public:
+ XFirePacketContent* newPacket() { return new XFireClanPacket(); }
+
+ int getPacketId() { return XFIRE_CLAN_PACKET; }
+ int getPacketContent(char*) { return 0; }
+ int getPacketAttributeCount() { return 3; };
+ int getPacketSize() { return 1024; };
+ void parseContent(char *buf, int length, int numberOfAtts);
+
+ string name[10];
+ string url[10];
+ long clanid[10];
+ int count;
+ };
};