Skip to content

t1k:unity:tof:lucky-pick

FieldValue
Moduletof
Version2.2.2
Effortmedium
Tools

Keywords: controller, lucky-pick, pre-game, random-slot, wallpaper

/t1k:unity:tof:lucky-pick

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.

interface

  • ILuckyPickService (ILuckyPickService.cs) class
  • LuckyPickPoolBlueprint (LuckyPickPoolBlueprint.cs)
  • LuckyPickPoolRecord (LuckyPickPoolBlueprint.cs)
  • LuckyPickService (LuckyPickService.cs)
  • LuckyPickUserData (LuckyPickUserData.cs)
  • LuckyPickUserDataController (LuckyPickUserDataController.cs)
  • LuckyPickValidator (LuckyPickValidator.cs)
  • LuckyPickVContainer (LuckyPickVContainer.cs)
  • OnLuckyPickItemPickedSignal
  • OnLuckyPickRefreshedSignal

None detected.

  1. Reference package TheOneFeature in your project.
  2. Register the Lucky Pick services via VContainer (see Architecture).
  3. Configure any ScriptableObjects listed in Config section.
  4. Subscribe to signals listed in Signals / Events to react to state changes.

Detected public types (10): interface

  • ILuckyPickService (ILuckyPickService.cs) class
  • LuckyPickPoolBlueprint (LuckyPickPoolBlueprint.cs)
  • LuckyPickPoolRecord (LuckyPickPoolBlueprint.cs)
  • LuckyPickService (LuckyPickService.cs)
  • LuckyPickUserData (LuckyPickUserData.cs)
  • LuckyPickUserDataController (LuckyPickUserDataController.cs)
  • LuckyPickValidator (LuckyPickValidator.cs)
  • LuckyPickVContainer (LuckyPickVContainer.cs) struct
  • OnLuckyPickItemPickedSignal (LuckyPickSignals.cs)
  • OnLuckyPickRefreshedSignal (LuckyPickSignals.cs)

Detected DI registrations:

  • LuckyPickService
  • LuckyPickUserDataController

Run with FEATURE_MATRIX/DEPENDENCY_GRAPH integration to fill.

(None reported yet — open an issue in The1Studio/theonekit-unity if you hit one.)

  • 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