Export Getter/Setter alternate currency methods to Perl and Lua.

- GetAlternateCurrencyValue(currency_id) - Returns the amount of the alternate currency you have.

- SetAlternateCurrencyValue(currency_id, amount) - Allows you to directly set the amount of an alternate currency.
This commit is contained in:
Kinglykrab
2019-08-20 18:12:27 -04:00
parent 6fb1d95518
commit 08d197fe15
3 changed files with 65 additions and 0 deletions
+2
View File
@@ -269,6 +269,8 @@ public:
void OpenLFGuildWindow();
void Signal(uint32 id);
void AddAlternateCurrencyValue(uint32 currency, int amount);
void SetAlternateCurrencyValue(uint32 currency, int amount);
int GetAlternateCurrencyValue(uint32 currency);
void SendWebLink(const char *site);
bool HasSpellScribed(int spell_id);
void SetAccountFlag(std::string flag, std::string val);