t1k:unity:tof:gacha
| Field | Value |
|---|---|
| Module | tof |
| Version | 2.2.2 |
| Effort | high |
| Tools | — |
Keywords: gacha, loot-table, lootbox, pity-timer, probability, weighted-random
How to invoke
Section titled “How to invoke”/t1k:unity:tof:gachaPurpose
Section titled “Purpose”A comprehensive gacha system with weighted random selection, pity mechanics, and loot table management for TheOne framework.
Public API
Section titled “Public API”class
GachaDataController(GachaDataController.cs)GachaLocalData(GachaLocalData.cs)GachaLootTableBlueprint(GachaLootTableBlueprint.cs)GachaLootTableRecord(GachaLootTableBlueprint.cs)GachaPoolBlueprint(GachaPoolBlueprint.cs)GachaPoolRecord(GachaPoolBlueprint.cs)GachaState(GachaLocalData.cs)GachaValidator(GachaValidator.cs)GachaVContainer(GachaVContainer.cs)ItemWeightRecord(GachaLootTableBlueprint.cs)PityRuleRecord(GachaPoolBlueprint.cs)
Signals / Events
Section titled “Signals / Events”None detected.
Config / ScriptableObjects
Section titled “Config / ScriptableObjects”None detected.
Integration Steps
Section titled “Integration Steps”- Reference package
TheOneFeaturein your project. - Register the Gacha services via VContainer (see Architecture).
- Configure any ScriptableObjects listed in Config section.
- Subscribe to signals listed in Signals / Events to react to state changes.
Architecture
Section titled “Architecture”Detected public types (12): class
GachaDataController(GachaDataController.cs)GachaLocalData(GachaLocalData.cs)GachaLootTableBlueprint(GachaLootTableBlueprint.cs)GachaLootTableRecord(GachaLootTableBlueprint.cs)GachaPoolBlueprint(GachaPoolBlueprint.cs)GachaPoolRecord(GachaPoolBlueprint.cs)GachaState(GachaLocalData.cs)GachaValidator(GachaValidator.cs)GachaVContainer(GachaVContainer.cs)ItemWeightRecord(GachaLootTableBlueprint.cs)PityRuleRecord(GachaPoolBlueprint.cs)
Detected DI registrations:
GachaDataController
Dependencies
Section titled “Dependencies”Run with FEATURE_MATRIX/DEPENDENCY_GRAPH integration to fill.
Gotchas
Section titled “Gotchas”(None reported yet — open an issue in The1Studio/theonekit-unity if you hit one.)
References
Section titled “References”- Source:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Gacha/ - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Gacha/README.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Gacha/REVIEW-blueprint-data-2026-03-14.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Gacha/UPDATE-PLAN-blueprint-data-2026-03-14.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Gacha/CHANGELOG.md - Namespace:
TheOne.Features.Gacha.Core.Controllers,TheOne.Features.Gacha.Core.DI,TheOne.Features.Gacha.Core.Editor,TheOne.Features.Gacha.Core.Models.Blueprints,TheOne.Features.Gacha.Core.Models.LocalData