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.32k stars 526 forks source link

[modify]protobuf支持多维数组/列表 #152

Closed absences closed 2 months ago

absences commented 2 months ago

仅修改了array与list image image

pirunxi commented 2 months ago

目前在很多语言上多维数组支持并不好。我们不太推荐使用这个特性,暂时不考虑除了c#以外的语言支持这个特性。

absences commented 2 months ago

并不是生成了多维数组的代码,而是用一维数组包装,其他不支持多维数组的语言也可以这样修改,是可以支持的,你再看看。 多维数组用不了有点麻烦 image