Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.TerminateFriendshipPacket$ExBlockBlock


        /// <param name="agentID">System ID of the avatar you are terminating the friendship with</param>
        public void TerminateFriendship(UUID agentID)
        {
            if (FriendList.containsKey(agentID))
            {
                TerminateFriendshipPacket request = new TerminateFriendshipPacket();
                request.AgentData.AgentID = Client.self.getAgentID();
                request.AgentData.SessionID = Client.self.getSessionID();
                request.ExBlock.OtherID = agentID;

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


        /// <param name="sender">The sender</param>
        /// <param name="e">The EventArgs object containing the packet data</param>
        private void TerminateFriendshipHandler(Object sender, PacketReceivedEventArgs e)
        {
            Packet packet = e.getPacket();
            TerminateFriendshipPacket itsOver = (TerminateFriendshipPacket)packet;
            String name = "";

            if (FriendList.containsKey(itsOver.ExBlock.OtherID))
            {
                name = FriendList.get(itsOver.ExBlock.OtherID).getName();
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.TerminateFriendshipPacket$ExBlockBlock

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.