Ts2Component
data class Ts2Component( val interfaceId: Int, val component: Int, val childIndex: Int)import rift.ts2.UI
val logout = UI.Logout.button.resolvedon_input<InterfaceComponentClickInput> { player -> if (logout.matches(interfaceId, componentId, childIndex)) player.message("You reach for the logout button.")}interfaceId
Section titled “interfaceId”val interfaceId: Intcomponent
Section titled “component”val component: IntchildIndex
Section titled “childIndex”val childIndex: IntisStatic
Section titled “isStatic”val isStatic: BooleanpackedId
Section titled “packedId”val packedId: Intmatches
Section titled “matches”fun matches( interfaceId: Int, componentId: Int, sub: Int): Booleanval NONE: Ts2Component