Esempio n. 1
0
 public UserController(PlayerManager players,
                       ILogger <UserController> logger,
                       UserDBManager userDb,
                       FriendDBManager friendsDb)
     : base(players)
 {
     _logger    = logger;
     _userDb    = userDb;
     _friendsDb = friendsDb;
 }
Esempio n. 2
0
 public PhotoController(PlayerManager players,
                        IOptions <GameServerOptions> options,
                        ILogger <PhotoController> logger,
                        UserDBManager userDb,
                        FriendDBManager friendsDb,
                        PhotoDBManager photoDb)
     : base(players)
 {
     _logger    = logger;
     _gsOptions = options.Value;
     _userDb    = userDb;
     _friendsDb = friendsDb;
     _photoDb   = photoDb;
 }
Esempio n. 3
0
        public ProfileController(PlayerManager players,
                                 UserDBManager userDB,
                                 FriendDBManager friendDB,
                                 UserSpecialDBManager userSpecialDB,
                                 IOptions <GameServerOptions> gsOptions,
                                 ILogger <ProfileController> logger)
            : base(players)
        {
            _logger    = logger;
            _gsOptions = gsOptions.Value;

            _userDB        = userDB;
            _friendDB      = friendDB;
            _userSpecialDB = userSpecialDB;
        }