<Reference field in the Interface subclass (Kotlin...
# stackoverflow
u
Reference field in the Interface subclass (Kotlin) Is there a possible way to reference interface's static field in the class, which implements interface without importing, or calling referencing to interface explicitly. I want to do like this: interface Globals { companion object { val mc get() = Bloomware.mc val cPlayer get() = mc.player!! val cWorld get() = mc.world!! fun sendPacket(p: Packet?) { mc.networkHandler!!.sendPacket(p) } } } (Class user) object ResourceCancel :...