Chronicled Wish Gacha system implementation for the Grasscutter emulator. The system includes proto definitions, Java classes, and configuration files necessary for the Gacha functionality.
root directory ├── data │ └── Banners.json ├── proto │ └── GachaInfo.proto └── src └── main └── java └── emu └── grasscutter └── game └── gacha ├── GachaBanner.java ├── GachaSystem.java └── PlayerGachaInfo.java
GachaInfo.proto
: Protocol buffer definitions for Chronicled Wish Gacha information.
Banners.json
: JSON configuration file for Chronicled Wish Gacha banners.
GachaBanner.java
: Class for handling Chronicled Wish Gacha banners.GachaSystem.java
: Main class for the Chronicled Wish Gacha system logic.PlayerGachaInfo.java
: Class for managing player-specific Chronicled Wish Gacha information.
To compile the project and generate the JAR file, follow these steps:
- Ensure you have Java Development Kit (JDK) installed.
- Navigate to the project root directory.
- Run the following command to compile the Java source files and build the JAR:
./gradlew jar
After recompiling the JAR, you can integrate the Chronicled Wish Gacha system with your Grasscutter emulator by placing the generated JAR file in the appropriate directory.
If you wish to contribute to this project, please fork the repository and submit pull requests. Ensure that your code adheres to the project's coding standards and includes appropriate tests.