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 User
Session. getUser()
Returns the user instance associated with this sessionMethods in io.sockit.gameserver with parameters of type User Modifier and Type Method Description Room
Game. createPrivateRoom(User user, int totalNoOfSeats, int turnDurationInSecs, JsonObject additionalRoomConfig)
Creates a private room for a user if one does not exist.void
Game. destroyPrivateRoom(User user)
This method destroys the private room of the user if one existsRoom
Game. getPrivateRoom(User user)
The method returns a the private room of the user if one existsboolean
Game. hasPrivateRoom(User user)
Checks if user has a private roomvoid
Game. reconfigurePrivateRoom(User user, int totalNoOfSeats, int turnDurationInSecs, JsonObject additionalRoomConfig)
Reconfigures a private room for a user if one exists.