Skip to content

Ts2WireIds

object Ts2WireIds
Example
on_world_start {
if (Ts2WireIds.valueOf("ServerScript.VOLUME_MOVED") == null) Logger.warn("the served ts2 has no ServerScript.VOLUME_MOVED")
}
fun valueOf(name: String): Int?
fun require(name: String): Int