Interface IHighlightRenderData

All Known Implementing Classes:
CitizenRenderData, TimedBoxRenderData

public interface IHighlightRenderData
Interface for highlightable items.
  • Method Details

    • startRender

      default void startRender(WorldEventContext context)
      Indicate the render data it should start rendering.
    • render

      void render(WorldEventContext context)
      Indicate the render data it should continue rendering.
    • stopRender

      default void stopRender(WorldEventContext context)
      Indicate the render data it should stop rendering.
    • getDuration

      @Nullable @Nullable Duration getDuration()
      Get the duration of the highlight.
      Returns:
      a duration instance, or null for an infinite highlight (should be manually cancelled).