Skip to content

Conversation

@charyflys
Copy link

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

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;

newTemplate(data: string): unknown;
/** 添加一个规则模板,需要是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