索引
所有程序包|所有类和接口|序列化表格
A
- addPlayer(Player) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
添加玩家到房间内
- addPlayer(Room, Player) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
添加玩家到房间里,并让 userId 与 roomId 关联
- addRoom(Room) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
添加房间
B
- broadcastRange(CmdInfo, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast data
- broadcastRange(CmdInfo, Object, long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast data, excluding specified players.
- broadcastRangeEmpty(CmdInfo) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast
- broadcastRangeEmpty(CmdInfo, long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast, excluding specified players.
- broadcastToUser(CmdInfo, long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast data to a specific user.
- broadcastToUser(CmdInfo, long, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Broadcast data to a specific user.
C
- com.iohao.game.widget.light.room - 程序包 com.iohao.game.widget.light.room
-
扩展模块 - 桌游类、房间类游戏,light-game-room + 领域事件 + 内置 Kit = 轻松搞定桌游类游戏
- com.iohao.game.widget.light.room.domain - 程序包 com.iohao.game.widget.light.room.domain
-
扩展模块 - 桌游类、房间类游戏 - 规避并发的领域事件。
- com.iohao.game.widget.light.room.flow - 程序包 com.iohao.game.widget.light.room.flow
-
扩展模块 - 桌游类、房间类游戏 - 子游戏自定义游戏流程相关的扩展。
- com.iohao.game.widget.light.room.operation - 程序包 com.iohao.game.widget.light.room.operation
-
扩展模块 - 桌游类、房间类游戏 - 房间内的玩法操作扩展。
- countPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
统计房间内的玩家数量,包含机器人
- countRealPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
统计房间内真实玩家的数量
- countRobot() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
统计房间内 Robot 的数量
- createPlayer(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.PlayerCreator
-
创建房间内的玩家
- createRoom(RoomCreateContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreator
-
创建房间, 子类只需要关心房间配置和规则信息
D
- dissolveRoom(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFixedService
-
已过时。non
E
- enterRoom(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFixedService
-
进入房间 (重连)
- equals(Object) - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
-
指示某个其他对象是否“等于”此对象。
- execute() - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
- execute() - 类中的方法 com.iohao.game.widget.light.room.operation.OperationContext
-
执行玩家的玩法操作,包括验证与处理。
- executeDelayTask(Runnable, long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Delayed execution of tasks, this method is thread-safe
- executeTask(Runnable) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Executed in domain events, this method is thread-safe
- existUser(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
玩家是否存在房间内
F
- flowContext() - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
-
返回
flowContext记录组件的值。 - forEach(BiConsumer<Long, Player>) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
forEach players
G
- GameFixedService - com.iohao.game.widget.light.room.flow中的接口
-
游戏流程 - 相对固定的流程。
- GameFlowContext - com.iohao.game.widget.light.room.flow中的接口
-
上下文 - 游戏流程上下文。
- GameFlowEo - com.iohao.game.widget.light.room.domain中的记录类
-
GameFlowEo,可规避 GameFlowService 中的并发问题
- GameFlowEo(FlowContext, Runnable) - 记录类的构造器 com.iohao.game.widget.light.room.domain.GameFlowEo
-
创建
GameFlowEo记录类的实例。 - GameFlowEventHandler - com.iohao.game.widget.light.room.domain中的类
-
EventHandler,消费 GameFlowEo
- GameFlowEventHandler() - 类的构造器 com.iohao.game.widget.light.room.domain.GameFlowEventHandler
- GameFlowService - com.iohao.game.widget.light.room.flow中的接口
-
游戏流程 - 相关扩展接口的聚合。
- GameRoomService - com.iohao.game.widget.light.room中的接口
-
游戏房间相关的聚合扩展接口。
- GameStartService - com.iohao.game.widget.light.room.flow中的接口
-
游戏流程 - 开始游戏相关。
- getAggregationContext() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
get 通讯上下文
- getAggregationContext() - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
get 通讯上下文
- getCommand() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
get 操作数据。
- getCreatorUserId() - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
get 房间创建者
- getCreatorUserId() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
房间创建者的 userId
- getEmptySeatNo() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
得到一个空位置
- getEmptySeatNo(Room) - 类中的方法 com.iohao.game.widget.light.room.RoomKit
-
从房间内获取一个空位置
- getFlowContext() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get FlowContext
- getFlowContext() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
当前玩家的 FlowContext
- getGameId() - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
get 游戏 id
- getOperationFactory() - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationService
- getOperationHandler(int) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
获取 OperationHandler(玩法操作业务类)
- getOperationHandler(int) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationService
-
获取 OperationHandler(玩法操作业务类)
- getOperationHandler(OperationCode) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationService
- getOperationHandler(OperationCode) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
get OperationHandler by OperationCode
- getOperationService() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
getOperationService
- getOptions() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
获取动态成员属性
- getOptions() - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
获取动态成员属性
- getPlayer() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get 当前操作的玩家
- getPlayer() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
get 当前操作的玩家
- getPlayerById(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
通过 userId 查找玩家
- getPlayerBySeat(int) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
通过 seat 查找玩家
- getPlayerMap() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
玩家,包含 Robot
- getPlayerSeatMap() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
玩家位置
- getRealPlayerMap() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
所有真实的玩家
- getRobotMap() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
所有 Robot
- getRoom() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get room
- getRoom() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
get 房间
- getRoom(long) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
通过 roomId 查找房间
- getRoomByUserId(long) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
通过 userId 查找房间
- getRoomCreateContext() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
get 创建房间信息(及玩法规则)
- getRoomId() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get roomId
- getRoomId() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
get room id
- getRoomId() - 接口中的方法 com.iohao.game.widget.light.room.Player
-
get RoomId
- getRoomId() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
get roomId
- getRoomMap() - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
房间 map
- getRoomStatusEnum() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
已过时。Developers should define room states themselves.
- getSeat() - 接口中的方法 com.iohao.game.widget.light.room.Player
-
get 用户所在位置
- getSpaceSize() - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
get 房间空间大小
- getSpaceSize() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
get 房间空间大小
- getStartGameMinSpaceSize() - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
get 开始游戏需要的最小人数
- getUserId() - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get userId
- getUserId() - 接口中的方法 com.iohao.game.widget.light.room.operation.PlayerOperationContext
-
get 当前操作玩家的 userId
- getUserId() - 接口中的方法 com.iohao.game.widget.light.room.Player
-
get userId
- getUserOperationHandler(int) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
获取玩家可操作的 OperationHandler(玩法操作业务类)
- getUserOperationHandler(int) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationService
-
获取玩家可操作的 OperationHandler(玩法操作业务类)
- getUserOperationHandler(OperationCode) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationService
- getUserRoomMap() - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
玩家对应的房间 map
H
- hashCode() - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
-
返回此对象的哈希代码值。
- hasSeat() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
是否还有空位
I
- ifPlayerExist(long, Consumer<T>) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
如果玩家在房间内,就执行给定的操作,否则不执行任何操作。
- ifPlayerNotExist(long, Runnable) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
如果玩家不在房间内,就执行给定的操作,否则不执行任何操作。
- isCreatorUserId(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
当前 userId 是否是房间创建者
- isEmptyPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
房间内是否没有玩家,包含 Robot
- isEmptyRealPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
房间内是否没有真实的玩家
- isEmptyRobot() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
房间内是否没有 Robot
- isReady() - 接口中的方法 com.iohao.game.widget.light.room.Player
-
是否已经准备
- isReadyPlayers() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
玩家是否都准备了
- isRealPlayer(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
是否真实玩家
- isRobot() - 接口中的方法 com.iohao.game.widget.light.room.Player
-
是否 Robot
- isRobot(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
是否 Robot
- isStatus(RoomStatusEnum) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
已过时。Developers should define room states themselves.
L
- listPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
玩家列表: 所有玩家,包含 Robot
- listPlayerId() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
userId Collection
- listRealPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
真实玩家列表: 所有的真实玩家(不包含 Robot)
- listRealPlayerId() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Robot UserId Collection
- listRobot() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
RobotList
- listRobotPlayerId() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
Robot UserId Collection
- listRoom() - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
得到房间列表
M
- mapping(int, OperationHandler) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
将操作码与 OperationHandler(玩法操作业务类)关联
- mapping(OperationCode, OperationHandler) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
将操作码与 OperationHandler(玩法操作业务类)关联
- mappingUser(int, OperationHandler) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
玩家可操作的 OperationHandler。
- mappingUser(OperationCode, OperationHandler) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
玩家可操作的 OperationHandler。
- me() - 类中的静态方法 com.iohao.game.widget.light.room.operation.SimpleOperationHandler
N
- none - 枚举类 中的枚举常量 com.iohao.game.widget.light.room.RoomStatusEnum
-
已过时。其他(如结算之类的)
O
- of() - 接口中的静态方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
创建一个 RoomCreateContext 对象,使用默认实现
- of() - 接口中的静态方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
创建 OperationFactory 对象(框架提供的内置实现)
- of() - 接口中的静态方法 com.iohao.game.widget.light.room.RoomService
-
创建一个 RoomService 对象实例(框架内置的默认实现)
- of(long) - 接口中的静态方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
创建一个 RoomCreateContext 对象,使用默认实现
- of(FlowContext) - 接口中的静态方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
创建一个 RoomCreateContext 对象,使用默认实现
- of(Room) - 接口中的静态方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
创建 GameFlowContext(框架内置的默认实现)
- of(Room, long) - 接口中的静态方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
创建 GameFlowContext(框架内置的默认实现)
- of(Room, FlowContext) - 接口中的静态方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
创建 GameFlowContext(框架内置的默认实现)
- of(Room, OperationHandler) - 类中的静态方法 com.iohao.game.widget.light.room.operation.OperationContext
-
创建 OperationContext 对象
- ofEmptyRangeBroadcast() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
创建一个 RangeBroadcast
- ofEmptyRangeBroadcast() - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
创建一个 RangeBroadcast
- ofEmptyRangeBroadcast(CommunicationAggregationContext) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
通过 CommunicationAggregationContext 创建一个 RangeBroadcast
- ofEmptyRangeBroadcast(CommunicationAggregationContext) - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
通过 CommunicationAggregationContext 创建一个 RangeBroadcast
- ofOperationContext(OperationHandler) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
create OperationContext
- ofRangeBroadcast() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
创建一个 RangeBroadcast,默认会添加上当前房间内的所有玩家
- ofRangeBroadcast() - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
创建一个 RangeBroadcast,默认会添加上当前房间内的所有玩家
- ofRangeBroadcast(CommunicationAggregationContext) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
通过 CommunicationAggregationContext 创建一个 RangeBroadcast,默认会添加上当前房间内的所有玩家
- ofRangeBroadcast(CommunicationAggregationContext) - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
通过 CommunicationAggregationContext 创建一个 RangeBroadcast,默认会添加上当前房间内的所有玩家
- onEvent(GameFlowEo, boolean) - 类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEventHandler
- onEvent(OperationContext, boolean) - 类中的方法 com.iohao.game.widget.light.room.domain.OperationContextEventHandler
- operation(OperationCode) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationCode, long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationCode, long, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationCode, FlowContext) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationCode, FlowContext, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationHandler, long, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- operation(OperationHandler, FlowContext, Object) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
execute operation
- OperationContext - com.iohao.game.widget.light.room.operation中的类
-
玩家玩法操作上下文
- OperationContextEventHandler - com.iohao.game.widget.light.room.domain中的类
-
玩法操作上下文领域事件,用于规避并发
- OperationContextEventHandler() - 类的构造器 com.iohao.game.widget.light.room.domain.OperationContextEventHandler
- OperationFactory - com.iohao.game.widget.light.room.operation中的接口
-
玩法操作工厂
- OperationHandler - com.iohao.game.widget.light.room.operation中的接口
-
玩法操作业务接口,将验证与操作分离。
- OperationService - com.iohao.game.widget.light.room.operation中的接口
-
玩法操作相关服务。
- option(AttrOption<T>) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
get 动态属性,获取选项值,如果选项不存在,返回默认值。
- option(AttrOption<T>) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
get 动态属性,获取选项值,如果选项不存在,返回默认值。
- option(AttrOption<T>, T) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFlowContext
-
设置动态属性。
- option(AttrOption<T>, T) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
设置动态属性。
- optionalOperationHandler(int) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationFactory
-
通过操作码得到 OperationHandler Optional
- optionalRoom(long) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
通过 roomId 查找房间 Optional
- optionalRoomByUserId(long) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
通过 userId 查找房间 Optional
P
- Player - com.iohao.game.widget.light.room中的接口
-
玩家接口
- PlayerCreator - com.iohao.game.widget.light.room.flow中的接口
- PlayerOperationContext - com.iohao.game.widget.light.room.operation中的接口
-
上下文 - 玩家玩法操作上下文接口
- process(PlayerOperationContext) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationHandler
-
验证通过后, 执行处理
- process(PlayerOperationContext) - 类中的方法 com.iohao.game.widget.light.room.operation.SimpleOperationHandler
- processVerify(PlayerOperationContext) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationHandler
-
检测验证,验证用户操作步骤是否合法,通过返回值来决定是否执行
OperationHandler.process(PlayerOperationContext)方法。
Q
- quitRoom(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFixedService
-
玩家退出房间
R
- ready(boolean, GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameFixedService
-
玩家准备
- removePlayer(Player) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
移除玩家
- removePlayer(Room, long) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
将玩家从房间内内移除 并删除 userId 与 roomId 的关联
- removePlayer(Room, Player) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
将玩家从房间内内移除 并删除 userId 与 roomId 的关联
- removeRoom(Room) - 接口中的方法 com.iohao.game.widget.light.room.RoomService
-
删除房间
- Room - com.iohao.game.widget.light.room中的接口
-
房间接口
- RoomCreateContext - com.iohao.game.widget.light.room.flow中的接口
-
上下文 - 创建房间信息(及玩法规则)
- RoomCreator - com.iohao.game.widget.light.room.flow中的接口
- RoomKit - com.iohao.game.widget.light.room中的类
-
房间相关工具类
- RoomKit() - 类的构造器 com.iohao.game.widget.light.room.RoomKit
- RoomService - com.iohao.game.widget.light.room中的接口
-
房间管理相关的扩展接口
- RoomStatusEnum - com.iohao.game.widget.light.room中的枚举类
-
已过时。Developers should define room states themselves.
- runnable() - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
-
返回
runnable记录组件的值。
S
- setAggregationContext(CommunicationAggregationContext) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
设置通讯上下文
- setAggregationContext(CommunicationAggregationContext) - 类中的方法 com.iohao.game.widget.light.room.SimpleRoom
-
设置通讯上下文
- setGameId(long) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
setGameId
- setOperationService(OperationService) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
setOperationService
- setReady(boolean) - 接口中的方法 com.iohao.game.widget.light.room.Player
-
set 准备状态
- setRoomCreateContext(RoomCreateContext) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
设置创建房间信息(及玩法规则)
- setRoomId(long) - 接口中的方法 com.iohao.game.widget.light.room.Player
-
set RoomId
- setRoomId(long) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
set roomId
- setRoomStatusEnum(RoomStatusEnum) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
已过时。Developers should define room states themselves.
- setSeat(int) - 接口中的方法 com.iohao.game.widget.light.room.Player
-
set 用户所在位置
- setSpaceSize(int) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
设置房间空间大小
- setSpaceSize(int) - 接口中的方法 com.iohao.game.widget.light.room.Room
-
set 房间空间大小
- setSpaceSize(int, int) - 接口中的方法 com.iohao.game.widget.light.room.flow.RoomCreateContext
-
设置房间空间大小
- setUserId(long) - 接口中的方法 com.iohao.game.widget.light.room.Player
-
set userId
- SimpleOperationHandler - com.iohao.game.widget.light.room.operation中的类
-
执行任务
Runnable,任务必须放到中。引用无效
OperationContext#setCommand(Object) - SimplePlayer - com.iohao.game.widget.light.room中的类
-
玩家(内置实现)
- SimplePlayer() - 类的构造器 com.iohao.game.widget.light.room.SimplePlayer
- SimpleRoom - com.iohao.game.widget.light.room中的类
-
房间(内置实现)
- SimpleRoom() - 类的构造器 com.iohao.game.widget.light.room.SimpleRoom
- start - 枚举类 中的枚举常量 com.iohao.game.widget.light.room.RoomStatusEnum
-
已过时。开始
- startGame(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameStartService
-
执行游戏开始,内部会调用
startGameVerify(GameFlowContext)和startGameVerifyAfter(GameFlowContext)方法。 - startGameVerify(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameStartService
-
游戏开始前的逻辑校验
- startGameVerifyAfter(GameFlowContext) - 接口中的方法 com.iohao.game.widget.light.room.flow.GameStartService
-
游戏开始,会在
startGameVerify(GameFlowContext)校验成功后执行。 - streamPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
steam players
- streamRealPlayer() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
steam real players (真实的玩家)
- streamRobot() - 接口中的方法 com.iohao.game.widget.light.room.Room
-
steam players
T
- toString() - 记录类中的方法 com.iohao.game.widget.light.room.domain.GameFlowEo
-
返回此记录类的字符串表示形式。
V
- valueOf(String) - 枚举类中的静态方法 com.iohao.game.widget.light.room.RoomStatusEnum
-
已过时。返回带有指定名称的该类的枚举常量。
- values() - 枚举类中的静态方法 com.iohao.game.widget.light.room.RoomStatusEnum
-
已过时。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- verify(PlayerOperationContext) - 接口中的方法 com.iohao.game.widget.light.room.operation.OperationHandler
W
- wait - 枚举类 中的枚举常量 com.iohao.game.widget.light.room.RoomStatusEnum
-
已过时。等待
所有程序包|所有类和接口|序列化表格