Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

状态参数 API #43

Open
IceCream-QAQ opened this issue Nov 7, 2021 · 0 comments
Open

状态参数 API #43

IceCream-QAQ opened this issue Nov 7, 2021 · 0 comments
Labels
大饼 相对于饼而言,它获得实现的时间要稍晚。 需求 一个新的功能建议

Comments

@IceCream-QAQ
Copy link
Member

IceCream-QAQ commented Nov 7, 2021

我们可以给某些用户添加一定的状态参数。
状态参数可拥有自定义持续时间。
同一状态可以拥有数量。
在状态结束后拥有自定义回调。

对于用户,我们将提供添加状态的操作
(状态名: String, 持续时间: Long 可选 默认不过期, 数量: Int 可选 默认 1, 与其他同名状态独立: Boolean 可选 默认 false, 结束回调)
我们提供查询用户是否具有某个状态的操作。
对于移除状态操作,额外提供不触发结束回调选项。

@IceCream-QAQ IceCream-QAQ added 需求 一个新的功能建议 大饼 相对于饼而言,它获得实现的时间要稍晚。 labels Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
大饼 相对于饼而言,它获得实现的时间要稍晚。 需求 一个新的功能建议
Projects
None yet
Development

No branches or pull requests

1 participant