C# Class ArmedCards.BusinessLogic.DomainServices.GamePlayerKickVote.CheckVotes

Implementation of Base.ICheckVotes
Inheritance: Base.ICheckVotes
Afficher le fichier Open project: kwmcrell/ArmedCards

Méthodes publiques

Méthode Description
CheckVotes ( ArmedCards.BusinessLogic.AppServices selectVotes ) : System
Execute ( Int32 gameID, Int32 kickUserId, Int32 &votedToKick, Int32 &votedNotToKick ) : void

Check to see if the user has enough votes to be kicked

Method Details

CheckVotes() public méthode

public CheckVotes ( ArmedCards.BusinessLogic.AppServices selectVotes ) : System
selectVotes ArmedCards.BusinessLogic.AppServices
Résultat System

Execute() public méthode

Check to see if the user has enough votes to be kicked
public Execute ( Int32 gameID, Int32 kickUserId, Int32 &votedToKick, Int32 &votedNotToKick ) : void
gameID System.Int32 The ID of the game the user belongs to
kickUserId System.Int32 The ID of the user to kick
votedToKick System.Int32 Number of votes to kick
votedNotToKick System.Int32 Number of votes not to kick
Résultat void