mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
19 lines
455 B
Kotlin
19 lines
455 B
Kotlin
package org.apollo.game.plugin.api
|
|
|
|
import org.apollo.cache.def.ItemDefinition
|
|
import org.apollo.cache.def.NpcDefinition
|
|
import org.apollo.cache.def.ObjectDefinition
|
|
|
|
object Definitions {
|
|
fun item(id: Int): ItemDefinition? {
|
|
return ItemDefinition.lookup(id)
|
|
}
|
|
|
|
fun obj(id: Int): ObjectDefinition? {
|
|
return ObjectDefinition.lookup(id)
|
|
}
|
|
|
|
fun npc(id: Int): NpcDefinition? {
|
|
return NpcDefinition.lookup(id)
|
|
}
|
|
} |