RakNet  4.0
Classes | Namespaces | Macros | Typedefs | Enumerations
TeamManager.h File Reference

Automates networking and list management for teams. More...

#include "NativeFeatureIncludes.h"
#include "PluginInterface2.h"
#include "RakMemoryOverride.h"
#include "NativeTypes.h"
#include "DS_List.h"
#include "RakNetTypes.h"
#include "DS_Hash.h"
#include "DS_OrderedList.h"

Classes

struct  RakNet::TeamSelection
 Parameter to TM_World::ReferenceTeamMember() More...
 
class  RakNet::TM_TeamMember
 A member of one or more teams. More...
 
class  RakNet::TM_Team
 A team, containing a list of TM_TeamMember instances. More...
 
class  RakNet::TM_World
 Stores a list of teams which may be enforcing a balanced number of members. More...
 
class  RakNet::TeamManager
 Automates networking and list management for teams. More...
 

Namespaces

namespace  RakNet
 Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc.
 

Macros

#define ALLOW_JOIN_ANY_AVAILABLE_TEAM   (1<<0)
 Allow members to join this team when they specify TeamSelection::JOIN_ANY_AVAILABLE_TEAM.
 
#define ALLOW_JOIN_SPECIFIC_TEAM   (1<<1)
 Allow members to join this team when they specify TeamSelection::JOIN_SPECIFIC_TEAM.
 
#define ALLOW_JOIN_REBALANCING   (1<<2)
 Allow the host to put members on this team when rebalancing with TM_World::SetBalanceTeams()
 

Typedefs

typedef unsigned char RakNet::NoTeamId
 A subcategory of not being on a team. For example, 0 may mean no team for a player, while 1 may mean no team for a spectator. Defined by the user.
 
typedef uint16_t RakNet::TeamMemberLimit
 

Enumerations

enum  RakNet::JoinTeamType { RakNet::JOIN_ANY_AVAILABLE_TEAM, RakNet::JOIN_SPECIFIC_TEAM, RakNet::JOIN_NO_TEAM }
 

Detailed Description

Automates networking and list management for teams.

TeamManager provides support for teams. A team is a list of team members. Teams contain properties including the number of team members per team, whether or not tagged teams must have equal numbers of members, and if a team is locked or not to certain entry conditions Team members contain properties including which teams they are on and which teams they want to join if a team is not immediately joinable Advanced functionality includes the ability for a team member to be on multiple teams simultaneously, the ability to swap teams with other members, and the ability to resize the number of members supported per team

This file is part of RakNet Copyright 2003 Jenkins Software LLC

Usage of RakNet is subject to the appropriate license agreement.