com.utopiarise.serialization.godot.model.SceneModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jvm-godot-resource-serialization Show documentation
Show all versions of jvm-godot-resource-serialization Show documentation
Godot resource data model serialization api for JVM
The newest version!
package com.utopiarise.serialization.godot.model
data class SceneModel(
val loadSteps: Int,
val format: Int,
val externalResource: List = emptyList(),
val nodes: List = emptyList(),
val signalConnections: List = emptyList()
)
data class ExternalResource(
val id: Int,
val path: String,
val type: String
)
data class Node(
val name: String,
val type: String?,
val inheritedScenePath: String? = null,
val parent: String? = null,
val script: String? = null
)
data class SignalConnection(
val signal: String,
val from: Node,
val to: Node,
val method: String
)