Interface Facet.ChatPacket<V,​M>

  • Type Parameters:
    V - a viewer type
    M - a message type
    All Superinterfaces:
    Facet<V>, Facet.Chat<V,​M>, Facet.Message<V,​M>
    Enclosing interface:
    Facet<V>

    public static interface Facet.ChatPacket<V,​M>
    extends Facet.Chat<V,​M>
    A facet that sends chat messages, using packets.
    Since:
    4.0.0
    • Method Detail

      • createMessageType

        default byte createMessageType​(@NotNull
                                       @NotNull MessageType type)
        Creates a message type.
        Parameters:
        type - a message type
        Returns:
        an ordinal
        Since:
        4.0.0