This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Bz eGameStartEvent
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
==Overview== | ==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== | ==Data== | ||
− | Both '''bz_eGameStartEvent''' and '''bz_eGameEndEvent''' return the ''' | + | Both '''bz_eGameStartEvent''' and '''bz_eGameEndEvent''' return the '''bz_GameStartEndEventData_V1''' data class. |
{| border="1" cellpadding="20" cellspacing="0" | {| border="1" cellpadding="20" cellspacing="0" | ||
Line 15: | Line 15: | ||
|eventType | |eventType | ||
|[[Event(API)|bz_eEventType]] | |[[Event(API)|bz_eEventType]] | ||
− | |bz_eGameStartEvent or | + | |bz_eGameStartEvent or bz_eGameEndEvent |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|duration | |duration | ||
|double | |double | ||
|The duration (in seconds) of the game. | |The duration (in seconds) of the game. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|eventTime | |eventTime |