Instantiates a new UserEntity.
The active SDK client instance.
The raw user data from the API.
Bans the user with the specified details.
The details of the ban, including reason, duration, and staffer information.
A promise that resolves when the ban is successfully issued.
Clears all active strikes for this user.
A promise resolving when all strikes are cleared.
Creates a new party with this user as the leader.
A promise resolving to the newly created PartyEntity.
Retrieves all active strikes for this user.
A promise resolving to an array of StrikeEntity representing the user's active strikes.
Fetches the user's statistics for the currently active season of a specific ranked system.
The system uuid (e.g., '123e4567-e89b-12d3-a456-426614174000').
A promise resolving to a StatisticsEntity.
Fetches the user's recent game history.
The maximum number of recent games to retrieve (default is 10).
A promise resolving to an array of GameEntity representing the user's recent games.
Fetches the party this user currently belongs to.
A promise resolving to the PartyEntity, or null if the user is solo.
Fetches the user's current rank for a specific ranked system based on their ELO.
The system uuid (e.g., '123e4567-e89b-12d3-a456-426614174000').
A promise resolving to a RankEntity representing the user's current rank.
Fetches the user's statistics for a specific competitive season.
The uuid of the season.
A promise resolving to a StatisticsEntity.
Issues a strike to this user.
The strike details.
A promise resolving to the newly created StrikeEntity.
Lifts an active ban from this user.
The unban details.
A promise resolving when the user is successfully unbanned.
Updates the user's linked Discord ID.
The new Discord snowflake ID.
A promise resolving to the updated UserEntity instance.
Updates the user's In-Game Name (IGN) and syncs the entity with the backend.
The new Minecraft name.
A promise resolving to the updated UserEntity instance.
Represents a user within the RBWCM ecosystem. Provides helper methods to update user data and fetch statistics directly from the entity instance.