IHasUniques
interface IHasUniques
Content copied to clipboard
Common interface for all 'ruleset objects' that have Uniques, like BaseUnit, Nation, etc.
Functions
getMatchingUniques
Link copied to clipboard
open fun getMatchingUniques(uniqueType: UniqueType, stateForConditionals: StateForConditionals? = null): Sequence<Unique>
Content copied to clipboard
open fun getMatchingUniques(uniqueTemplate: String, stateForConditionals: StateForConditionals? = null): Sequence<Unique>
Content copied to clipboard
getUniqueTarget
Link copied to clipboard
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 ;)
hasUnique
Link copied to clipboard
open fun hasUnique(uniqueType: UniqueType, stateForConditionals: StateForConditionals? = null): Boolean
Content copied to clipboard
open fun hasUnique(uniqueTemplate: String, stateForConditionals: StateForConditionals? = null): Boolean
Content copied to clipboard
Properties
Inheritors
INonPerpetualConstruction
Link copied to clipboard
Era
Link copied to clipboard
ModOptions
Link copied to clipboard
IRulesetObject
Link copied to clipboard
UnitType
Link copied to clipboard
Sources
jvm source
Link copied to clipboard