Package com.ngt.jopenmetaverse.shared.protocol

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


        /// Use to track a friends movement on the grid
        /// </summary>
        /// <param name="friendID">Friends Key</param>
        public void TrackFriend(UUID friendID)
        {
            TrackAgentPacket stalk = new TrackAgentPacket();
            stalk.AgentData.AgentID = Client.self.getAgentID();
            stalk.AgentData.SessionID = Client.self.getSessionID();
            stalk.TargetData.PreyID = friendID;

            Client.network.SendPacket(stalk);
View Full Code Here


        /// <summary>Tracks the specified avatar on your map</summary>
        /// <param name="preyID">Avatar ID to track</param>
        public void RequestTrackAgent(UUID preyID)
        {
            TrackAgentPacket p = new TrackAgentPacket();
            p.AgentData.AgentID = Client.self.getAgentID();
            p.AgentData.SessionID = Client.self.getSessionID();
            p.TargetData.PreyID = preyID;
            Client.network.SendPacket(p);
        }
View Full Code Here

TOP

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

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.