mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 16:56:07 +00:00
feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view` * CString * 1 * chore(Core/Misc): code cleanup * cl * db fix * fmt style sql * to fmt * py * del old * 1 * 2 * 3 * 1 * 1
This commit is contained in:
@@ -68,10 +68,10 @@ void LoadSkillDiscoveryTable()
|
||||
{
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
uint32 spellId = fields[0].GetUInt32();
|
||||
int32 reqSkillOrSpell = fields[1].GetInt32();
|
||||
uint32 reqSkillValue = fields[2].GetUInt16();
|
||||
float chance = fields[3].GetFloat();
|
||||
uint32 spellId = fields[0].Get<uint32>();
|
||||
int32 reqSkillOrSpell = fields[1].Get<int32>();
|
||||
uint32 reqSkillValue = fields[2].Get<uint16>();
|
||||
float chance = fields[3].Get<float>();
|
||||
|
||||
if (chance <= 0) // chance
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user