Index: EstateTools.cs =================================================================== --- EstateTools.cs (revision 2116) +++ EstateTools.cs (working copy) @@ -132,7 +132,9 @@ public enum EstateAccessDelta { BanUser = 64, - UnbanUser = 128 + BanUserAllEstates = 66, + UnbanUser = 128, + UnbanUserAllEstates = 130 } public enum EstateAccessReplyDelta : uint @@ -468,12 +470,14 @@ EstateOwnerMessage("kickestate", userID.ToString()); } - /// Ban an avatar from an estate + /// + /// Ban an avatar from an estate /// Key of Agent to remove - public void BanUser(UUID userID) + /// Ban user from this estate and all others owned by the estate owner + public void BanUser(UUID userID, bool allEstates) { List listParams = new List(); - uint flag = (uint)EstateAccessDelta.BanUser; + uint flag = AllEstates ? (uint)EstateAccessDelta.BanUserAllEstates : (uint)EstateAccessDelta.BanUser; listParams.Add(Client.Self.AgentID.ToString()); listParams.Add(flag.ToString()); listParams.Add(userID.ToString()); @@ -482,10 +486,11 @@ /// Unban an avatar from an estate /// Key of Agent to remove - public void UnbanUser(UUID userID) + /// /// Unban user from this estate and all others owned by the estate owner + public void UnbanUser(UUID userID, bool allEstates) { List listParams = new List(); - uint flag = (uint)EstateAccessDelta.UnbanUser; + uint flag = AllEstates ? (uint)EstateAccessDelta.UnbanUserAllEstates : (uint)EstateAccessDelta.UnbanUser; listParams.Add(Client.Self.AgentID.ToString()); listParams.Add(flag.ToString()); listParams.Add(userID.ToString());