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:
John Hurliman
2008-10-01 00:09:20 +00:00
parent f2da22a6a3
commit 7f8d162043
2 changed files with 18 additions and 18 deletions

View File

@@ -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>

View File

@@ -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);