寻宝:先创建在匹配真人的匹配
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Application, ChannelService, FrontendSession, RemoterClass, HandlerService, pinus, } from 'pinus';
|
||||
import { resResult } from '../../../pubUtils/util';
|
||||
import { STATUS } from '../../../consts';
|
||||
import { handleComBtlProgress } from '../../../services/comBattleService';
|
||||
import { handleComBtlProgress, _addToSearchingTeams } from '../../../services/comBattleService';
|
||||
import { MemComBtlTeam } from '../../../domain/battleField/ComBattleTeamField';
|
||||
import { errlogger } from '../../../util/logger';
|
||||
|
||||
@@ -34,4 +34,14 @@ export class ComBattleRemote {
|
||||
errlogger.error(`remote ${__filename} \n ${e.stack}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public async addToSearchingTeams(teamCode: string, roleId: string, sid: string) {
|
||||
try {
|
||||
await _addToSearchingTeams(teamCode, roleId, sid);
|
||||
} catch(e) {
|
||||
errlogger.error(`remote ${__filename} \n ${e.stack}`);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user