EventList
fun EventList(events: EventSchemaBuilderScope.() -> Unit = {}): SerializableImmutableList<EventSchema>
Builds events into a standalone List<EventSchema> — a thin wrapper over EventListBuilder, for a DSL author who needs a list of events outside a single tile/event's own events = parameter (e.g. to build a shared list once and reuse it in more than one place).
Return
the built events, in declaration order.
Parameters
events
the event block to build.