LIBOMV-398 Better yet, splits out AccessList into two lists, a WhiteList and a Blacklist in the Parcel object. This works much better for storing this information in our internal dictionaries and makes it less obscure for end library users to understand.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2302 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -43,8 +43,18 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
Client.Network.CurrentSim.Parcels.ForEach(delegate(Parcel parcel)
|
||||
{
|
||||
sb.AppendFormat("Parcel[{0}]: Name: \"{1}\", Description: \"{2}\" ACL Count: {3} Traffic: {4}" + System.Environment.NewLine,
|
||||
parcel.LocalID, parcel.Name, parcel.Desc, parcel.AccessList.Count, parcel.Dwell);
|
||||
sb.AppendFormat("Parcel[{0}]: Name: \"{1}\", Description: \"{2}\" ACLBlacklist Count: {3}, ACLWhiteList Count: {5} Traffic: {4}" + System.Environment.NewLine,
|
||||
parcel.LocalID, parcel.Name, parcel.Desc, parcel.AccessBlackList.Count, parcel.Dwell, parcel.AccessWhiteList.Count);
|
||||
//foreach (ParcelManager.ParcelAccessEntry white in parcel.AccessWhiteList)
|
||||
//{
|
||||
// if(white.AgentID != UUID.Zero)
|
||||
// sb.AppendFormat("\tAllowed Avatar {0}" + System.Environment.NewLine, white.AgentID);
|
||||
//}
|
||||
//foreach (ParcelManager.ParcelAccessEntry black in parcel.AccessBlackList)
|
||||
//{
|
||||
// if(black.AgentID != UUID.Zero)
|
||||
// sb.AppendFormat("\t Banned Avatar {0}" + System.Environment.NewLine, black.AgentID);
|
||||
//}
|
||||
});
|
||||
|
||||
result = sb.ToString();
|
||||
|
||||
Reference in New Issue
Block a user