QTfrontend/team.h
changeset 352 4665bfe25470
parent 348 c91b983de18f
child 486 7ea71cd3acd5
--- a/QTfrontend/team.h	Sun Jan 21 19:51:02 2007 +0000
+++ b/QTfrontend/team.h	Sun Jan 21 19:53:25 2007 +0000
@@ -33,10 +33,13 @@
 class HWTeam
 {
 	public:
-		HWTeam(const QString & teamname, bool isNet=false);
+		HWTeam(const QString & teamname, unsigned int netID=0);
 		HWTeam(const QStringList& strLst);
 		HWTeam(quint8 num);
 
+		bool isNetTeam() const;
+		unsigned int getNetID() const;
+
 		QString TeamName;
 		QString HHName[8];
 		QString	Grave;
@@ -44,7 +47,6 @@
 		unsigned int difficulty;
 		BindAction binds[BINDS_NUMBER];
 
-		bool netTeam;
 		unsigned char numHedgehogs;
 		QColor teamColor;
 
@@ -57,6 +59,7 @@
 		bool operator==(const HWTeam& t1) const;
 		bool operator<(const HWTeam& t1) const;
 	private:
+		unsigned int m_netID;
 		QString OldTeamName;
 };