Function set_current_mp_num

Source
pub fn set_current_mp_num(mp_num: i16)
Expand description

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