Package com.reign.api.kat.models
Class ApiMemberData.LevelData
java.lang.Object
com.reign.api.kat.models.ApiMemberData.LevelData
- Enclosing class:
- ApiMemberData
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintaddExperience(String messageContents, float multiplier) Add experience to the user.intlevel()Calculates the level boundary of the current xp
- 
Field Details- 
xppublic int xp
 
- 
- 
Constructor Details- 
LevelDatapublic LevelData()
 
- 
- 
Method Details- 
addExperienceAdd experience to the user. We calculate experience based on the length of the User's message.- Parameters:
- messageContents- String contents of the message.
- Returns:
- Integer - Amount of xp added.
 
- 
levelpublic int level()Calculates the level boundary of the current xp- Returns:
- Current level of the xp.
 
 
-