Summary
The GetItemCount function of the conditional_button_device class is missing the <transacts>
and <no_rollback>
effects mentioned in the Verse API Reference
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Compare the function signature in the Verse API Reference and in a UEFN project’s Fortnite.digest.verse
Expected Result
Signatures should be identical
Observed Result
In the Verse API Reference:
GetItemCount<public>(Agent:agent, KeyItemIndex:int)<transacts><no_rollback>:int
In Fortnite.digest.verse:
GetItemCount<public>(Agent:agent, KeyItemIndex:int):int
Platform(s)
PC
Additional Notes
This prevents us from using this function in a <transacts>
function (ex: saving the value to a user’s persistent profile data)
This issue was previously mentioned here: conditional_button_device GetItemCount should be <tranacts>