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 Room
ISmartFox. getLastJoinedRoom()
Room
SmartFox. getLastJoinedRoom()
Returns the object representing the last Room joined by the client, if any.Room
SmartFox. getRoomById(int id)
Retrieves a Room object from its id.Room
SmartFox. 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 void
SmartFox. addJoinedRoom(Room room)
* API internal usage only *void
SmartFox. removeJoinedRoom(Room room)
* API internal usage only *void
ISmartFox. setLastJoinedRoom(Room room)
void
SmartFox. 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 class
MMORoom
The MMORoom object represents a specialized type of Room entity on the client.class
SFSRoom
The SFSRoom object represents a SmartFoxServer Room entity on the client.Methods in sfs2x.client.entities that return Room Modifier and Type Method Description static Room
SFSRoom. 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 User
SFSUser. fromSFSArray(com.smartfoxserver.v2.entities.data.ISFSArray sfsa, Room room)
* API internal usage only *int
SFSUser. getPlayerId(Room room)
int
User. getPlayerId(Room room)
Returns the playerId value of this user in the passed Room.boolean
SFSUser. isJoinedInRoom(Room room)
boolean
User. isJoinedInRoom(Room room)
Indicates whether this user joined the passed Room or not.boolean
SFSUser. isPlayerInRoom(Room room)
boolean
User. isPlayerInRoom(Room room)
Indicates whether this user is a player (playerId greater than0
) in the passed Room or not.boolean
SFSUser. isSpectatorInRoom(Room room)
boolean
User. isSpectatorInRoom(Room room)
Indicates whether this user is a spectator (playerId lower than0
) in the passed Room or not.void
Room. merge(Room anotherRoom)
* API internal usage only *void
SFSRoom. merge(Room anotherRoom)
void
SFSUser. removePlayerId(Room room)
* API internal usage only *void
User. removePlayerId(Room room)
* API internal usage only *void
SFSUser. setPlayerId(int id, Room room)
* API internal usage only *void
User. 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 Room
IRoomManager. getRoomById(int id)
Retrieves a Room object from its id.Room
SFSRoomManager. getRoomById(int id)
Room
IRoomManager. getRoomByName(java.lang.String name)
Retrieves a Room object from its name.Room
SFSRoomManager. getRoomByName(java.lang.String name)
Room
IRoomManager. replaceRoom(Room room)
* API internal usage only *Room
IRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing)
* API internal usage only *Room
SFSRoomManager. replaceRoom(Room room)
Room
SFSRoomManager. 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 void
IRoomManager. addRoom(Room room)
* API internal usage only *void
IRoomManager. addRoom(Room room, boolean addGroupIfMissing)
* API internal usage only *void
SFSRoomManager. addRoom(Room room)
void
SFSRoomManager. addRoom(Room room, boolean addGroupIfMissing)
void
IRoomManager. changeRoomCapacity(Room room, int maxUsers, int maxSpect)
* API internal usage only *void
SFSRoomManager. changeRoomCapacity(Room room, int maxUsers, int maxSpect)
void
IRoomManager. changeRoomName(Room room, java.lang.String newName)
* API internal usage only *void
SFSRoomManager. changeRoomName(Room room, java.lang.String newName)
void
IRoomManager. changeRoomPasswordState(Room room, boolean isPassProtected)
* API internal usage only *void
SFSRoomManager. changeRoomPasswordState(Room room, boolean isPassProtected)
void
IRoomManager. removeRoom(Room room)
* API internal usage only *void
SFSRoomManager. removeRoom(Room room)
Room
IRoomManager. replaceRoom(Room room)
* API internal usage only *Room
IRoomManager. replaceRoom(Room room, boolean addToGroupIfMissing)
* API internal usage only *Room
SFSRoomManager. replaceRoom(Room room)
Room
SFSRoomManager. 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.
-