Interface IHighlightRenderData
- All Known Implementing Classes:
CitizenRenderData,TimedBoxRenderData
public interface IHighlightRenderData
Interface for highlightable items.
-
Method Summary
Modifier and TypeMethodDescription@Nullable DurationGet the duration of the highlight.voidrender(WorldEventContext context) Indicate the render data it should continue rendering.default voidstartRender(WorldEventContext context) Indicate the render data it should start rendering.default voidstopRender(WorldEventContext context) Indicate the render data it should stop rendering.
-
Method Details
-
startRender
Indicate the render data it should start rendering. -
render
Indicate the render data it should continue rendering. -
stopRender
Indicate the render data it should stop rendering. -
getDuration
Get the duration of the highlight.- Returns:
- a duration instance, or null for an infinite highlight (should be manually cancelled).
-