Class ViewSession

java.lang.Object
me.agent.vgui.core.internal.ViewSession

public final class ViewSession extends Object
One player's active view: window id, live contents, state id counter, cooldown state and the update tasks tied to the view's lifetime.
  • Method Details

    • player

      public com.velocitypowered.api.proxy.Player player()
    • user

      public com.github.retrooper.packetevents.protocol.player.User user()
    • playerId

      public UUID playerId()
    • windowId

      public int windowId()
    • view

      public View view()
    • type

      public ViewType type()
    • size

      public int size()
    • context

      public ViewContext context()
    • contents

      public DefaultViewContents contents()
    • isOpen

      public boolean isOpen()