From 2a3e39019e0590fe30cbccd222c62a3070f1cb3d Mon Sep 17 00:00:00 2001 From: k0t9i Date: Thu, 26 Jan 2023 14:57:06 +0400 Subject: [PATCH] fix: rename id-field to id --- L2BotCore/Domain/Entities/AbnormalEffect.h | 2 +- L2BotCore/Domain/Entities/BaseItem.h | 2 +- L2BotCore/Domain/Entities/Skill.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/L2BotCore/Domain/Entities/AbnormalEffect.h b/L2BotCore/Domain/Entities/AbnormalEffect.h index cc74a06..68f21ce 100644 --- a/L2BotCore/Domain/Entities/AbnormalEffect.h +++ b/L2BotCore/Domain/Entities/AbnormalEffect.h @@ -43,7 +43,7 @@ namespace L2Bot::Domain::Entities { std::vector result; - result.push_back({ L"skillId", std::to_wstring(m_SkillId) }); + result.push_back({ L"id", std::to_wstring(m_SkillId) }); result.push_back({ L"level", std::to_wstring(m_Level) }); if (m_IsNewState) diff --git a/L2BotCore/Domain/Entities/BaseItem.h b/L2BotCore/Domain/Entities/BaseItem.h index e1a0f90..427efe9 100644 --- a/L2BotCore/Domain/Entities/BaseItem.h +++ b/L2BotCore/Domain/Entities/BaseItem.h @@ -58,7 +58,7 @@ namespace L2Bot::Domain::Entities { std::vector result; - result.push_back({ L"objectId", std::to_wstring(m_ObjectId) }); + result.push_back({ L"id", std::to_wstring(m_ObjectId) }); result.push_back({ L"itemId", std::to_wstring(m_ItemId) }); if (m_PrevState.isNewState) diff --git a/L2BotCore/Domain/Entities/Skill.h b/L2BotCore/Domain/Entities/Skill.h index dd0914c..f09d89c 100644 --- a/L2BotCore/Domain/Entities/Skill.h +++ b/L2BotCore/Domain/Entities/Skill.h @@ -90,7 +90,7 @@ namespace L2Bot::Domain::Entities { std::vector result; - result.push_back({ L"skillId", std::to_wstring(m_SkillId) }); + result.push_back({ L"id", std::to_wstring(m_SkillId) }); result.push_back({ L"level", std::to_wstring(m_Level) }); if (m_PrevState.isNewState)