getPromotions

fun getPromotions(sorted: Boolean = false): Sequence<Promotion>

Gets this unit's promotions as objects.

Return

a Sequence of this unit's promotions

Parameters

sorted

if true return the promotions in json order (false gives hashset order) for display.

Sources

jvm source
Link copied to clipboard