2013-04-26 02:46:06 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2013, Rene Gollent, rene@gollent.com.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef TEAM_INFO_H
|
|
|
|
#define TEAM_INFO_H
|
|
|
|
|
|
|
|
#include <OS.h>
|
|
|
|
#include <String.h>
|
|
|
|
|
|
|
|
#include "Types.h"
|
|
|
|
|
|
|
|
|
|
|
|
class TeamInfo {
|
|
|
|
public:
|
|
|
|
TeamInfo();
|
|
|
|
TeamInfo(const TeamInfo& other);
|
|
|
|
TeamInfo(team_id team,
|
|
|
|
const team_info& info);
|
|
|
|
|
|
|
|
void SetTo(team_id team, const team_info& info);
|
2016-04-24 19:35:45 +03:00
|
|
|
void SetTo(team_id team, const BString& arguments);
|
2013-04-26 02:46:06 +04:00
|
|
|
|
|
|
|
team_id TeamID() const { return fTeam; }
|
|
|
|
|
|
|
|
const BString& Arguments() const { return fArguments; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
team_id fTeam;
|
|
|
|
BString fArguments;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TEAM_INFO_H
|