跳到主要内容

setTeamRelation 设置队伍关系

setTeamRelation

类型: MethodDeclaration

所属类: CommandFunctionList

定义位置: command.ts

描述

设置队伍关系

参数

参数名类型描述默认值
\{teamId1, teamId2, relation\}`{
teamId1: string
teamId2: string
relation: 0 | 1
}`--

返回值

类型: void

源代码

位置: 第 7534 行

protected setTeamRelation({teamId1, teamId2, relation}: {
teamId1: string
teamId2: string
relation: 0 | 1
}) {
return () => {
Team.changeRelation(teamId1, teamId2, relation)
return true
}
}

文档生成时间:2025/7/7 12:07:06