Esempio n. 1
0
 public Combat(IWriteToClient writer, IUpdateClientUI clientUi, IDamage damage, IFormulas formulas, IGain gain, ICache cache, IQuestLog quest, IDice dice, IRandomItem randomItem, IPlayerDataBase pdb)
 {
     _writer     = writer;
     _clientUi   = clientUi;
     _damage     = damage;
     _formulas   = formulas;
     _gain       = gain;
     _cache      = cache;
     _quest      = quest;
     _dice       = dice;
     _randomItem = randomItem;
     _pdb        = pdb;
 }
Esempio n. 2
0
 public GameHub(IDataBase db, IPlayerDataBase pdb, ICache cache, ILogger <GameHub> logger, IWriteToClient writeToClient, ICommands commands, IUpdateClientUI updateClientUi, IMobScripts mobScripts, ITime time, IDice dice, IGain gain, IFormulas formulas)
 {
     _logger         = logger;
     _db             = db;
     _pdb            = pdb;
     _cache          = cache;
     _writeToClient  = writeToClient;
     _commands       = commands;
     _updateClientUi = updateClientUi;
     _mobScripts     = mobScripts;
     _time           = time;
     _dice           = dice;
     _gain           = gain;
     _formulas       = formulas;
 }
Esempio n. 3
0
 public PlayerController(IDataBase db, ICache cache, IPlayerDataBase pdb)
 {
     _db    = db;
     _pdb   = pdb;
     _cache = cache;
 }
Esempio n. 4
0
 public AccountController(IPlayerDataBase pdb, IDataBase db, IUserService adminService)
 {
     _pdb         = pdb;
     _db          = db;
     _userService = adminService;
 }
Esempio n. 5
0
 public DashboardController(IDataBase db, IPlayerDataBase pdb, ICache cache)
 {
     _db    = db;
     _pdb   = pdb;
     _cache = cache;
 }