C# Class OpenMetaverse.AvatarUpdateEventArgs

Provides data for the ObjectManager.AvatarUpdate event

The ObjectManager.AvatarUpdate event occurs when the simulator sends an ObjectUpdatePacket containing Avatar data

Note 1: The ObjectManager.AvatarUpdate event will not be raised when the object is an Avatar

Note 2: It is possible for the ObjectManager.AvatarUpdate to be raised twice for the same avatar if for example the avatar moved to a new simulator, then returned to the current simulator

Inheritance: System.EventArgs
Mostrar archivo Open project: openmetaversefoundation/libopenmetaverse Class Usage Examples

Public Methods

Method Description
AvatarUpdateEventArgs ( Simulator simulator, Avatar avatar, ushort timeDilation, bool isNew ) : System

Construct a new instance of the AvatarUpdateEventArgs class

Method Details

AvatarUpdateEventArgs() public method

Construct a new instance of the AvatarUpdateEventArgs class
public AvatarUpdateEventArgs ( Simulator simulator, Avatar avatar, ushort timeDilation, bool isNew ) : System
simulator Simulator The simulator the packet originated from
avatar Avatar The data
timeDilation ushort The simulator time dilation
isNew bool The avatar was not in the dictionary before this update
return System