GB.GetEvent

long GB.GetEvent ( void *class , char *name )

Gets an event id from its name.

  • class is the class that declared the event.

  • name is the name of the event.

This function returns the event id, or -1 if the class didn't declare any event with the specified name.

See also