Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.ObjectSaleInfoPacket


  /// <param name="localID">The Local ID of the object</param>       
  /// <param name="saleType">One of the options from the <see cref="SaleType"/> enum</param>
  /// <param name="price">The price of the object</param>
  public void SetSaleInfo(Simulator simulator, long localID, SaleType saleType, int price)
  {
    ObjectSaleInfoPacket sale = new ObjectSaleInfoPacket();
    sale.AgentData.AgentID = Client.self.getAgentID();
    sale.AgentData.SessionID = Client.self.getSessionID();
    sale.ObjectData = new ObjectSaleInfoPacket.ObjectDataBlock[1];
    sale.ObjectData[0] = new ObjectSaleInfoPacket.ObjectDataBlock();
    sale.ObjectData[0].LocalID = localID;
View Full Code Here


  /// <param name="localIDs">An array containing the Local IDs of the objects</param>
  /// <param name="saleType">One of the options from the <see cref="SaleType"/> enum</param>
  /// <param name="price">The price of the object</param>
  public void SetSaleInfo(Simulator simulator, List<Long> localIDs, SaleType saleType, int price)
  {
    ObjectSaleInfoPacket sale = new ObjectSaleInfoPacket();
    sale.AgentData.AgentID = Client.self.getAgentID();
    sale.AgentData.SessionID = Client.self.getSessionID();
    sale.ObjectData = new ObjectSaleInfoPacket.ObjectDataBlock[localIDs.size()];

    for (int i = 0; i < localIDs.size(); i++)
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.ObjectSaleInfoPacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.