类 InputCommandCreate
java.lang.Object
com.iohao.game.external.client.InputCommandCreate
模块输入命令域
- 作者:
- 渔民小镇
- 日期:
- 2023-07-09
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getInputCommand(int subCmd) nextParamInt(String paramTips) nextParamLong(String paramTips) nextParamString(String paramTips) ofCmdInfo(int subCmd) ofInputCommand(int subCmd) 创建模拟命令ofInputCommandInt(int subCmd) ofInputCommandLong(int subCmd) 创建模拟命令,在使用命令时需要在控制台输入 long 类型的请求参数ofInputCommandString(int subCmd) ofInputCommandUserId(int subCmd) 创建模拟命令,在使用命令时需要在控制台输入 long 类型的 userId 请求参数
-
构造器详细资料
-
InputCommandCreate
public InputCommandCreate()
-
-
方法详细资料
-
ofCmdInfo
-
getInputCommand
-
ofInputCommand
创建模拟命令- 参数:
subCmd- 子路由- 返回:
- InputCommand
-
ofInputCommandLong
创建模拟命令,在使用命令时需要在控制台输入 long 类型的请求参数- 参数:
subCmd- 子路由- 返回:
- InputCommand
-
ofInputCommandUserId
创建模拟命令,在使用命令时需要在控制台输入 long 类型的 userId 请求参数- 参数:
subCmd- 子路由- 返回:
- InputCommand
-
nextParamLong
-
ofInputCommandInt
-
nextParamInt
-
ofInputCommandString
-
nextParamString
-