Wait, what?

This commit is contained in:
cinder
2025-01-20 20:40:52 -06:00
parent c8c71357af
commit 0bb329df97
2 changed files with 1 additions and 21 deletions

View File

@@ -240,10 +240,7 @@ namespace OpenMetaverse
{
lock (m_AvatarAppearanceLock)
{
if (m_AvatarAppearance != null)
{
m_AvatarAppearance(this, args);
}
m_AvatarAppearance?.Invoke(this, args);
}
}

View File

@@ -442,23 +442,6 @@ namespace OpenMetaverse
}
}
/// <summary>Provides data for the <see cref="AvatarManager.AvatarAppearance"/> event</summary>
/// <remarks>The <see cref="AvatarManager.AvatarAppearance"/> event occurs when the simulator sends
/// the appearance data for an avatar</remarks>
/// <example>
/// The following code example uses the <see cref="AvatarAppearanceEventArgs.AvatarID"/> and <see cref="AvatarAppearanceEventArgs.VisualParams"/>
/// properties to display the selected shape of an avatar on the <see cref="Console"/> window.
/// <code>
/// // subscribe to the event
/// Client.Avatars.AvatarAppearance += Avatars_AvatarAppearance;
///
/// // handle the data when the event is raised
/// void Avatars_AvatarAppearance(object sender, AvatarAppearanceEventArgs e)
/// {
/// Console.WriteLine("The Agent {0} is using a {1} shape.", e.AvatarID, (e.VisualParams[31] &gt; 0) : "male" ? "female")
/// }
/// </code>
/// </example>
public class PreloadSoundEventArgs : EventArgs
{
/// <summary>Simulator where the event originated</summary>