JimmyCushnie / JECS

Jimmy's Epic Config System
Do What The F*ck You Want To Public License
154 stars 16 forks source link

Way of treating multiple ReadOnlyDataFiles as one giant file #22

Closed JimmyCushnie closed 4 years ago

JimmyCushnie commented 4 years ago

In Logic World, we're using SUCC for localization data. Since each language has a large number of localization keys, the data is split across multiple files for each language (i.e. English_UI.succ, English_components.succ ect).

Within our code, we're manually extracting the keys from each of these files and combining them into one giant dictionary. This functionality should be built-in to SUCC.

I think the ideal interface would be something like

new DistributedReadOnlyDataFile(params string[] path)

There should also be a constructor that takes an IReadOnlyList