Thread Tools Display Modes
08/31/15, 10:59 AM   #1
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
ZO_CurrencyControl_SetSimpleCurrency

Anyone know what has changed on 100012 in regards to the ZO_CurrencyControl_* functions?

ZO_CurrencyControl_SetSimpleCurrency is not working for me the way it did before.

This code just give me a blank Label - where is used to put the currency in the Label:
Code:
  
ZO_CurrencyControl_SetSimpleCurrency(
    rowControl:GetNamedChild("_Value"),
    CURRENCY_TYPE_MONEY,
    data.money, 
    currencyOptions, CURRENCY_SHOW_ALL, CURRENCY_HAS_ENOUGH)

also is the UI code for 100012 on http://esodata.uesp.net yet? or elsewhere?


Thanks.
  Reply With Quote
08/31/15, 11:32 AM   #2
Randactyl
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 251
The currency constants changed.

CURT_MONEY, CURT_ALLIANCE_POINTS, and CURT_TEL_VAR_STONES iirc.

edit: Ayantir's ongoing 2.1 thread http://www.esoui.com/forums/showthread.php?t=4892
  Reply With Quote
08/31/15, 01:18 PM   #3
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
thanks - that got it working.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » ZO_CurrencyControl_SetSimpleCurrency


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off