JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Package
com.ericlam.mc.eld.annotations
Annotation Interface CommandArg
@Target
(
FIELD
)
@Retention
(
RUNTIME
)
public @interface
CommandArg
指令參數
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
int
order
參數順序
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
identifier
參數標識
String
[]
labels
自定義參數顯示
boolean
optional
可填參數
Element Details
order
int
order
參數順序
Returns:
參數順序
identifier
String
identifier
參數標識
Returns:
參數標識
Default:
"default"
labels
String
[]
labels
自定義參數顯示
Returns:
自定義參數顯示
Default:
{}
optional
boolean
optional
可填參數
Returns:
是否為可填參數
Default:
false