Function get_record_enchantment_charge

Source
pub fn get_record_enchantment_charge(index: u16) -> i16
Expand description

Get the enchantment charge of the record at a certain index in
the read worldstate’s dynamic records of the current type.

index The index of the record.

Returns the enchantment charge of the record.