public RepositorySyncerBase(ISyncedRepository <T> repo, IRoomContext room, ITaskScheduler taskScheduler, IPlayerRepository playerRepo, ISerializer serializer, IConfirmationManager confirmationManager, IShamanLogger logger) { _repo = repo; Room = room; _taskScheduler = taskScheduler; _playerRepo = playerRepo; _serializer = serializer; _confirmationManager = confirmationManager; _logger = logger; _id = Guid.NewGuid(); _shamanRoomSender = new ShamanRoomSender(Room.GetSender(), _serializer); }
public SendManager(IRoomContext roomContext, ISerializer serializer) { _sender = new ShamanRoomSender(roomContext.GetSender(), serializer); }