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

Implementation of Base.ICheckVotes
Inheritance: Base.ICheckVotes
Show file Open project: kwmcrell/ArmedCards

Public Methods

Method 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 method

public CheckVotes ( ArmedCards.BusinessLogic.AppServices selectVotes ) : System
selectVotes ArmedCards.BusinessLogic.AppServices
return System

Execute() public method

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
return void