#include <CTeam.hh>
Inheritance diagram for CTeam:

Public Member Functions | |
| CTeam (int team_id, CRules *r, CPlayerMsg *pm) | |
| void | loadConfig (const std::string &team_file) |
| Load team configuration from xml. | |
| void | loadPlayerConfig (xml::XMLTeam &team, int player_id) |
| Load player configuration from xml. | |
| void | placeTeam (int formation_id) |
| Set the position of all players on the field. | |
| int | declareAction (CPlayer *p, enum eDeclaredAction action) |
| Declare an action for the player Called from the UI. | |
| void | msgTeamInfo (const MsgTeamInfo *m) |
| void | msgPlayerCreate (const MsgPlayerCreate *m) |
| void | msgReroll (const MsgReroll *m) |
| void | msgTouchdooown (const MsgTouchdooown *m) |
| void CTeam::placeTeam | ( | int | formation_id | ) |
Set the position of all players on the field.
| formation_id | The xml formation id to fetch position from. |
| XMLError | Thrown on any xml error, including if the player position can't be found in the xml file. |
1.4.7