refactor: switch strings to string references
This commit is contained in:
@ -97,9 +97,9 @@ namespace L2Bot::Domain::ValueObjects
|
||||
const bool isEquipped,
|
||||
const uint16_t enchantLevel,
|
||||
const int32_t mana,
|
||||
const std::string name,
|
||||
const std::string iconName,
|
||||
const std::string description,
|
||||
const std::string& name,
|
||||
const std::string& iconName,
|
||||
const std::string& description,
|
||||
const uint16_t weight
|
||||
) :
|
||||
m_ItemId(itemId),
|
||||
|
@ -30,8 +30,8 @@ namespace L2Bot::Domain::ValueObjects
|
||||
}
|
||||
|
||||
FullName(
|
||||
const std::string nickname,
|
||||
const std::string title
|
||||
const std::string& nickname,
|
||||
const std::string& title
|
||||
) :
|
||||
m_Nickname(nickname),
|
||||
m_Title(title)
|
||||
|
Reference in New Issue
Block a user