6,834
edits
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
|Syntax: '''type name description''' or '''[type name = defaultValue]'''.<br>For an optional argument, use [] around the type and name and use '''= value''' for the default value. | |Syntax: '''type name description''' or '''[type name = defaultValue]'''.<br>For an optional argument, use [] around the type and name and use '''= value''' for the default value. | ||
|arg1 = Element element The element that is about to be destroyed.<br>arg1 = [Element element = localClient.player] Example description. | |arg1 = Element element The element that is about to be destroyed.<br>arg1 = [Element element = localClient.player] Example description. | ||
|- | |||
|return | |||
|function, method | |||
|The return information, for a successful result. | |||
|Syntax: '''type description'''. | |||
|void<br>int Description goes here. | |||
|- | |||
|freturn | |||
|function, method | |||
|The return information, for a failed result. | |||
|Syntax: '''type''' or '''type value'''. | |||
|void<br>int -1 | |||
|- | |||
|note or<br>note(2-20) | |||
|all | |||
| | |||
|A note for the page. | |||
|note = Text goes here.<br>note2 = Text goes here. | |||
|- | |||
|cancel | |||
|event | |||
|true, false | |||
|Whether the event can be cancelled. | |||
|cancel = true | |||
|} | |} |
edits