模板:PublicMethod

出自gamedev
跳至導覽 跳至搜尋

Template output:

()

Description[編輯]

Template for creating method representations.

Examples[編輯]

Input {{PublicMethod | helloWorld | desc=A test method. | params=param1, param2|paramlist=

{{MethodParam | param1 | type=int | desc=First parameter}}
{{MethodParam | param2 | type=String|desc=Second parameter}} | ret=An integer value. | rettype=int }}

Output
helloWorld (param1, param2)
A test method. Template:MethodParam

Template:MethodParam

returns: (int) An integer value.