Regime

Kotlin-identity regime, decided once from (our bundled kotlin C, the parent/game kotlin P).

Constructors

Link copied to clipboard
private constructor()

Entries

Link copied to clipboard

P present and P >= C: delegate the kotlin.* runtime (see isKotlinRuntime) to the parent — ONE kotlin identity shared with the game's mods, falling back to our own copy for anything the parent lacks. The compiler then also runs on the parent's (>= our) stdlib, which is the kotlin-GUARANTEED backward direction (code compiled against C runs on >= C).

Link copied to clipboard

P < C: the compiler stays on our own C (masking child-first for kotlin.*), so it never runs on an older stdlib (which would be the un-guaranteed forward direction). Only the SNIPPET loader (snippetParentLoader) redirects kotlin.* to the parent's P, and snippets pin -api-version to P so they only use APIs P actually has.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard