Skip to content

Commit 4a13194

Browse files
committed
Some rename
1 parent 7ba7ccf commit 4a13194

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cyberia.Api/Data/Quests/QuestsRepository.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ internal QuestsRepository()
4646
return questData;
4747
}
4848

49-
public QuestData? GetQuestDataByQuestStepId(int questStepId, out int index)
49+
public QuestData? GetQuestDataByQuestStepId(int questStepId, out int questStepIndex)
5050
{
5151
foreach (var quest in Quests.Values)
5252
{
@@ -56,13 +56,13 @@ internal QuestsRepository()
5656
{
5757
if (questStepsId[i] == questStepId)
5858
{
59-
index = i;
59+
questStepIndex = i;
6060
return quest;
6161
}
6262
}
6363
}
6464

65-
index = -1;
65+
questStepIndex = -1;
6666
return null;
6767
}
6868

Cyberia.Salamandra/Commands/Admin/Search/SearchCommandModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public async Task ItemSpriteExecuteAsync(SlashCommandContext ctx,
162162
[Command("quest"), Description("Search the quest where the quest step ID is used")]
163163
[SlashCommandTypes(DiscordApplicationCommandType.SlashCommand)]
164164
public async Task QuestExecuteAsync(SlashCommandContext ctx,
165-
[Parameter("id"), Description("Quest step ID")]
165+
[Parameter("quest_step_id"), Description("Quest step ID")]
166166
[MinMaxValue(0, 999_999)]
167167
int questStepId)
168168
{

0 commit comments

Comments
 (0)