Moved ProfileFlags into the main namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2250 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -32,28 +32,28 @@ using OpenMetaverse.Packets;
|
||||
|
||||
namespace OpenMetaverse
|
||||
{
|
||||
#region Enums
|
||||
|
||||
/// <summary>
|
||||
/// Avatar profile flags
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum ProfileFlags : uint
|
||||
{
|
||||
AllowPublish = 1,
|
||||
MaturePublish = 2,
|
||||
Identified = 4,
|
||||
Transacted = 8,
|
||||
Online = 16
|
||||
}
|
||||
|
||||
#endregion Enums
|
||||
|
||||
/// <summary>
|
||||
/// Represents an avatar (other than your own)
|
||||
/// </summary>
|
||||
public class Avatar : Primitive
|
||||
{
|
||||
#region Enums
|
||||
|
||||
/// <summary>
|
||||
/// Avatar profile flags
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum ProfileFlags
|
||||
{
|
||||
AllowPublish = 1,
|
||||
MaturePublish = 2,
|
||||
Identified = 4,
|
||||
Transacted = 8,
|
||||
Online = 16
|
||||
}
|
||||
|
||||
#endregion Enums
|
||||
|
||||
#region Subclasses
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -438,7 +438,7 @@ namespace OpenMetaverse
|
||||
} else {
|
||||
properties.CharterMember = Utils.BytesToString(reply.PropertiesData.CharterMember);
|
||||
}
|
||||
properties.Flags = (Avatar.ProfileFlags)reply.PropertiesData.Flags;
|
||||
properties.Flags = (ProfileFlags)reply.PropertiesData.Flags;
|
||||
properties.ProfileURL = Utils.BytesToString(reply.PropertiesData.ProfileURL);
|
||||
|
||||
OnAvatarProperties(reply.AgentData.AvatarID, properties);
|
||||
|
||||
Reference in New Issue
Block a user