Esempio n. 1
0
        public PlayerContex(PlayerStoreData storeData, Pipe <IGameCommand> output)
        {
            Output = output;

            Id          = storeData.PlayerId;
            Rating      = new Rating(storeData.Rating);
            Name        = storeData.Name;
            IsActivated = storeData.IsActivated;
            PlayerType  = storeData.PlayerType;
        }
Esempio n. 2
0
 public PlayerLoaded(PlayerStoreData storeData, CancellationToken token, Pipe <IGameCommand> output)
 {
     StoreData = storeData;
     Token     = token;
     Output    = output;
 }