Inventory | Change name variables

This commit is contained in:
object 2023-11-25 19:16:23 +01:00
parent 961540b045
commit 0386ced675
2 changed files with 6 additions and 6 deletions

View File

@ -4,9 +4,9 @@ export class GetIsBadgeRequestFulfilledComposer implements IMessageComposer<Cons
{
private _data: ConstructorParameters<typeof GetIsBadgeRequestFulfilledComposer>;
constructor(k: string)
constructor(requestCode: string)
{
this._data = [ k ];
this._data = [ requestCode ];
}
dispose(): void

View File

@ -5,12 +5,12 @@ export class BadgeAndPointLimit
private _badgeId: string;
private _limit: number;
constructor(k: string, _arg_2: IMessageDataWrapper)
constructor(badgeId: string, limit: IMessageDataWrapper)
{
if(!_arg_2) throw new Error('invalid_parser');
if(!limit) throw new Error('invalid_parser');
this._badgeId = (('ACH_' + k) + _arg_2.readInt());
this._limit = _arg_2.readInt();
this._badgeId = (('ACH_' + badgeId) + limit.readInt());
this._limit = limit.readInt();
}
public get badgeId(): string