mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Inventory | Change name variables
This commit is contained in:
parent
961540b045
commit
0386ced675
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user