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 registerEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Sigonasr2 (talk | contribs)
Added return value.
Zehra (talk | contribs)
merged content into BZFS API Updates
Tag: New redirect
 
Line 1: Line 1:
{{apicall
#REDIRECT [[BZFS API Updates]]
| name        = bz_registerEvent
| returns    = Whether or not the event was registered successfully.
| returntype  = bool
| description = Registers a new event handler. This event handler will receive events of the event type specified.
| param1      = eventType
| param1type  = bz_eEventType
| param1desc  = The type of event to listen for
| param2      = eventHandler
| param2type  = bz_EventHandler*
| param2desc  = The listener that will be called when events of the specified type occur
}}
 
===Deprecation===
All calls to [[bz_registerEvent]] have been deprecated as of 2.4 and will be replaced with:
# '''Register(bz_eEventType eventType)'''
 
More information on this function can be found on the [[BZFS_API_2.4_Upgrade]] page.

Latest revision as of 02:57, 30 November 2025

Redirect to: