Package io.sockit.gameserver
Class User
java.lang.Object
io.sockit.gameserver.User
public class User extends Object
This class represents a user who can login to the server.
-
Field Summary
-
Method Summary
Modifier and Type Method Description void
changeEmailId(String newEmailId)
Changes the user's email idvoid
changeOtherId(String newOtherId)
Chanes a user's other idint
getAvtarId()
Returns the id of avatar selected the user.String
getEmailId()
Returns the email id of the userString
getName()
returns the name of the UserString
getOtherId()
Returns the other id of the userString
getPassword()
Returns the user's passwordboolean
isProfilePictureEnabled()
Determines if profile picture is enabled
-
Field Details
-
Method Details
-
changeEmailId
Changes the user's email id- Parameters:
newEmailId
- - the new email id
-
changeOtherId
Chanes a user's other id- Parameters:
newOtherId
- - the new other id
-
getOtherId
Returns the other id of the user- Returns:
- String - the other id of the user
-
getEmailId
Returns the email id of the user- Returns:
- String - the email id of the user
-
getName
returns the name of the User- Returns:
- String - the name of the User
-
getAvtarId
public int getAvtarId()Returns the id of avatar selected the user.- Returns:
- String - the avatar id of the user
-
isProfilePictureEnabled
public boolean isProfilePictureEnabled()Determines if profile picture is enabled- Returns:
- boolean - true if the profile picture is enabled for this user
-
getPassword
Returns the user's password- Returns:
- String - the user's password
-