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

pub fn is_object_player(index: u16) -> bool

Check whether the object at a certain index in the read object list is a
player.

Note: Although most player data and events are dealt with in Player packets,
object activation is general enough for players themselves to be included
as objects in ObjectActivate packets.

index The index of the object.

Returns whether the object is a player.