import { MatchController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";
Constructors
new
MatchController(logger: ILogger,
saveServer: SaveServer,
timeUtil: TimeUtil,
randomUtil: RandomUtil,
hashUtil: HashUtil,
profileHelper: ProfileHelper,
matchLocationService: MatchLocationService,
traderHelper: TraderHelper,
botLootCacheService: BotLootCacheService,
configServer: ConfigServer,
profileSnapshotService: ProfileSnapshotService,
botGenerationCacheService: BotGenerationCacheService,
mailSendService: MailSendService,
lootGenerator: LootGenerator,
applicationContext: ApplicationContext,
Properties
protected
applicationContext: ApplicationContextprotected
botGenerationCacheService: BotGenerationCacheServiceprotected
botLootCacheService: BotLootCacheServiceprotected
configServer: ConfigServerprotected
hashUtil: HashUtilprotected
inRaidConfig: IInRaidConfigprotected
logger: ILoggerprotected
lootGenerator: LootGeneratorprotected
mailSendService: MailSendServiceprotected
matchConfig: IMatchConfigprotected
matchLocationService: MatchLocationServiceprotected
pmcConfig: IPmcConfigprotected
profileHelper: ProfileHelperprotected
profileSnapshotService: ProfileSnapshotServiceprotected
randomUtil: RandomUtilprotected
saveServer: SaveServerprotected
timeUtil: TimeUtilprotected
traderConfig: ITraderConfigprotected
traderHelper: TraderHelperMethods
protected
convertDifficultyDropdownIntoBotDifficulty(botDifficulty: string): stringConvert a difficulty value from pre-raid screen to a bot difficulty
protected
extractWasViaCar(extractName: string): booleanWas extract by car
protected
extractWasViaCoop(extractName: string): booleanDid player take a COOP extract
protected
getFenceStandingAfterExtract(): numberGet the fence rep gain from using a car or coop extract
protected
handleCarExtract(): voidHandle when a player extracts using a car - Add rep to fence
protected
handleCoopExtract(): voidHandle when a player extracts using a coop extract - add rep to fence
protected
sendCoopTakenFenceMessage(sessionId: string): voiddeleteGroup(info: any): void
Handle client/match/group/delete
endOfflineRaid(info: IEndOfflineRaidRequestData, sessionId: string): void
Handle client/match/offline/end
getEnabled(): boolean
Handle client/match/group/status
joinMatch(info: IJoinMatchRequestData, sessionId: string): IJoinMatchResult
Handle match/group/start_game
startOfflineRaid(request: IGetRaidConfigurationRequestData, sessionID: string): void
Handle /client/raid/configuration