mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-17 00:56:07 +09:00
22 lines
618 B
Kotlin
22 lines
618 B
Kotlin
package net.torvald.terrarum.modulebasegame.console
|
|
|
|
import net.torvald.terrarum.INGAME
|
|
import net.torvald.terrarum.ccG
|
|
import net.torvald.terrarum.ccY
|
|
import net.torvald.terrarum.console.ConsoleCommand
|
|
import net.torvald.terrarum.console.Echo
|
|
|
|
/**
|
|
* Created by minjaesong on 2023-08-22.
|
|
*/
|
|
object Uuid : ConsoleCommand {
|
|
override fun execute(args: Array<String>) {
|
|
val worldUUID = INGAME.world.worldIndex
|
|
val playerUUID = INGAME.actorGamer.uuid
|
|
Echo("${ccY}World UUID: ${ccG}$worldUUID")
|
|
Echo("${ccY}Player UUID: ${ccG}$playerUUID")
|
|
}
|
|
|
|
override fun printUsage() {
|
|
}
|
|
} |