PaintBuilder

class PaintBuilder

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
fun add(item: PaintItem): PaintBuilder
fun add(row: List<PaintItem>, index: Int = -1): PaintBuilder
addString
Link copied to clipboard
fun addString(getValue: Callable<String>): PaintBuilder
fun addString(getLabel: Callable<String>, getValue: Callable<String>): PaintBuilder
fun addString(label: String, getValue: Callable<String>): PaintBuilder
backgroundColor
Link copied to clipboard
fun backgroundColor(color: Int): PaintBuilder
build
Link copied to clipboard
fun build(): Paint
minHeight
Link copied to clipboard
fun minHeight(minHeight: Int): PaintBuilder
minWidth
Link copied to clipboard
fun minWidth(minWidth: Int): PaintBuilder
removeRuntime
Link copied to clipboard
fun removeRuntime(): PaintBuilder
removeScriptNameVersion
Link copied to clipboard
fun removeScriptNameVersion(): PaintBuilder
textColor
Link copied to clipboard
fun textColor(color: Int): PaintBuilder
trackGameMessage
Link copied to clipboard
fun trackGameMessage(searchText: String, label: String, vararg options: TrackMessage): PaintBuilder
fun trackGameMessage(searchText: String, label: String, increment: Int, vararg options: TrackMessage): PaintBuilder
trackingInventoryItem
Link copied to clipboard
fun trackingInventoryItem(id: Int): Boolean
trackInventoryItem
Link copied to clipboard
fun trackInventoryItem(evt: InventoryChangeEvent)

This function allows people to start tracking items later while the script is already running

fun trackInventoryItem(itemId: Int, labelItemName: String? = null): PaintBuilder
fun trackInventoryItem(itemId: Int, labelItemName: String?, vararg options: TrackInventoryOption): PaintBuilder
trackInventoryItems
Link copied to clipboard
fun trackInventoryItems(vararg itemIds: Int): PaintBuilder
trackSkill
Link copied to clipboard
fun trackSkill(skill: Skill): PaintBuilder

The default trackSkill with no additional options adds a compact version displaying all information Level: levels Exp: Experience progressBar timeToLevel

fun trackSkill(skill: Skill, label: String? = null, vararg options: TrackSkillOption): PaintBuilder
withoutDiscordWebhook
Link copied to clipboard
fun withoutDiscordWebhook(): PaintBuilder
withoutMinimize
Link copied to clipboard
fun withoutMinimize(): PaintBuilder
withTotalLoot
Link copied to clipboard
fun withTotalLoot(showTotalLoot: Boolean): PaintBuilder
x
Link copied to clipboard
fun x(x: Int): PaintBuilder
y
Link copied to clipboard
fun y(y: Int): PaintBuilder

Properties

items
Link copied to clipboard
val items: MutableList<List<PaintItem>>