Uses of Class
io.sockit.gameserver.User
| Package | Description |
|---|---|
| io.sockit.gameserver |
This is the core package for the Sockit Multiplayer Game (Server) Engine and provides the classes necessary to implement the server side of a multiplayer turn based game.
|
-
Uses of User in io.sockit.gameserver
Methods in io.sockit.gameserver that return User Modifier and Type Method Description UserSession. getUser()Returns the user instance associated with this sessionMethods in io.sockit.gameserver with parameters of type User Modifier and Type Method Description RoomGame. createPrivateRoom(User user, int totalNoOfSeats, int turnDurationInSecs, JsonObject additionalRoomConfig)Creates a private room for a user if one does not exist.voidGame. destroyPrivateRoom(User user)This method destroys the private room of the user if one existsRoomGame. getPrivateRoom(User user)The method returns a the private room of the user if one existsbooleanGame. hasPrivateRoom(User user)Checks if user has a private roomvoidGame. reconfigurePrivateRoom(User user, int totalNoOfSeats, int turnDurationInSecs, JsonObject additionalRoomConfig)Reconfigures a private room for a user if one exists.