bz_eTeamScoreChanged
This event is called when a team's score changes
Data Object Type
2.4.0 bz_TeamScoreChangeEventData_V1
Parameters
These are the values accessible in the bz_EventData variable that's made available in the Event method.
| Data Type | Name | Description | 
|---|---|---|
| bz_eTeamType | 
                            team
                         | 
                        
                             The team that had a change of score.  | 
                    
| bz_eScoreElement | 
                            element
                         | 
                        
                             The type of score that is being changed.  | 
                    
| int | 
                            thisValue
                         | 
                        
                             The new amount of element score the team has.  | 
                    
| int | 
                            lastValue
                         | 
                        
                             The old amount of element score the team had.  | 
                    
| double | 
                            eventTime
                         | 
                        
                             Time local server time for 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_TeamScoreChangeEventData_V1* dataObject = (bz_TeamScoreChangeEventData_V1*)eventData;
// Data
// ---
// (bz_eTeamType) team - The team that had a change of score.
// (bz_eScoreElement) element - The type of score that is being changed.
// (int)          thisValue - The new amount of element score the team has.
// (int)          lastValue - The old amount of element score the team had.
// (double)       eventTime - Time local server time for the event.    
    Other Score Events
This content is maintained on GitHub. We welcome any feedback and improvements!