C# Class UnoTV.Web.Hubs.GameHub

Inheritance: Microsoft.AspNet.SignalR.Hub
Afficher le fichier Open project: TomDudfield/UnoTV

Méthodes publiques

Méthode Description
Join ( string playerName ) : void
NewTable ( string gameId ) : void
OnDisconnected ( ) : Task
PlayCard ( Card card ) : void
StartGame ( ) : void

Private Methods

Méthode Description
NotifyNextPlayer ( ) : void

Method Details

Join() public méthode

public Join ( string playerName ) : void
playerName string
Résultat void

NewTable() public méthode

public NewTable ( string gameId ) : void
gameId string
Résultat void

OnDisconnected() public méthode

public OnDisconnected ( ) : Task
Résultat Task

PlayCard() public méthode

public PlayCard ( Card card ) : void
card Card
Résultat void

StartGame() public méthode

public StartGame ( ) : void
Résultat void