t1k:unity:tof:lives
| Field | Value |
|---|---|
| Module | tof |
| Version | 2.2.2 |
| Effort | medium |
| Tools | — |
Keywords: hearts, life-cap, lives, regen-timer
How to invoke
Section titled “How to invoke”/t1k:unity:tof:livesPurpose
Section titled “Purpose”Manages player lives with regen timers, infinite-lives grants, and a friend-help gifting flow via LivesService and LivesHelpService.
Public API
Section titled “Public API”interface
ILivesHelpDataSyncService(ILivesHelpDataSyncService.cs) classConfig(InitialInfiniteLivesService.cs)InfiniteLivesRewardHandler(InfiniteLivesRewardHandler.cs)InitialInfiniteLivesService(InitialInfiniteLivesService.cs)InitialInfiniteLivesValidator(InitialInfiniteLivesValidator.cs)InitialInfiniteLivesVContainer(InitialInfiniteLivesVContainer.cs)LivesHelpBlueprint(LivesHelpBlueprint.cs)LivesHelpService(LivesHelpService.cs)LivesHelpVContainer(LivesHelpVContainer.cs)LivesRewardHandler(LivesRewardHandler.cs)LivesService(LivesService.cs)LivesValidator(LivesValidator.cs)LivesVContainer(LivesVContainer.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 Lives 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 (13): interface
ILivesHelpDataSyncService(ILivesHelpDataSyncService.cs) classConfig(InitialInfiniteLivesService.cs)InfiniteLivesRewardHandler(InfiniteLivesRewardHandler.cs)InitialInfiniteLivesService(InitialInfiniteLivesService.cs)InitialInfiniteLivesValidator(InitialInfiniteLivesValidator.cs)InitialInfiniteLivesVContainer(InitialInfiniteLivesVContainer.cs)LivesHelpBlueprint(LivesHelpBlueprint.cs)LivesHelpService(LivesHelpService.cs)LivesHelpVContainer(LivesHelpVContainer.cs)LivesRewardHandler(LivesRewardHandler.cs)LivesService(LivesService.cs)LivesValidator(LivesValidator.cs)LivesVContainer(LivesVContainer.cs)
Detected DI registrations:
InfiniteLivesRewardHandlerInitialInfiniteLivesServiceInitialInfiniteLivesService.ConfigLivesHelpServiceLivesRewardHandlerLivesService
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/Lives/ - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Lives/Core/README.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Lives/Help/README.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Lives/InitialInfiniteLives/README.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Lives/Core/CHANGELOG.md - Doc:
UnityTheOneFeatureProject/Packages/TheOneFeature/Core/Features/Lives/Help/CHANGELOG.md - Namespace:
TheOne.Features.Lives.Core.Editor,TheOne.Features.Lives.Core.DI,TheOne.Features.Lives.Core.Models,System.Runtime.CompilerServices,TheOne.Features.Lives.Core.Services,TheOne.Features.Lives.Help.Editor,TheOne.Features.Lives.Help.DI,TheOne.Features.Lives.Help.Models,TheOne.Features.Lives.Help.Services,TheOne.Features.Lives.Core.Services.Editor,TheOne.Features.Lives.InitialInfiniteLives.DI,TheOne.Features.Lives.InitialInfiniteLives