t1k:unity:tof:sexy-card-shop
| Field | Value |
|---|---|
| Module | tof |
| Version | 2.2.2 |
| Effort | medium |
| Tools | — |
Keywords: card-shop, controller, currency-purchase, gacha-pack
How to invoke
Section titled “How to invoke”/t1k:unity:tof:sexy-card-shopSexy Card Shop
Section titled “Sexy Card Shop”Purpose
Section titled “Purpose”SexyCardShop is a gacha-style card collection system that allows players to purchase card packs using in-game currency or watching ads. Cards are wallpapers that get unlocked in the player’s collection. The feature supports one-time free pulls per pack and integrates seamlessly with the WallpaperCollection system.
Public API
Section titled “Public API”class
SexyCardPackBlueprint(SexyCardPackBlueprint.cs)SexyCardPackRecord(SexyCardPackBlueprint.cs)SexyCardShopLocalDataController(SexyCardShopLocalDataController.cs)SexyCardShopService(SexyCardShopService.cs)SexyCardShopValidator(SexyCardShopValidator.cs)SexyCardShopVContainer(SexyCardShopVContainer.cs)SuccessOpenSexyCardCondition(SuccessOpenSexyCardCondition.cs)SuccessPurchaseCardSignal(SuccessPurchaseCardSignal.cs)
Signals / Events
Section titled “Signals / Events”SuccessPurchaseCardSignal
Config / ScriptableObjects
Section titled “Config / ScriptableObjects”None detected.
Integration Steps
Section titled “Integration Steps”- Reference package
TheOneFeaturein your project. - Register the Sexy Card Shop 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 (9): class
SexyCardPackBlueprint(SexyCardPackBlueprint.cs)SexyCardPackRecord(SexyCardPackBlueprint.cs)SexyCardShopLocalDataController(SexyCardShopLocalDataController.cs)SexyCardShopService(SexyCardShopService.cs)SexyCardShopValidator(SexyCardShopValidator.cs)SexyCardShopVContainer(SexyCardShopVContainer.cs)SuccessOpenSexyCardCondition(SuccessOpenSexyCardCondition.cs)SuccessPurchaseCardSignal(SuccessPurchaseCardSignal.cs) enumPurchaseType(SexyCardPackBlueprint.cs)
Detected DI registrations:
SexyCardShopLocalDataControllerSexyCardShopService
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/SexyCardShop/ - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/SexyCardShop/SexyCardShop.md - Namespace:
TheOneFeature.Core.Features.SexyCardShop.Editor,TheOne.Features.SexyCardShop.Core.Conditions,TheOneFeature.Core.Features.SexyCardShop.Scripts.DI,TheOne.Features.SexyCardShop.Core.Blueprints,TheOne.Features.SexyCardShop.Core.Models.LocalData,TheOne.Features.SexyCardShop.Core.Models.Signals,TheOneFeature.Core.Features.SexyCardShop.Scripts.Services