You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Merge pull request #79 from Lorenzune/merge-duckie-main-2026-05-06
Add total badge count support for extended profiles
This commit is contained in:
@@ -20,6 +20,7 @@ export class UserProfileParser implements IMessageParser
|
|||||||
private _standId: number;
|
private _standId: number;
|
||||||
private _overlayId: number;
|
private _overlayId: number;
|
||||||
private _cardBackgroundId: number;
|
private _cardBackgroundId: number;
|
||||||
|
private _totalBadges: number;
|
||||||
private _nickIcon: string;
|
private _nickIcon: string;
|
||||||
private _prefixText: string;
|
private _prefixText: string;
|
||||||
private _prefixColor: string;
|
private _prefixColor: string;
|
||||||
@@ -47,6 +48,7 @@ export class UserProfileParser implements IMessageParser
|
|||||||
this._standId = 0;
|
this._standId = 0;
|
||||||
this._overlayId = 0;
|
this._overlayId = 0;
|
||||||
this._cardBackgroundId = 0;
|
this._cardBackgroundId = 0;
|
||||||
|
this._totalBadges = 0;
|
||||||
this._nickIcon = '';
|
this._nickIcon = '';
|
||||||
this._prefixText = '';
|
this._prefixText = '';
|
||||||
this._prefixColor = '';
|
this._prefixColor = '';
|
||||||
@@ -200,6 +202,11 @@ export class UserProfileParser implements IMessageParser
|
|||||||
return this._cardBackgroundId;
|
return this._cardBackgroundId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get totalBadges(): number
|
||||||
|
{
|
||||||
|
return this._totalBadges;
|
||||||
|
}
|
||||||
|
|
||||||
public get nickIcon(): string
|
public get nickIcon(): string
|
||||||
{
|
{
|
||||||
return this._nickIcon;
|
return this._nickIcon;
|
||||||
|
|||||||
Reference in New Issue
Block a user