Moving the new group data structures out of LLClientView into GroupData.

The new methods are still not in IClientAPI, so some work remains to be done.
mysql-performance
Melanie 2010-01-08 05:29:29 +00:00
parent 452be5e546
commit 17efecd6c5
2 changed files with 54 additions and 50 deletions

View File

@ -135,4 +135,30 @@ namespace OpenSim.Framework
public bool HasAttachment;
public byte AssetType;
}
public struct GroupVoteHistory
{
public string VoteID;
public string VoteInitiator;
public string Majority;
public string Quorum;
public string TerseDateID;
public string StartDateTime;
public string EndDateTime;
public string VoteType;
public string VoteResult;
public string ProposalText;
}
public struct GroupActiveProposals
{
public string VoteID;
public string VoteInitiator;
public string Majority;
public string Quorum;
public string TerseDateID;
public string StartDateTime;
public string EndDateTime;
public string ProposalText;
}
}

View File

@ -825,17 +825,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
OutPacket(gmp, ThrottleOutPacketType.Task);
}
public struct GroupActiveProposals
{
public string VoteID;
public string VoteInitiator;
public string Majority;
public string Quorum;
public string TerseDateID;
public string StartDateTime;
public string EndDateTime;
public string ProposalText;
}
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{
int i = 0;
@ -887,19 +877,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(GAPIRP, ThrottleOutPacketType.Task);
}
}
public struct GroupVoteHistory
{
public string VoteID;
public string VoteInitiator;
public string Majority;
public string Quorum;
public string TerseDateID;
public string StartDateTime;
public string EndDateTime;
public string VoteType;
public string VoteResult;
public string ProposalText;
}
public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes)
{
int i = 0;