Skip to content

::GetEventInformations

LB-- edited this page Nov 7, 2012 · 2 revisions

<< Global Scope (::)

LPEVENTINFOS2 GetEventInformations(LPEVENTINFOS2 eiPtr, short code);

Traverses along eiPtr until eiPtr->infos.code matches code. This function is used primarily internally by the SDK for A/C/E-related things, such as A/C/E menus. If the given code does not exist, the function crashes (it needs to be fast, so no security is employed).

::LPEVENTINFOS2 ::GetEventInformations The new pointer to the event information structure, having been traversed to the correct code.
Type Name Description
::LPEVENTINFOS2 eiPtr Pointer to an event information structure, to be traversed.
short code The event code to look for. MUST exist!

Clone this wiki locally