Interface SystemChatPacketView

All Superinterfaces:
PacketView

public interface SystemChatPacketView extends PacketView
Lazy copy-on-write view of clientbound system chat.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the native message handle.
    void
    Replaces the message at finalization.
    boolean
    Reports whether the message is displayed as an overlay.
    void
    overlay(boolean overlay)
    Replaces the overlay flag at finalization.

    Methods inherited from interface devs.beer.nativepackets.api.PacketView

    isModified, nativeHandle, type
  • Method Details

    • message

      NativeText message()
      Returns the native message handle.
      Returns:
      native message handle
    • overlay

      boolean overlay()
      Reports whether the message is displayed as an overlay.
      Returns:
      whether the message is displayed as an overlay
    • message

      void message(NativeText message)
      Replaces the message at finalization.
      Parameters:
      message - replacement native text
    • overlay

      void overlay(boolean overlay)
      Replaces the overlay flag at finalization.
      Parameters:
      overlay - replacement overlay flag