fix: rename id-field to id
This commit is contained in:
parent
54a4514a53
commit
2a3e39019e
@ -43,7 +43,7 @@ namespace L2Bot::Domain::Entities
|
|||||||
{
|
{
|
||||||
std::vector<Serializers::Node> result;
|
std::vector<Serializers::Node> 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) });
|
result.push_back({ L"level", std::to_wstring(m_Level) });
|
||||||
|
|
||||||
if (m_IsNewState)
|
if (m_IsNewState)
|
||||||
|
@ -58,7 +58,7 @@ namespace L2Bot::Domain::Entities
|
|||||||
{
|
{
|
||||||
std::vector<Serializers::Node> result;
|
std::vector<Serializers::Node> 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) });
|
result.push_back({ L"itemId", std::to_wstring(m_ItemId) });
|
||||||
|
|
||||||
if (m_PrevState.isNewState)
|
if (m_PrevState.isNewState)
|
||||||
|
@ -90,7 +90,7 @@ namespace L2Bot::Domain::Entities
|
|||||||
{
|
{
|
||||||
std::vector<Serializers::Node> result;
|
std::vector<Serializers::Node> 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) });
|
result.push_back({ L"level", std::to_wstring(m_Level) });
|
||||||
|
|
||||||
if (m_PrevState.isNewState)
|
if (m_PrevState.isNewState)
|
||||||
|
Loading…
Reference in New Issue
Block a user