Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.FetchInventoryPacket$AgentDataBlock


  /// <param name="itemID">The items <seealso cref="OpenMetaverse.UUID"/></param>
  /// <param name="ownerID">The item Owners <seealso cref="OpenMetaverse.UUID"/></param>
  /// <seealso cref="InventoryManager.OnItemReceived"/>
  public void RequestFetchInventory(UUID itemID, UUID ownerID)
  {
    FetchInventoryPacket fetch = new FetchInventoryPacket();
    fetch.AgentData = new FetchInventoryPacket.AgentDataBlock();
    fetch.AgentData.AgentID = Client.self.getAgentID();
    fetch.AgentData.SessionID = Client.self.getSessionID();

    fetch.InventoryData = new FetchInventoryPacket.InventoryDataBlock[1];
View Full Code Here


  public void RequestFetchInventory(List<UUID> itemIDs, List<UUID> ownerIDs)
  {
    if (itemIDs.size() != ownerIDs.size())
      throw new IllegalArgumentException("itemIDs and ownerIDs must contain the same number of entries");

    FetchInventoryPacket fetch = new FetchInventoryPacket();
    fetch.AgentData = new FetchInventoryPacket.AgentDataBlock();
    fetch.AgentData.AgentID = Client.self.getAgentID();
    fetch.AgentData.SessionID = Client.self.getSessionID();

    fetch.InventoryData = new FetchInventoryPacket.InventoryDataBlock[itemIDs.size()];
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.FetchInventoryPacket$AgentDataBlock

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.