Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Class that holds information about a specific user on Facepunch.
- * The actual amount of available information depends on the function that returned the structure.
- */
- public class FPUser
- {
- private FPUser() {}
- private int id;
- private String name;
- private boolean online;
- // If a user is banned, these other properties will always be false.
- private boolean banned, goldmember, moderator;
- private int joinYear;
- private String joinMonth;
- private int postCount;
- public int getId() { return id; }
- public String getName() { return name; }
- public boolean isOnline() { return online; }
- public boolean isBanned() { return banned; }
- public boolean isGoldmember() { return goldmember; }
- public boolean isModerator() { return moderator; }
- public int getJoinYear() { return joinYear; }
- public String getJoinMonth() { return joinMonth; }
- public int getPostCount() { return postCount; }
- }
Add Comment
Please, Sign In to add comment