ModOptions

class ModOptions : IHasUniques

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getMatchingUniques
Link copied to clipboard
open fun getMatchingUniques(uniqueType: UniqueType, stateForConditionals: StateForConditionals? = null): Sequence<Unique>
open fun getMatchingUniques(uniqueTemplate: String, stateForConditionals: StateForConditionals? = null): Sequence<Unique>
getUniqueTarget
Link copied to clipboard
open override fun getUniqueTarget(): UniqueTarget

Technically not currently needed, since the unique target can be retrieved from every unique in the uniqueObjects, But making this a function is relevant for future "unify Unciv object" plans ;)

hashCode
Link copied to clipboard
open fun hashCode(): Int
hasUnique
Link copied to clipboard
open fun hasUnique(uniqueType: UniqueType, stateForConditionals: StateForConditionals? = null): Boolean
open fun hasUnique(uniqueTemplate: String, stateForConditionals: StateForConditionals? = null): Boolean
toString
Link copied to clipboard
open fun toString(): String

Properties

author
Link copied to clipboard
var author: String
buildingsToRemove
Link copied to clipboard
var buildingsToRemove: HashSet<String>
isBaseRuleset
Link copied to clipboard
var isBaseRuleset: Boolean = false
lastUpdated
Link copied to clipboard
var lastUpdated: String
maxXPfromBarbarians
Link copied to clipboard
val maxXPfromBarbarians: Int = 30
modSize
Link copied to clipboard
var modSize: Int = 0
modUrl
Link copied to clipboard
var modUrl: String
nationsToRemove
Link copied to clipboard
var nationsToRemove: HashSet<String>
techsToRemove
Link copied to clipboard
var techsToRemove: HashSet<String>
uniqueObjects
Link copied to clipboard
open override var uniqueObjects: List<Unique>
uniques
Link copied to clipboard
open override var uniques: ArrayList<String>
unitsToRemove
Link copied to clipboard
var unitsToRemove: HashSet<String>

Sources

jvm source
Link copied to clipboard