This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz eGameStartEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Xalendare (talk | contribs)
Added event description.
 
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
'''bz_eGameStartEvent''' and '''bz_eGameEndEvent''' are API events triggered when a game (i.e., a time- or score-limited match) begins or ends, respectively.
 
==Data==
Both '''bz_eGameStartEvent''' and '''bz_eGameEndEvent''' return the '''bz_GameStartEndEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_eGameStartEvent or bz_eGameEndEvent
  |-
  |duration
  |double
  |The duration (in seconds)  of the game.
  |-
  |eventTime
  |double
  |The server time the event occurred (in seconds.)
  |}
 
==Uses==
 
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]

Latest revision as of 21:59, 9 November 2025