mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-17 06:38:23 +00:00
[Commands] Add #setaltcurrency Command. (#1850)
* [Commands] Add #setaltcurrency Command. - Add #setaltcurrency [Currency ID] [Amount] command to allow you to set a specific alternate currency to a value. - Add Zone::GetCurrencyID() and Zone::GetCurrencyItemID() helper methods. - Cleanup loops through zone->AlternateCurrencies. - Utilize helper methods where necessary. - Convert old methods parameters and return values from int to uint32 where necessary. * Typo.
This commit is contained in:
+2
-2
@@ -276,8 +276,8 @@ public:
|
||||
std::string getcharnamebyid(uint32 char_id);
|
||||
uint32 getcharidbyname(const char* name);
|
||||
std::string getclassname(uint8 class_id, uint8 level = 0);
|
||||
int getcurrencyid(uint32 item_id);
|
||||
int getcurrencyitemid(int currency_id);
|
||||
uint32 getcurrencyid(uint32 item_id);
|
||||
uint32 getcurrencyitemid(uint32 currency_id);
|
||||
const char* getguildnamebyid(int guild_id);
|
||||
int getguildidbycharid(uint32 char_id);
|
||||
int getgroupidbycharid(uint32 char_id);
|
||||
|
||||
Reference in New Issue
Block a user