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

pub fn set_current_mp_num(mp_num: i16)

Set the current (latest) mpNum generated by the server.

When restarting a server, it is important to revert to the previous current (latest) mpNum
as stored in the server's data, so as to avoid starting over from 0 and ending up assigning
duplicate mpNums to objects.

mp_num The number that should be used as the new current mpNum.

Returns void