C# Class GameServer.GameBotActor

Inheritance: InterfacedActor, IGameObserver
Afficher le fichier Open project: SaladLab/TicTacToe

Méthodes publiques

Méthode Description
GameBotActor ( ClusterNodeContext clusterContext, GameRef game, long userId, string userName ) : System

Méthodes protégées

Méthode Description
OnGracefulStop ( ) : Task
OnStart ( bool restarted ) : Task

Private Methods

Méthode Description
IGameObserver ( ) : void
IGameObserver ( int playerId ) : void
IGameObserver ( int playerId, PlacePosition pos, int nextTurnPlayerId ) : void
IGameObserver ( int playerId, long userId, string userName ) : void
IGameObserver ( int playerId, string msg ) : void
ThinkAndMakeMoveAsync ( ) : Task

Method Details

GameBotActor() public méthode

public GameBotActor ( ClusterNodeContext clusterContext, GameRef game, long userId, string userName ) : System
clusterContext ClusterNodeContext
game Domain.GameRef
userId long
userName string
Résultat System

OnGracefulStop() protected méthode

protected OnGracefulStop ( ) : Task
Résultat Task

OnStart() protected méthode

protected OnStart ( bool restarted ) : Task
restarted bool
Résultat Task