Skip to Content
⚠ Under Construction
ReferenceC++ APIActorSpawnEvent

endstone::ActorSpawnEvent

Called when an Actor is spawned into a world.

Bases: endstone::Cancellable< ActorEvent< Actor > >

Attributes:

NameDescription
NAME

Functions:

NAME

const std::string endstone::ActorSpawnEvent::NAME;

ActorSpawnEvent

ActorSpawnEvent(Actor &actor)

getEventName

std::string getEventName() override const

Gets a user-friendly identifier for this event.

Returns:

name of this event

Last updated on