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

以1.4.6为基准,补全缺少的所有api #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charyflys
Copy link

增加ban模块以及其下addBan,addTrust,remove,getList,getUser方法
补充ext模块下registerTask方法以及registerConfig系列方法
seal下新增11个方法

@@ -364,9 +636,9 @@ declare namespace seal {

export const gameSystem: {
/** 添加一个规则模板,需要是JSON文本格式 */
newTemplate(data: string);
newTemplate(data: string): unknown;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
newTemplate(data: string): unknown;
newTemplate(data: string): void;

/** 添加一个规则模板,需要是YAML文本格式 */
newTemplateByYaml(data: string);
newTemplateByYaml(data: string): unknown;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
newTemplateByYaml(data: string): unknown;
newTemplateByYaml(data: string): void;

@Szzrain Szzrain mentioned this pull request Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants