JimmyCushnie / JECS

Jimmy's Epic Config System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Way of treating multiple ReadOnlyDataFiles as one giant file

JimmyCushnie opened this issue · comments

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