Skip to Content
⚠ Under Construction
ReferenceC++ APIEvent

endstone::Event

Represents an event.

Functions:

Event

Event(bool async = false)
Event(const Event &) = delete

getEventName

std::string getEventName() const

Gets a user-friendly identifier for this event.

Returns:

name of this event

isAsynchronous

bool isAsynchronous() const

Any custom event that should not by synchronized with other events must use the specific constructor.

Returns:

false by default, true if the event fires asynchronously

Last updated on