Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
teamscore Struct Reference

some team modes allow more than 2 teams allow sorting multiple teams using team scores More...

#include <teaminfo.hpp>

Inheritance diagram for teamscore:
scoregroup

Public Member Functions

 teamscore ()
 
 teamscore (const char *s, int n)
 

Static Public Member Functions

static bool compare (const teamscore &x, const teamscore &y)
 

Public Attributes

const char * team
 
int score
 

Detailed Description

some team modes allow more than 2 teams allow sorting multiple teams using team scores

Constructor & Destructor Documentation

teamscore::teamscore ( )
inline
teamscore::teamscore ( const char *  s,
int  n 
)
inline

Member Function Documentation

static bool teamscore::compare ( const teamscore x,
const teamscore y 
)
inlinestatic

References score, and team.

Referenced by aiman::calcteams(), and game::getbestteams().

Member Data Documentation

int teamscore::score
const char* teamscore::team

The documentation for this struct was generated from the following file: