import { MemoryMercenariesCollectionInfo } from '../../../models/memory/memory-mercenaries-collection-info' ; import { OverwolfService } from '../../overwolf.service' ; import { MindVisionOperationFacade } from './mind-vision-operation-facade' ; import { MindVisionService } from './mind-vision.service' ; export class GetMercenariesCollectionInfoOperation extends MindVisionOperationFacade < MemoryMercenariesCollectionInfo > { constructor ( mindVision , ow ) { super ( ow , 'getMercenariesCollectionInfo' , ( forceReset ? ) => mindVision . getMercenariesCollectionInfo ( forceReset ) , ( info ) => ! info ?. Mercenaries ?. length || ! info . Visitors ?. length , ( info ) => info , 5 , 2000 ) ; } }