get

operator fun get(bitField: BitField): Int

Allow subscript notation to access a BitField.

Return

The value of the extracted bitfield as an Int.

Parameters

bitField

The BitField to extract within the receiver.


operator fun get(field: IntegerSlotsEnum): Long

Allow subscript notation to access an IntegerSlotsEnum field.

Return

The extracted Long.

Parameters

field

The IntegerSlotsEnum to extract within the receiver.


operator fun get(field: IntegerSlotsEnum, subscript: Int): Long

Allow subscript notation to access an indexed IntegerSlotsEnum field. The first subscript is the field, which must be the last declared integer field (and end with "_"), and the second is the one-based index.

Return

The extracted Long.

Parameters

field

The IntegerSlotsEnum to extract within the receiver.

subscript

The one-based index within the repeating field.


operator fun get(field: ObjectSlotsEnum): AvailObject

Allow subscript notation to access an ObjectSlotsEnum field.

Return

The extracted AvailObject.

Parameters

field

The ObjectSlotsEnum to extract within the receiver.


operator fun get(field: ObjectSlotsEnum, subscript: Int): AvailObject

Allow subscript notation to access an indexed ObjectSlotsEnum field. The first subscript is the field, which must be the last declared object field (and end with "_"), and the second is the one-based index.

Return

The extracted AvailObject.

Parameters

field

The ObjectSlotsEnum to extract within the receiver.

subscript

The one-based index within the repeating field.