Package com.ngt.jopenmetaverse.shared.protocol

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


  /// <param name="queryStart">Start from the match number</param>
  /// <param name="flags">Search flags</param>
  /// <returns></returns>
  public UUID StartGroupSearch(String searchText, int queryStart, EnumSet<DirFindFlags> flags)
  {
    DirFindQueryPacket find = new DirFindQueryPacket();
    find.AgentData.AgentID = Client.self.getAgentID();
    find.AgentData.SessionID = Client.self.getSessionID();
    find.QueryData.QueryFlags = DirFindFlags.getIndex(flags);
    find.QueryData.QueryText = Utils.stringToBytesWithTrailingNullByte(searchText);
    find.QueryData.QueryID = UUID.Random();
View Full Code Here


  /// <param name="searchText">The name or portion of the name of the avatar you wish to search for</param>
  /// <param name="queryStart"></param>
  /// <returns></returns>
  public UUID StartPeopleSearch(String searchText, int queryStart)
  {
    DirFindQueryPacket find = new DirFindQueryPacket();
    find.AgentData.AgentID = Client.self.getAgentID();
    find.AgentData.SessionID = Client.self.getSessionID();
    find.QueryData.QueryFlags = (long)DirFindFlags.People.getIndex();
    find.QueryData.QueryText = Utils.stringToBytesWithTrailingNullByte(searchText);
    find.QueryData.QueryID = UUID.Random();
View Full Code Here

  /// from 100-199 use 100, 200-299 use 200, etc.</param>
  /// <param name="category">EventCategory event is listed under.</param>
  /// <returns>UUID of query to correlate results in callback.</returns>
  public UUID StartEventsSearch(String searchText, EnumSet<DirFindFlags> queryFlags, String eventDay, long queryStart, EventCategories category)
  {
    DirFindQueryPacket find = new DirFindQueryPacket();
    find.AgentData.AgentID = Client.self.getAgentID();
    find.AgentData.SessionID = Client.self.getSessionID();

    UUID queryID = UUID.Random();
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.DirFindQueryPacket$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.