接口的使用
com.iohao.game.common.kit.OperationCode
使用OperationCode的程序包
-
com.iohao.game.widget.light.room中OperationCode的使用
修饰符和类型方法说明default OperationHandlerRoom.getOperationHandler(OperationCode operationCode) get OperationHandler by OperationCodedefault voidRoom.operation(OperationCode operationCode) execute operationdefault voidRoom.operation(OperationCode operationCode, long userId) execute operationdefault voidRoom.operation(OperationCode operationCode, long userId, Object commandMessage) execute operationdefault voidRoom.operation(OperationCode operationCode, FlowContext flowContext) execute operationdefault voidRoom.operation(OperationCode operationCode, FlowContext flowContext, Object commandMessage) execute operation -
com.iohao.game.widget.light.room.operation中OperationCode的使用
修饰符和类型方法说明default OperationHandlerOperationService.getOperationHandler(OperationCode operationCode) default OperationHandlerOperationService.getUserOperationHandler(OperationCode operationCode) default voidOperationFactory.mapping(OperationCode operationCode, OperationHandler operationHandler) 将操作码与 OperationHandler(玩法操作业务类)关联default voidOperationFactory.mappingUser(OperationCode operationCode, OperationHandler operationHandler) 玩家可操作的 OperationHandler。