Uses of Interface
sfs2x.client.entities.Room
-
Packages that use Room Package Description sfs2x.client sfs2x.client.entities sfs2x.client.entities.managers sfs2x.client.requests sfs2x.client.requests.game sfs2x.client.requests.mmo -
-
Uses of Room in sfs2x.client
Methods in sfs2x.client that return Room Modifier and Type Method Description RoomISmartFox. getLastJoinedRoom()RoomSmartFox. getLastJoinedRoom()Returns the object representing the last Room joined by the client, if any.RoomSmartFox. getRoomById(int id)Retrieves a Room object from its id.RoomSmartFox. getRoomByName(java.lang.String name)Retrieves a Room object from its name.Methods in sfs2x.client that return types with arguments of type Room Modifier and Type Method Description java.util.List<Room>ISmartFox. getJoinedRooms()java.util.List<Room>SmartFox. getJoinedRooms()Returns a list of Room objects representing the Rooms currently joined by the client.java.util.List<Room>SmartFox. getRoomList()Returns a list of Room objects representing the Rooms currently "watched" by the client.java.util.List<Room>SmartFox. getRoomListFromGroup(java.lang.String groupId)Retrieves the list of Rooms which are part of the specified Room Group.Methods in sfs2x.client with parameters of type Room Modifier and Type Method Description voidSmartFox. addJoinedRoom(Room room)* API internal usage only *voidSmartFox. removeJoinedRoom(Room room)* API internal usage only *voidISmartFox. setLastJoinedRoom(Room room)voidSmartFox. setLastJoinedRoom(Room lastJoinedRoom)* API internal usage only * -
Uses of Room in sfs2x.client.entities
Classes in sfs2x.client.entities that implement Room Modifier and Type Class Description classMMORoomThe MMORoom object represents a specialized type of Room entity on the client.classSFSRoomThe SFSRoom object represents a SmartFoxServer Room entity on the client.Methods in sfs2x.client.entities that return Room Modifier and Type Method Description static RoomSFSRoom. fromSFSArray(com.smartfoxserver.v2.entities.data.ISFSArray sfsa)* API internal usage only *Methods in sfs2x.client.entities with parameters of type Room Modifier and Type Method Description static UserSFSUser. fromSFSArray(com.smartfoxserver.v2.entities.data.ISFSArray sfsa, Room room)* API internal usage only *intSFSUser. getPlayerId(Room room)intUser. getPlayerId(Room room)Returns the playerId value of this user in the passed Room.booleanSFSUser. isJoinedInRoom(Room room)booleanUser. isJoinedInRoom(Room room)Indicates whether this user joined the passed Room or not.booleanSFSUser. isPlayerInRoom(Room room)booleanUser. isPlayerInRoom(Room room)Indicates whether this user is a player (playerId greater than0) in the passed Room or not.booleanSFSUser. isSpectatorInRoom(Room room)booleanUser. isSpectatorInRoom(Room room)Indicates whether this user is a spectator (playerId lower than0) in the passed Room or not.voidRoom. merge(Room anotherRoom)* API internal usage only *voidSFSRoom. merge(Room anotherRoom)voidSFSUser. removePlayerId(Room room)* API internal usage only *voidUser. removePlayerId(Room room)* API internal usage only *voidSFSUser. setPlayerId(int id, Room room)* API internal usage only *voidUser. setPlayerId(int id, Room room)* API internal usage only * -
Uses of Room in sfs2x.client.entities.managers
Methods in sfs2x.client.entities.managers that return Room Modifier and Type Method Description RoomIRoomManager. getRoomById(int id)Retrieves a Room object from its id.RoomSFSRoomManager. getRoomById(int id)RoomIRoomManager. getRoomByName(java.lang.String name)Retrieves a Room object from its name.RoomSFSRoomManager. getRoomByName(java.lang.String name)RoomIRoomManager. replaceRoom(Room room)* API internal usage only *RoomIRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing)* API internal usage only *RoomSFSRoomManager. replaceRoom(Room room)RoomSFSRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing)Methods in sfs2x.client.entities.managers that return types with arguments of type Room Modifier and Type Method Description java.util.List<Room>IRoomManager. getJoinedRooms()Returns a list of Rooms currently joined by the client.java.util.List<Room>SFSRoomManager. getJoinedRooms()java.util.List<Room>IRoomManager. getRoomList()Returns a list of Rooms currently "known" by the client.java.util.List<Room>SFSRoomManager. getRoomList()java.util.List<Room>IRoomManager. getRoomListFromGroup(java.lang.String groupId)Retrieves the list of Rooms which are part of the specified Room Group.java.util.List<Room>SFSRoomManager. getRoomListFromGroup(java.lang.String groupId)java.util.List<Room>IRoomManager. getUserRooms(User user)Retrieves a list of Rooms joined by the specified user.java.util.List<Room>SFSRoomManager. getUserRooms(User user)Methods in sfs2x.client.entities.managers with parameters of type Room Modifier and Type Method Description voidIRoomManager. addRoom(Room room)* API internal usage only *voidIRoomManager. addRoom(Room room, boolean addGroupIfMissing)* API internal usage only *voidSFSRoomManager. addRoom(Room room)voidSFSRoomManager. addRoom(Room room, boolean addGroupIfMissing)voidIRoomManager. changeRoomCapacity(Room room, int maxUsers, int maxSpect)* API internal usage only *voidSFSRoomManager. changeRoomCapacity(Room room, int maxUsers, int maxSpect)voidIRoomManager. changeRoomName(Room room, java.lang.String newName)* API internal usage only *voidSFSRoomManager. changeRoomName(Room room, java.lang.String newName)voidIRoomManager. changeRoomPasswordState(Room room, boolean isPassProtected)* API internal usage only *voidSFSRoomManager. changeRoomPasswordState(Room room, boolean isPassProtected)voidIRoomManager. removeRoom(Room room)* API internal usage only *voidSFSRoomManager. removeRoom(Room room)RoomIRoomManager. replaceRoom(Room room)* API internal usage only *RoomIRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing)* API internal usage only *RoomSFSRoomManager. replaceRoom(Room room)RoomSFSRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing) -
Uses of Room in sfs2x.client.requests
Constructors in sfs2x.client.requests with parameters of type Room Constructor Description ChangeRoomCapacityRequest(Room room, int newMaxUsers, int newMaxSpect)Creates a new ChangeRoomCapacityRequest instance.ChangeRoomNameRequest(Room room, java.lang.String newName)Creates a new ChangeRoomNameRequest instance.ChangeRoomPasswordStateRequest(Room room, java.lang.String newPass)Creates a new ChangeRoomPasswordStateRequest instance.CreateRoomRequest(RoomSettings settings, boolean autoJoin, Room roomToLeave)Creates a new CreateRoomRequest instance.ExtensionRequest(java.lang.String extCmd, com.smartfoxserver.v2.entities.data.ISFSObject params, Room room)ExtensionRequest(java.lang.String extCmd, com.smartfoxserver.v2.entities.data.ISFSObject params, Room room, boolean useUDP)Creates a new ExtensionRequest instance.LeaveRoomRequest(Room theRoom)Creates a new LeaveRoomRequest instance.ObjectMessageRequest(com.smartfoxserver.v2.entities.data.ISFSObject obj, Room targetRoom)ObjectMessageRequest(com.smartfoxserver.v2.entities.data.ISFSObject obj, Room targetRoom, java.util.List<User> recipients)Creates a new ObjectMessageRequest instance.PlayerToSpectatorRequest(Room targetRoom)Creates a new PlayerToSpectatorRequest instance.PublicMessageRequest(java.lang.String message, com.smartfoxserver.v2.entities.data.ISFSObject params, Room targetRoom)Creates a new PublicMessageRequest instance.SetRoomVariablesRequest(java.util.List<RoomVariable> roomVariables, Room room)Creates a new SetRoomVariablesRequest instance.SpectatorToPlayerRequest(Room targetRoom)Creates a new SpectatorToPlayerRequest instance. -
Uses of Room in sfs2x.client.requests.game
Constructors in sfs2x.client.requests.game with parameters of type Room Constructor Description JoinRoomInvitationRequest(Room targetRoom, java.util.List<java.lang.String> invitedUserNames)Sends an invitation to other users/players to join a specific Room.JoinRoomInvitationRequest(Room targetRoom, java.util.List<java.lang.String> invitedUserNames, com.smartfoxserver.v2.entities.data.ISFSObject params, int expirySeconds)JoinRoomInvitationRequest(Room targetRoom, java.util.List<java.lang.String> invitedUserNames, com.smartfoxserver.v2.entities.data.ISFSObject params, int expirySeconds, boolean asSpectator)QuickGameJoinRequest(MatchExpression matchExpression, java.util.List<?> whereToSearch, Room roomToLeave)Creates a new QuickJoinGameRequest instance. -
Uses of Room in sfs2x.client.requests.mmo
Constructors in sfs2x.client.requests.mmo with parameters of type Room Constructor Description SetUserPositionRequest(Vec3D position, Room room)Creates a new SetUserPositionRequest instance.
-