Skip to content

Latest commit

 

History

History
75 lines (38 loc) · 1008 Bytes

File metadata and controls

75 lines (38 loc) · 1008 Bytes

sapi-pro


sapi-pro / ParamObject

Interface: ParamObject

Extended by

Properties

branches?

optional branches?: paramBranches[]

参数分支


default?

optional default?: parsedTypes

默认值


enums?

optional enums?: string[]

枚举值


explain?

optional explain?: string

参数解释


name

name: string

参数名


optional?

optional optional?: boolean

是否可选,默认否


type

type: "string" | "boolean" | "float" | "position" | "target" | "flag" | "enum" | "int" | "itemType" | "blockType" | "player" | "entity" | "entityType"

参数类型


validator?

optional validator?: ParamValidator

参数验证器