Skip to content

InterfaceDefinition

interface InterfaceDefinition
Example
fun describeInterface(ui: InterfaceDefinition) {
if (!ui.asset.present) return Logger.warn("interface ${ui.name} is not in this build")
Logger.info("interface ${ui.name} has id ${ui.id}")
}
val name: String
val id: Int
val asset: Asset