✨ feat:将魂碎片出售

This commit is contained in:
zhangxk
2023-07-19 14:48:26 +08:00
committed by luying
parent c7bd174dce
commit 523eaad05e
6 changed files with 251 additions and 50 deletions
+8
View File
@@ -1980,6 +1980,14 @@ export function checkRouteParam(route: string, msg: any) {
if (!checkNaturalNumbers(msg.goodsId, msg.count)) return false;
break;
}
case "role.shopHandler.recycleSoulFast":
{
if (!checkNaturalArray(msg.recycleSoulFastPara)) return false;
for (let { hid, goodsId, count } of msg.recycleSoulFastPara) {
if (!checkNaturalNumbers(hid, goodsId, count)) return false;
}
break;
}
case "role.taskHandler.receiveTask":
{
if (!checkNaturalNumbers(msg.type, msg.id)) return false;