View Single Post
04/17/19, 01:33 PM   #1
Vaddi
Join Date: Jun 2016
Posts: 14
Post currencyType and currencyChangeReason Lookups

Is there a function to convert currencyType to an appropriate string? For example; when currencyType is 9 the currency is an Event Ticket. There is a constant named CURT_EVENT_TICKETS that has a value of 9. However; I haven't found a way to get from 9 to "Event Ticket" other than writing my own lookup table. I was hoping to find something like GetString(SI_CURTNAME, currencyType). Does something like that exist and I have just failed to find it?

I have the same question for currencyChangeReason. I find about 75 constants for that (like CURRENCY_CHANGE_REASON_QUESTREWARD); but again I don't see a way to get from the number to the name.

Thanks for any help.
  Reply With Quote