RakNet
4.0
|
Parameter to TM_World::ReferenceTeamMember() More...
#include <TeamManager.h>
Static Public Member Functions | |
static TeamSelection | AnyAvailable (void) |
Join any team that has available slots and is tagged with ALLOW_JOIN_ANY_AVAILABLE_TEAM. | |
static TeamSelection | SpecificTeam (TM_Team *specificTeamToJoin) |
Join a specific team if it has available slots, and is tagged with JOIN_SPECIFIC_TEAMS. | |
static TeamSelection | NoTeam (NoTeamId noTeamSubcategory) |
Do not join a team, or leave all current teams. | |
Parameter to TM_World::ReferenceTeamMember()
Use TeamSelection::AnyAvailable(), TeamSelection::SpecificTeam(), or TeamSelection::NoTeam()
|
static |
Join any team that has available slots and is tagged with ALLOW_JOIN_ANY_AVAILABLE_TEAM.
ID_TEAM_BALANCER_TEAM_ASSIGNED, ID_TEAM_BALANCER_REQUESTED_TEAM_FULL, or ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED will be returned to all systems.
|
static |
Do not join a team, or leave all current teams.
This always succeeds. ID_TEAM_BALANCER_TEAM_ASSIGNED will be returned to all systems.
[in] | noTeamSubcategory | Even when not on a team, you can internally identify a subcategory of not being on a team, such as AI or spectator. |
|
static |
Join a specific team if it has available slots, and is tagged with JOIN_SPECIFIC_TEAMS.
ID_TEAM_BALANCER_TEAM_ASSIGNED, ID_TEAM_BALANCER_REQUESTED_TEAM_FULL, or ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED will be returned to all systems.
[in] | specificTeamToJoin | Which team to attempt to join. |