Page 1 of 1

Set/get personal requests in bulk

Posted: Thu Jan 07, 2021 10:28 am
by Choumiko
I'd like api functions to get/set (maybe clear?) all personal logistic requests at once, something like
LuaControl:set_personal_logistic_slots(slot_data)
slot_data: table of PersonalLogisticParameters
The table keys would correspond to the slot indices, nil values are slots that are not set or that should be cleared (in the case of the setter function)

Re: Set/get personal requests in bulk

Posted: Thu Jan 07, 2021 5:28 pm
by Rseding91
What's the intended use-case over the single setter/getter? If it's performance; it wouldn't make any difference. I fixed the performance issue of setting/getting requests when there are a large number of them already.