C# Class UnoTV.Web.Hubs.GameHub

Inheritance: Microsoft.AspNet.SignalR.Hub
Datei anzeigen Open project: TomDudfield/UnoTV

Public Methods

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

Private Methods

Method Description
NotifyNextPlayer ( ) : void

Method Details

Join() public method

public Join ( string playerName ) : void
playerName string
return void

NewTable() public method

public NewTable ( string gameId ) : void
gameId string
return void

OnDisconnected() public method

public OnDisconnected ( ) : Task
return Task

PlayCard() public method

public PlayCard ( Card card ) : void
card Card
return void

StartGame() public method

public StartGame ( ) : void
return void