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

pub fn set_object_ref_num(ref_num: i16)

Set the refNum of the temporary object stored on the server.

Every object loaded from .ESM and .ESP data files has a unique refNum which needs to be
retained to refer to it in packets.

On the other hand, objects placed or spawned via the server should always have a refNum
of 0.

ref_num The refNum.

Returns void