C# Class ArmedCards.BusinessLogic.AppServices.GamePlayerCard.Play

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

Méthodes publiques

Méthode Description
Execute ( List cardIDs, Int32 gameID, Int32 userId, System.Boolean autoPlayed = false ) : Entities.ActionResponses.PlayCard

Play a list of cards from a user's hand

Play ( ArmedCards.BusinessLogic.DomainServices playCard, ArmedCards.BusinessLogic.AppServices selectGame, ArmedCards.BusinessLogic.AppServices sendMessage, ArmedCards.BusinessLogic.AppServices updateGame ) : System

Method Details

Execute() public méthode

Play a list of cards from a user's hand
public Execute ( List cardIDs, Int32 gameID, Int32 userId, System.Boolean autoPlayed = false ) : Entities.ActionResponses.PlayCard
cardIDs List The card IDs the user has selected
gameID System.Int32 The game ID in which the user wants to play the card
userId System.Int32 The user Id
autoPlayed System.Boolean Were these cards auto played
Résultat Entities.ActionResponses.PlayCard

Play() public méthode

public Play ( ArmedCards.BusinessLogic.DomainServices playCard, ArmedCards.BusinessLogic.AppServices selectGame, ArmedCards.BusinessLogic.AppServices sendMessage, ArmedCards.BusinessLogic.AppServices updateGame ) : System
playCard ArmedCards.BusinessLogic.DomainServices
selectGame ArmedCards.BusinessLogic.AppServices
sendMessage ArmedCards.BusinessLogic.AppServices
updateGame ArmedCards.BusinessLogic.AppServices
Résultat System