寻宝:将查询匹配和删除匹配信息分离;添加部分注释

This commit is contained in:
liangtongchuan
2021-02-18 16:17:46 +08:00
parent 3b4e906f37
commit 847a3b6289
2 changed files with 55 additions and 16 deletions

View File

@@ -140,6 +140,8 @@ export class ComBattleHandler {
topFiveCe = reduceCe(topFiveCe);
if (topFiveCe < ceLimit) continue;
rmRoleFromQueue(roleId, sid, COM_BTL_QUALITY, null); // 匹配成功后删除redis中该用户的匹配记录
let isFrd = await getFrd(roleId, goodData.quality);
const st = new RoleStatus(roleId, roleName, false, isFrd, headHid, sHid, topFiveCe, lv);
@@ -663,7 +665,7 @@ export class ComBattleHandler {
}
/**
* 客户端给服务器的战斗结束通知-deprecated
* ! 客户端给服务器的战斗结束通知-deprecated
* @param msg
* @param session
*/