Attempt to purchase an original object, a
copy, or the contents of an object
Declaration Syntax
Parameters
- localID ( UInt32)
- The Local ID of the object
- saleType ( SaleType)
- Whether the original, a copy, or the object contents are on sale. This is used for verification, if the this sale type is not valid for the object the purchase will fail
- price ( Int32)
- Price of the object. This is used for verification, if it does not match the actual price the purchase will fail
- groupID ( UUID)
- Group ID that will be associated with the new purchase
- categoryID ( UUID)
- Inventory folder UUID where the object or objects purchased should be placed
Examples
Copy | |
---|---|
BuyObject(Client.Network.CurrentSim, 500, SaleType.Copy, 100, UUID.Zero, Client.Self.InventoryRootFolderUUID); |
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)