Package de.dytanic.cloudnet.ext.bridge
Interface WrappedChannelMessageReceiveEvent
-
- All Known Implementing Classes:
BukkitChannelMessageReceiveEvent,BungeeChannelMessageReceiveEvent,GoMintChannelMessageReceiveEvent,NukkitChannelMessageReceiveEvent,SpongeChannelMessageReceiveEvent,VelocityChannelMessageReceiveEvent
public interface WrappedChannelMessageReceiveEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default de.dytanic.cloudnet.driver.serialization.ProtocolBuffercreateBinaryResponse()default @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffergetBuffer()default @NotNull java.lang.StringgetChannel()default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessagegetChannelMessage()default @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocumentgetData()default @Nullable java.lang.StringgetMessage()default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessageSendergetSender()default @NotNull java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget>getTargets()de.dytanic.cloudnet.driver.event.events.channel.ChannelMessageReceiveEventgetWrapped()default booleanisQuery()default voidsetBinaryResponse(@NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer buffer)default voidsetJsonResponse(@NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument json)default voidsetQueryResponse(@Nullable de.dytanic.cloudnet.driver.channel.ChannelMessage queryResponse)
-
-
-
Method Detail
-
getWrapped
de.dytanic.cloudnet.driver.event.events.channel.ChannelMessageReceiveEvent getWrapped()
-
getSender
@NotNull default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessageSender getSender()
-
getTargets
@NotNull default @NotNull java.util.Collection<de.dytanic.cloudnet.driver.channel.ChannelMessageTarget> getTargets()
-
getChannel
@NotNull default @NotNull java.lang.String getChannel()
-
getMessage
@Nullable default @Nullable java.lang.String getMessage()
-
getChannelMessage
@NotNull default @NotNull de.dytanic.cloudnet.driver.channel.ChannelMessage getChannelMessage()
-
getData
@NotNull default @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument getData()
-
getBuffer
@NotNull default @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer getBuffer()
-
isQuery
default boolean isQuery()
-
setQueryResponse
default void setQueryResponse(@Nullable @Nullable de.dytanic.cloudnet.driver.channel.ChannelMessage queryResponse)
-
setJsonResponse
default void setJsonResponse(@NotNull @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument json)
-
setBinaryResponse
default void setBinaryResponse(@NotNull @NotNull de.dytanic.cloudnet.driver.serialization.ProtocolBuffer buffer)
-
createBinaryResponse
default de.dytanic.cloudnet.driver.serialization.ProtocolBuffer createBinaryResponse()
-
-