Package com.ngt.jopenmetaverse.shared.protocol

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


        /// <summary>Start a group proposal (vote)</summary>
        /// <param name="group">The Group ID to send proposal to</param>
        /// <param name="prop"><code>GroupProposal</code> structure containing the proposal</param>
        public void StartProposal(UUID group, GroupProposal prop)
        {
            StartGroupProposalPacket p = new StartGroupProposalPacket();
            p.AgentData.AgentID = Client.self.getAgentID();
            p.AgentData.SessionID = Client.self.getSessionID();
            p.ProposalData.GroupID = group;
            p.ProposalData.ProposalText = Utils.stringToBytesWithTrailingNullByte(prop.VoteText);
            p.ProposalData.Quorum = prop.Quorum;
View Full Code Here

TOP

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

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.