接口的使用
com.iohao.game.widget.light.room.operation.PlayerOperationContext
使用PlayerOperationContext的程序包
-
com.iohao.game.widget.light.room.operation中PlayerOperationContext的使用
修饰符和类型方法说明voidOperationHandler.process(PlayerOperationContext context) 验证通过后, 执行处理voidSimpleOperationHandler.process(PlayerOperationContext context) default booleanOperationHandler.processVerify(PlayerOperationContext context) 检测验证,验证用户操作步骤是否合法,通过返回值来决定是否执行OperationHandler.process(PlayerOperationContext)方法。default voidOperationHandler.verify(PlayerOperationContext context) 已过时。
OperationHandler.processVerify(PlayerOperationContext)