mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Fix build break and change some groups interfaces
This commit is contained in:
@@ -1228,7 +1228,7 @@ namespace OpenSim.Client.MXP.ClientStack
|
||||
// Need to translate to MXP somehow
|
||||
}
|
||||
|
||||
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
|
||||
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
|
||||
{
|
||||
// Need to translate to MXP somehow
|
||||
}
|
||||
|
||||
@@ -996,7 +996,7 @@ namespace OpenSim.Framework
|
||||
|
||||
void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID);
|
||||
void SendForceClientSelectObjects(List<uint> objectIDs);
|
||||
void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount);
|
||||
void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount);
|
||||
void SendLandParcelOverlay(byte[] data, int sequence_id);
|
||||
|
||||
#region Parcel Methods
|
||||
|
||||
@@ -3420,7 +3420,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
}
|
||||
}
|
||||
|
||||
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
|
||||
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
|
||||
{
|
||||
int notifyCount = ownersAndCount.Count;
|
||||
ParcelObjectOwnersReplyPacket pack = (ParcelObjectOwnersReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelObjectOwnersReply);
|
||||
@@ -3445,12 +3445,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
dataBlock[num] = new ParcelObjectOwnersReplyPacket.DataBlock();
|
||||
dataBlock[num].Count = ownersAndCount[owner];
|
||||
|
||||
if (m_GroupsModule != null)
|
||||
{
|
||||
//TODO: There's probably a better way to do this.
|
||||
GroupProfileData gpd;
|
||||
dataBlock[num].IsGroupOwned = m_GroupsModule.GetGroupProfile(owner, out gpd);
|
||||
}
|
||||
if (land.GroupID == owner)
|
||||
dataBlock[num].IsGroupOwned = true;
|
||||
|
||||
dataBlock[num].OnlineStatus = true; //TODO: fix me later
|
||||
dataBlock[num].OwnerID = owner;
|
||||
|
||||
|
||||
@@ -734,7 +734,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
}
|
||||
}
|
||||
|
||||
remote_client.SendLandObjectOwners(primCount);
|
||||
remote_client.SendLandObjectOwners(landData, primCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -885,7 +885,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
{
|
||||
}
|
||||
|
||||
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
|
||||
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -892,7 +892,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
public void SendForceClientSelectObjects(List<uint> objectIDs)
|
||||
{
|
||||
}
|
||||
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
|
||||
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
|
||||
{
|
||||
}
|
||||
public void SendLandParcelOverlay(byte[] data, int sequence_id)
|
||||
|
||||
@@ -929,7 +929,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
{
|
||||
}
|
||||
|
||||
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
|
||||
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user