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.

Register: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Sigonasr2 (talk | contribs)
m Removed () from function name.
Zehra (talk | contribs)
redirect page, as we're merging content
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{apicall
#REDIRECT [[BZFS API Updates]]
| name        = Register
| returns    = Whether or not the register was successful.
| 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
}}
 
===Example===
void SAMPLE_PLUGIN::Init ( const char* /*commandLine*/ )
{
Register(bz_ePlayerUpdateEvent);
}
 
More information on this function can be found on the [[BZFS_API_2.4_Upgrade]] page.

Latest revision as of 01:40, 24 November 2025

Redirect to: