Template_Voting Class Reference

Server-side voting class. More...

List of all members.

Public Attributes

int VotePercent
 Vote percentage.
int NumTotal
 Votable item count.
int ChunkSize
 Item request size.
VoteInformation Votes [32]
 Array of vote information.


Detailed Description

A server-side class to keep track of player vote information.

Member Data Documentation

The percentage of votes needed for the vote to pass.

int NumTotal

The total number of available votable items.

int ChunkSize

The number of items that are sent to the client with each request.

VoteInformation Votes[32]

Array of vote information. The indexes of each struct in the array are initialized to -1. They stay at -1 until a vote is cast and another index is needed, or they go back to -1 if all the votes for a certain item have been removed.


Generated on Tue Jun 2 16:26:38 2009 for EDM6 by  doxygen 1.5.6