📄️ Quick Start
Installation
📄️ Generate Code and Data
Luban not only supports exporting configuration data, but also has built-in support for generating code in multiple languages for runtime configuration loading. At the same time, Luban also supports popular message frameworks such as protobuf, flatbuffers, and msgpack.
📄️ Add Luban To Your Project
Install dotnet SDK
📄️ Runtime loading configuration
We have provided a large number of sample projects under Projects.
📄️ Use Custom Types
In practice, we often encounter situations where enumerations and custom structures need to be defined. Luban perfectly supports this feature.
📄️ Use Container Types
Containers are also the most commonly used types. Luban supports a variety of container data formats, and you can choose the most suitable type and fill it out according to your needs.
📄️ Use Streaming and Column-qualified Formats
Structures and containers are data types that contain multiple elements. Luban provides four ways to read this composite data type:
📄️ Use Data Validator
In practice, we often encounter a field that needs to be verified for legality. For example, the item_id field must have a valid item table id. Luban supports comprehensive data validation.
📄️ Use Polymorphic types
Not all data structures are standardized and consistent. In complex Gameplay, there are often many types of buff effects, and the fields of each type are different.
📄️ Automatic Table Import
Add an item to tables.xlsx for each new table, which is a tedious task. In most cases, each Excel file corresponds to a table, and it is possible to let the tool automatically add the table definition.