View Single Post
01/12/22, 12:44 AM   #2
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Originally Posted by marcjordan View Post
When you get an EVENT_CURRENCY_UPDATE callback you get a parameter called CurrencyChangeReason int value. Is there an easy way to convert that int value to the text of the global so I can debug print it?

I could do an if reason == CURRENCY_CHANGE_REASON_CASH_ON_DELIVERY and then explicitly set the text but that's kind of horrible and not resilient to global changes.
I'm interested in the answer to this too, It looks like it is a enum or maybe a table ?
*[CurrencyChangeReason|#CurrencyChangeReason]*
  Reply With Quote