Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.RequestMultipleObjectsPacket$ObjectDataBlock


  /// </summary>
  /// <param name="simulator">The <see cref="Simulator"/> the object is located</param>
  /// <param name="localID">The Local ID of the object</param>
  public void RequestObject(Simulator simulator, long localID)
  {
    RequestMultipleObjectsPacket request = new RequestMultipleObjectsPacket();
    request.AgentData.AgentID = Client.self.getAgentID();
    request.AgentData.SessionID = Client.self.getSessionID();
    request.ObjectData = new RequestMultipleObjectsPacket.ObjectDataBlock[1];
    request.ObjectData[0] = new RequestMultipleObjectsPacket.ObjectDataBlock();
    request.ObjectData[0].ID = localID;
View Full Code Here


  /// </summary>
  /// <param name="simulator">The <see cref="Simulator"/> the objects are located</param>
  /// <param name="localIDs">An array containing the Local IDs of the objects</param>
  public void RequestObjects(Simulator simulator, List<Long> localIDs)
  {
    RequestMultipleObjectsPacket request = new RequestMultipleObjectsPacket();
    request.AgentData.AgentID = Client.self.getAgentID();
    request.AgentData.SessionID = Client.self.getSessionID();
    request.ObjectData = new RequestMultipleObjectsPacket.ObjectDataBlock[localIDs.size()];

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

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.RequestMultipleObjectsPacket$ObjectDataBlock

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.