Arona Flatbuffers
This repository contains the Flatbuffers schema and generated code for the Arona project, which processes Arona game data.
Overview
Arona Flatbuffers is a tool that generates and maintains Flatbuffers schema definitions for Arona game data. It automatically tracks game version updates and generates corresponding schema files.
Prerequisites
Generated Code
This repository provides:
- FlatBuffers schema files (
.fbs)
- Pre-generated Go code with
flatdata namespace
- Pre-generated Python bindings
You can directly use these generated files in your projects without needing to compile the schemas yourself.
Using the Generated Code
For Go Projects
- Import the generated code in your Go project:
import "github.com/arisu-archive/arona-flatbuffers/go/flatdata"
For Python Projects
- Copy the generated Python files from the
python/ directory to your project
Development Prerequisites
If you want to contribute or regenerate the code:
Project Structure
.
├── .schema/ # FlatBuffers schema files
├── .scripts/ # Utility scripts for code generation
├── go/ # Generated Go code
├── python/ # Generated Python bindings
└── version.txt # Current APK version tracker
Automatic Updates
This repository features an automated GitHub Actions workflow that:
- Monitors the Game APK updates
- Downloads and processes the latest game data
- Generates updated schema files
- Updates the generated code
- Creates a pull request with the changes
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'feat: add some amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- This project is part of the Arona ecosystem
- Uses Google's FlatBuffers for efficient serialization