mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Quests | Change name variables
This commit is contained in:
parent
961540b045
commit
57b60e0449
@ -4,9 +4,9 @@ export class AcceptQuestMessageComposer implements IMessageComposer<ConstructorP
|
||||
{
|
||||
private _data: ConstructorParameters<typeof AcceptQuestMessageComposer>;
|
||||
|
||||
constructor(k: number)
|
||||
constructor(questId: number)
|
||||
{
|
||||
this._data = [k];
|
||||
this._data = [questId];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class ActivateQuestMessageComposer implements IMessageComposer<Constructo
|
||||
{
|
||||
private _data: ConstructorParameters<typeof ActivateQuestMessageComposer>;
|
||||
|
||||
constructor(k: number)
|
||||
constructor(questId: number)
|
||||
{
|
||||
this._data = [k];
|
||||
this._data = [questId];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class GetCommunityGoalHallOfFameMessageComposer implements IMessageCompos
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetCommunityGoalHallOfFameMessageComposer>;
|
||||
|
||||
constructor(k: string)
|
||||
constructor(code: string)
|
||||
{
|
||||
this._data = [k];
|
||||
this._data = [code];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class GetDailyQuestMessageComposer implements IMessageComposer<Constructo
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetDailyQuestMessageComposer>;
|
||||
|
||||
constructor(k: boolean, _arg_2: number)
|
||||
constructor(canRefresh: boolean, index: number)
|
||||
{
|
||||
this._data = [k, _arg_2];
|
||||
this._data = [canRefresh, index];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class StartCampaignMessageComposer implements IMessageComposer<Constructo
|
||||
{
|
||||
private _data: ConstructorParameters<typeof StartCampaignMessageComposer>;
|
||||
|
||||
constructor(k: string)
|
||||
constructor(campaignName: string)
|
||||
{
|
||||
this._data = [k];
|
||||
this._data = [campaignName];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -9,14 +9,14 @@ export class PrizeData
|
||||
private _badge: boolean;
|
||||
private _localizedName: string;
|
||||
|
||||
constructor(k: IMessageDataWrapper)
|
||||
constructor(wrapper: IMessageDataWrapper)
|
||||
{
|
||||
this._communityGoalId = k.readInt();
|
||||
this._communityGoalCode = k.readString();
|
||||
this._userRank = k.readInt();
|
||||
this._rewardCode = k.readString();
|
||||
this._badge = k.readBoolean();
|
||||
this._localizedName = k.readString();
|
||||
this._communityGoalId = wrapper.readInt();
|
||||
this._communityGoalCode = wrapper.readString();
|
||||
this._userRank = wrapper.readInt();
|
||||
this._rewardCode = wrapper.readString();
|
||||
this._badge = wrapper.readBoolean();
|
||||
this._localizedName = wrapper.readString();
|
||||
}
|
||||
|
||||
public get communityGoalId(): number
|
||||
|
@ -42,9 +42,9 @@ export class QuestMessageData
|
||||
this._easy = wrapper.readBoolean();
|
||||
}
|
||||
|
||||
public static getCampaignLocalizationKeyForCode(k: string): string
|
||||
public static getCampaignLocalizationKeyForCode(code: string): string
|
||||
{
|
||||
return 'quests.' + k;
|
||||
return 'quests.' + code;
|
||||
}
|
||||
|
||||
public get campaignCode(): string
|
||||
@ -72,9 +72,9 @@ export class QuestMessageData
|
||||
return this._activityPointType;
|
||||
}
|
||||
|
||||
public set accepted(k: boolean)
|
||||
public set accepted(isAccepted: boolean)
|
||||
{
|
||||
this._accepted = k;
|
||||
this._accepted = isAccepted;
|
||||
}
|
||||
|
||||
public get accepted(): boolean
|
||||
@ -82,9 +82,9 @@ export class QuestMessageData
|
||||
return this._accepted;
|
||||
}
|
||||
|
||||
public set id(k: number)
|
||||
public set id(id: number)
|
||||
{
|
||||
this._id = k;
|
||||
this._id = id;
|
||||
}
|
||||
|
||||
public get id(): number
|
||||
@ -122,9 +122,9 @@ export class QuestMessageData
|
||||
return this._completedSteps == this._totalSteps;
|
||||
}
|
||||
|
||||
public set waitPeriodSeconds(k: number)
|
||||
public set waitPeriodSeconds(periodSeconds: number)
|
||||
{
|
||||
this._waitPeriodSeconds = k;
|
||||
this._waitPeriodSeconds = periodSeconds;
|
||||
}
|
||||
|
||||
public get waitPeriodSeconds(): number
|
||||
|
Loading…
Reference in New Issue
Block a user