UncivSound

class UncivSound(type: UncivSoundConstants, filename: String?)

Represents an Unciv Sound, either from a predefined set or custom with a specified filename.

Constructors

UncivSound
Link copied to clipboard
private fun UncivSound(type: UncivSoundConstants, filename: String? = null)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

type
Link copied to clipboard
private val type: UncivSoundConstants
value
Link copied to clipboard
val value: String

The base filename without extension.

Sources

jvm source
Link copied to clipboard