diff --git a/packages/communication/src/messages/parser/user/data/UserProfileParser.ts b/packages/communication/src/messages/parser/user/data/UserProfileParser.ts index 4c24ab2..09c3fb4 100644 --- a/packages/communication/src/messages/parser/user/data/UserProfileParser.ts +++ b/packages/communication/src/messages/parser/user/data/UserProfileParser.ts @@ -20,6 +20,7 @@ export class UserProfileParser implements IMessageParser private _standId: number; private _overlayId: number; private _cardBackgroundId: number; + private _totalBadges: number; private _nickIcon: string; private _prefixText: string; private _prefixColor: string; @@ -47,6 +48,7 @@ export class UserProfileParser implements IMessageParser this._standId = 0; this._overlayId = 0; this._cardBackgroundId = 0; + this._totalBadges = 0; this._nickIcon = ''; this._prefixText = ''; this._prefixColor = ''; @@ -200,6 +202,11 @@ export class UserProfileParser implements IMessageParser return this._cardBackgroundId; } + public get totalBadges(): number + { + return this._totalBadges; + } + public get nickIcon(): string { return this._nickIcon;