mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Changes
This commit is contained in:
parent
062df1b752
commit
ee3f59cda8
@ -16,12 +16,12 @@ export class NewUserExperienceGift
|
|||||||
|
|
||||||
this._productOfferList = [];
|
this._productOfferList = [];
|
||||||
const count:number = wrapper.readInt();
|
const count:number = wrapper.readInt();
|
||||||
let totalOffers:number;
|
let index = 0;
|
||||||
|
|
||||||
while(totalOffers < count)
|
while(index < count)
|
||||||
{
|
{
|
||||||
this._productOfferList.push(new ProductOffer(wrapper));
|
this._productOfferList.push(new ProductOffer(wrapper));
|
||||||
totalOffers++;
|
index++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,13 +13,13 @@ export class NewUserExperienceGiftOptions
|
|||||||
this._stepIndex = wrapper.readInt();
|
this._stepIndex = wrapper.readInt();
|
||||||
this._options = [];
|
this._options = [];
|
||||||
|
|
||||||
const _local_2:number = wrapper.readInt();
|
const count:number = wrapper.readInt();
|
||||||
let _local_3:number;
|
let index = 0;
|
||||||
|
|
||||||
while(_local_3 < _local_2)
|
while(index < count)
|
||||||
{
|
{
|
||||||
this._options.push(new NewUserExperienceGift(wrapper));
|
this._options.push(new NewUserExperienceGift(wrapper));
|
||||||
_local_3++;
|
index++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,14 +14,14 @@ export class NewUserExperienceGiftOfferMessageParser implements IMessageParser
|
|||||||
{
|
{
|
||||||
if(!wrapper) return false;
|
if(!wrapper) return false;
|
||||||
|
|
||||||
const _local_2 = wrapper.readInt();
|
const count = wrapper.readInt();
|
||||||
this._giftOptions = [];
|
this._giftOptions = [];
|
||||||
let _local_3:number;
|
let index = 0;
|
||||||
|
|
||||||
while(_local_3 < _local_2)
|
while(index < count)
|
||||||
{
|
{
|
||||||
this._giftOptions.push(new NewUserExperienceGiftOptions(wrapper));
|
this._giftOptions.push(new NewUserExperienceGiftOptions(wrapper));
|
||||||
_local_3++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user