Skip to content

StructDefinition

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