Record Class EventMetadataImpl

java.lang.Object
java.lang.Record
net.flectone.pulse.model.event.EventMetadataImpl
Record Components:
filter - decides which players receive the message
destination - where the message is drawn
range - how far it travels
sound - the sound and the permission to hear it, or null
messageContext - builds the context for a given receiver
proxy - writes the extra proxy payload, or null
integration - supplies the mirroring format, or null
All Implemented Interfaces:
EventMetadata

public record EventMetadataImpl(@NonNull Predicate<FPlayer> filter, @NonNull Destination destination, @NonNull Range range, @Nullable Pair<Sound, PermissionSetting> sound, @NonNull Function<FPlayer, MessageContext> messageContext, @Nullable ProxyDataConsumer<DataOutputStream> proxy, @Nullable Supplier<IntegrationMessageFormat> integration) extends Record implements EventMetadata
The plain event metadata every builder produces.