[][src]Function tes3mp_plugin::plugin::generated::get_attribute_id

pub fn get_attribute_id(name: &str) -> i16

Get the numerical ID of an attribute with a certain name.

If an invalid name is used, the ID returned is -1

name The name of the attribute.

Returns the ID of the attribute.