t1k:unity:tof:lucky-pick
| Field | Value |
|---|---|
| Module | tof |
| Version | 2.2.2 |
| Effort | medium |
| Tools | — |
Keywords: controller, lucky-pick, pre-game, random-slot, wallpaper
How to invoke
Section titled “How to invoke”/t1k:unity:tof:lucky-pickLucky Pick
Section titled “Lucky Pick”Purpose
Section titled “Purpose”LuckyPick is a triple-option wallpaper picker. Players choose one wallpaper from three slots before each game. One slot is always free; the remaining slots require watching a rewarded ad or paying currency. Each slot draws from its own independent item pool. Pool advancement on win depends on whether the player manually picked a card: manual pick advances all pools, auto-pick advances only the free pool.
Public API
Section titled “Public API”interface
ILuckyPickService(ILuckyPickService.cs) classLuckyPickPoolBlueprint(LuckyPickPoolBlueprint.cs)LuckyPickPoolRecord(LuckyPickPoolBlueprint.cs)LuckyPickService(LuckyPickService.cs)LuckyPickUserData(LuckyPickUserData.cs)LuckyPickUserDataController(LuckyPickUserDataController.cs)LuckyPickValidator(LuckyPickValidator.cs)LuckyPickVContainer(LuckyPickVContainer.cs)
Signals / Events
Section titled “Signals / Events”OnLuckyPickItemPickedSignalOnLuckyPickRefreshedSignal
Config / ScriptableObjects
Section titled “Config / ScriptableObjects”None detected.
Integration Steps
Section titled “Integration Steps”- Reference package
TheOneFeaturein your project. - Register the Lucky Pick 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 (10): interface
ILuckyPickService(ILuckyPickService.cs) classLuckyPickPoolBlueprint(LuckyPickPoolBlueprint.cs)LuckyPickPoolRecord(LuckyPickPoolBlueprint.cs)LuckyPickService(LuckyPickService.cs)LuckyPickUserData(LuckyPickUserData.cs)LuckyPickUserDataController(LuckyPickUserDataController.cs)LuckyPickValidator(LuckyPickValidator.cs)LuckyPickVContainer(LuckyPickVContainer.cs) structOnLuckyPickItemPickedSignal(LuckyPickSignals.cs)OnLuckyPickRefreshedSignal(LuckyPickSignals.cs)
Detected DI registrations:
LuckyPickServiceLuckyPickUserDataController
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/LuckyPick/ - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/LuckyPick/LuckyPick.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/LuckyPick/CHANGELOG.md - Namespace:
TheOne.Features.LuckyPick.Core.Controllers,TheOne.Features.LuckyPick.Core.DI,TheOne.Features.LuckyPick.Core.Editor,TheOne.Features.LuckyPick.Core.Models,TheOne.Features.LuckyPick.Core.Services,TheOne.Features.LuckyPick.Core.Signals