LayoutEntityProgress

data class LayoutEntityProgress(val namespace: String? = null, val basename: String? = null, val variables: ProgressVariableEntity? = null, val list: List<String>? = null, val image: ProgressImageEntity? = null, val fill: ProgressFill? = null, val transition: ProgressTransition? = null, val trail: ProgressTrail? = null, val refresh: Int? = null)(source)

把图片或图片列表映射为玩家的进度显示。 Maps an image pair or image list to a player’s progress display.

Constructors

Link copied to clipboard
constructor(namespace: String? = null, basename: String? = null, variables: ProgressVariableEntity? = null, list: List<String>? = null, image: ProgressImageEntity? = null, fill: ProgressFill? = null, transition: ProgressTransition? = null, trail: ProgressTrail? = null, refresh: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val refresh: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun buildComponentString(player: Player, y: Int, option: OptionEntity?, anchor: GuiAnchor?, variableMap: Map<String, Any> = emptyMap(), resumeOnMain: Boolean = false): String?

One-shot/API/inventory renders are immediate snapshots, never persistent animations.

Link copied to clipboard
suspend fun buildListProgress(player: Player, y: Int, option: OptionEntity?, anchor: GuiAnchor?, variableMap: Map<String, Any> = emptyMap(), resumeOnMain: Boolean = false): String?
Link copied to clipboard
fun validate()