Skip to Content

bz_eGetAutoTeamEvent

This event is called for each new player is added to a team

Data Object Type

2.4.0 bz_GetAutoTeamEventData_V1

Parameters

These are the values accessible in the bz_EventData variable that's made available in the Event method.

Data Type Name Description
int playerID

ID of the player that is being added to the game.

bz_ApiString callsign

Callsign of the player that is being added to the game.

bz_eTeamType team

The team that the player will be added to.

bool handled

The current state representing if other plug-ins have modified the default team.

double eventTime

This value is the local server time of the event.

Plug-in Usage

There are no plug-ins in the official distribution that make use of this event. Browse the Plug-in Releases forum for plug-ins which may make use of this event.

Plug-in Example

This block of code can be used to get started when implementing the Event() function of your plug-in.

bz_GetAutoTeamEventData_V1* dataObject = (bz_GetAutoTeamEventData_V1*)eventData;

// Data
// ---
// (int)          playerID - ID of the player that is being added to the game.
// (bz_ApiString) callsign - Callsign of the player that is being added to the game.
// (bz_eTeamType) team - The team that the player will be added to.
// (bool)         handled - The current state representing if other plug-ins have modified the default team.
// (double)       eventTime - This value is the local server time of the event.

Other Player Events

Back to bzfs API Events

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page