focus-creative-games / luban

luban是一个强大、易用、优雅、稳定的游戏配置解决方案。luban is a powerful, easy-to-use, elegant and stable game configuration solution.
https://code-philosophy.com/
MIT License
3.4k stars 538 forks source link

add cs-newton-json code target #154

Closed absences closed 3 months ago

absences commented 3 months ago

image image

absences commented 3 months ago
    Tables t = new Tables(Loader);
    static JArray Loader(string name)
    {
        var file = string.Format("../../json_data/{0}.json", name);
        var content = File.ReadAllText(file);

        return JsonConvert.DeserializeObject(content) as JArray;
    }
pirunxi commented 3 months ago

建议把newton改为newtonsoft,另外请同时给luban_examples项目pr一个测试项目

absences commented 3 months ago

好了,另外 多维数组那个再看一下,用一维数组结构代替多维数组,支持对多维数组不友好的语言

absences commented 3 months ago

稍等example

pirunxi commented 3 months ago

好了,另外 多维数组那个再看一下,用一维数组结构代替多维数组,支持对多维数组不友好的语言

这个我们复查一下。