模板: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.