Reapplying the parts of the prior revert that were not derived from the
original patchviewer-2-initial-appearance
parent
b01020b84a
commit
87c6386884
|
@ -104,7 +104,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
|
|||
part.GetProperties(client);
|
||||
}
|
||||
|
||||
public bool BuyObject(IClientAPI remoteClient, UUID categoryID, uint localID, byte saleType)
|
||||
public bool BuyObject(IClientAPI remoteClient, UUID categoryID, uint localID, byte saleType, int salePrice)
|
||||
{
|
||||
SceneObjectPart part = m_scene.GetSceneObjectPart(localID);
|
||||
|
||||
|
|
|
@ -42,6 +42,6 @@ namespace OpenSim.Region.Framework.Interfaces
|
|||
/// <returns>
|
||||
/// True on a successful purchase, false on failure
|
||||
/// </returns>
|
||||
bool BuyObject(IClientAPI remoteClient, UUID categoryID, uint localID, byte saleType);
|
||||
bool BuyObject(IClientAPI remoteClient, UUID categoryID, uint localID, byte saleType, int salePrice);
|
||||
}
|
||||
}
|
|
@ -814,7 +814,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
|||
|
||||
IBuySellModule module = s.RequestModuleInterface<IBuySellModule>();
|
||||
if (module != null)
|
||||
module.BuyObject(remoteClient, categoryID, localID, saleType);
|
||||
module.BuyObject(remoteClient, categoryID, localID, saleType, salePrice);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue