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

Implementation of Base.ICheckVotes
Inheritance: Base.ICheckVotes
Datei anzeigen Open project: kwmcrell/ArmedCards

Public Methods

Method Description
CheckVotes ( Game leaveGame, User selectUser, ArmedCards.BusinessLogic.DomainServices.GamePlayerKickVote checkVotes, Hubs sendMessage ) : System
Execute ( Int32 gameID, Int32 kickUserId ) : void

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

Method Details

CheckVotes() public method

public CheckVotes ( Game leaveGame, User selectUser, ArmedCards.BusinessLogic.DomainServices.GamePlayerKickVote checkVotes, Hubs sendMessage ) : System
leaveGame Game
selectUser User
checkVotes ArmedCards.BusinessLogic.DomainServices.GamePlayerKickVote
sendMessage Hubs
return System

Execute() public method

Check to see if the user has enough votes to be kicked
public Execute ( Int32 gameID, Int32 kickUserId ) : void
gameID System.Int32 The ID of the game the user belongs to
kickUserId System.Int32 The ID of the user to kick
return void