Make consent variable names more descriptive and replace char pointer parameters with std::string

Use fmt::format for SQL statement when updating corpse guild id
This commit is contained in:
hg committed 2020-02-04 18:54:43 -05:00
1 parent b8229c8459
commit d7138e84c0
5 files changed
+39 -46

No files matched your search

+1 -1
View File
@@ -1139,7 +1139,7 @@ public:
inline bool IsDraggingCorpse() { return (DraggedCorpses.size() > 0); }
void DragCorpses();
inline void ClearDraggedCorpses() { DraggedCorpses.clear(); }
void ConsentCorpses(const char* consent_name, bool deny = false);
void ConsentCorpses(std::string consent_name, bool deny = false);
void SendAltCurrencies();
void SetAlternateCurrencyValue(uint32 currency_id, uint32 new_amount);
void AddAlternateCurrencyValue(uint32 currency_id, int32 amount, int8 method = 0);