summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/sendgamestatus2packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/sendgamestatus2packet.h')
-rw-r--r--protocols/Xfire/src/sendgamestatus2packet.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/protocols/Xfire/src/sendgamestatus2packet.h b/protocols/Xfire/src/sendgamestatus2packet.h
index cad9d0108b..52ac3c17b9 100644
--- a/protocols/Xfire/src/sendgamestatus2packet.h
+++ b/protocols/Xfire/src/sendgamestatus2packet.h
@@ -30,27 +30,26 @@
namespace xfirelib {
- class SendGameStatus2Packet : public SendGameStatusPacket {
- public:
- virtual ~SendGameStatus2Packet() { }
- SendGameStatus2Packet();
- int getPacketId() { return XFIRE_GAME_STATUS2_PACKET; }
-
- int getPacketContent(char *buf);
- int getPacketAttributeCount() { return 3; }
- int getPacketSize() { return 1024; }
-
- //gamestatus2 packet ready gemacht
- long gameid;
- char ip[4];
- long port;
-
- protected:
- virtual std::string getGameAttributeName() { return "vid"; }
- virtual std::string getIPAttributeName() { return "vip"; }
- virtual std::string getPortAttributeName() { return "vport"; }
- };
-
+ class SendGameStatus2Packet : public SendGameStatusPacket {
+ public:
+ virtual ~SendGameStatus2Packet() { }
+ SendGameStatus2Packet();
+ int getPacketId() { return XFIRE_GAME_STATUS2_PACKET; }
+
+ int getPacketContent(char *buf);
+ int getPacketAttributeCount() { return 3; }
+ int getPacketSize() { return 1024; }
+
+ //gamestatus2 packet ready gemacht
+ long gameid;
+ char ip[4];
+ long port;
+
+ protected:
+ virtual std::string getGameAttributeName() { return "vid"; }
+ virtual std::string getIPAttributeName() { return "vip"; }
+ virtual std::string getPortAttributeName() { return "vport"; }
+ };
};
#endif