[−][src]Function tes3mp_plugin::plugin::generated::get_object_pid
pub fn get_object_pid(index: u16) -> i16
Get the player ID of the object at a certain index in the read object list,
only valid if the object is a player.
Note: Currently, players can only be objects in ObjectActivate and ConsoleCommand
packets.
index
The index of the object.
Returns the player ID of the object.