Files
roll-room/doc/开箱玩法/Roll房/Roll房.md
2026-04-23 16:58:11 +08:00

3 lines
518 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1.查询roll房的基本信息是否存在是否开奖是否有参与者
2.查看是否有系统指定用户获取饰品调用rollSurplusOrnaments()方法,传入全部参与用户和饰品,将该饰品指定给需要指定的用户,扣除该饰品并返回剩下的饰品,并且将指定用户过滤出
3.获取没有指定获取饰品的用户再将这些没指定的用户打乱顺序再去遍历有库存饰品按顺序给随机用户每人一件保存结果更新roll房状态