t1k:unity:tof:core-data
| Field | Value |
|---|---|
| Module | tof |
| Version | 3.46.8 |
| Effort | medium |
| Tools | — |
Keywords: condition data, condition-system, evaluation, theonefeature-core
How to invoke
Section titled “How to invoke”/t1k:unity:tof:core-dataScope — this is a candidate index, not an inventory. This skill indexes one source folder. A feature can span
Assets/TheOneFeature/,Packages/com.gdk.*, and siblingAssets/TheOne.*packages, and this skill will only show the folder it was built from. A capability missing here is not evidence that it is absent — verify against source (grep over a stated scope) before concluding anything does not exist. See The1Studio/theonekit-unity#350.
Purpose
Section titled “Purpose”A flexible condition system for TheOne Feature framework that provides a unified interface for evaluating various game conditions. This module supports composite conditions, time-based conditions, and level requirements with dependency injection support.
⚠️ The name is misleading — this skill is NOT about data storage. Despite
core-data, everything below is a condition-evaluation system plus JSON converters. That is the entire content ofAssets/TheOneFeature/Core/Data/.If you are asking “where does this platform persist data?”, you are in the wrong skill. The storage layer lives outside this folder:
Concern Where Local persistence Packages/com.gdk.core/Scripts/UserData/UserDataManager.csCloud / player data Assets/TheOneFeature/Core/Features/Firebase/Firestore/Player/Services/PlayerDataManager.csNeither is documented by any
tof-*skill. Read the source. See #350.
Public API
Section titled “Public API”interface
ICommonCondition(ICommonCondition.cs) classAbstractConverter(AbstractConverter.cs)CommonCondition(ICommonCondition.cs)CommonConditionDictionary(CommonConditionDictionary.cs)CommonConditionToolModule(CommonConditionToolModule.cs)CompositeCondition(CompositeCondition.cs)DayOfWeekRepeatableCondition(DayOfWeekRepeatableCondition.cs)LevelCondition(LevelCondition.cs)LevelInCurrentSessionCondition(LevelInCurrentSessionCondition.cs)LevelResultCondition(LevelResultCondition.cs)RawBooleanCondition(RawBooleanCondition.cs)ScreenCondition(ScreenCondition.cs)SessionCondition(SessionCondition.cs)ShortTypeBinder(ShortTypeBinder.cs)TimeOfDayRepeatableCondition(TimeOfDayRepeatableCondition.cs)TimeRangeCondition(TimeRangeCondition.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 Data 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 (20): interface
ICommonCondition(ICommonCondition.cs) classAbstractConverter(AbstractConverter.cs)CommonCondition(ICommonCondition.cs)CommonConditionDictionary(CommonConditionDictionary.cs)CommonConditionToolModule(CommonConditionToolModule.cs)CompositeCondition(CompositeCondition.cs)DayOfWeekRepeatableCondition(DayOfWeekRepeatableCondition.cs)LevelCondition(LevelCondition.cs)LevelInCurrentSessionCondition(LevelInCurrentSessionCondition.cs)LevelResultCondition(LevelResultCondition.cs)RawBooleanCondition(RawBooleanCondition.cs)ScreenCondition(ScreenCondition.cs)SessionCondition(SessionCondition.cs)ShortTypeBinder(ShortTypeBinder.cs)TimeOfDayRepeatableCondition(TimeOfDayRepeatableCondition.cs)TimeRangeCondition(TimeRangeCondition.cs) enumCompareType(CompareType.cs)CompositeConditionType(CompositeConditionType.cs)TimeRangeConditionType(TimeRangeConditionType.cs)TrackingLevelType(TrackingLevelType.cs)
Dependencies
Section titled “Dependencies”Not yet documented. This section was never filled in; it is a known gap, not a
statement that the feature has no dependencies. Read the .asmdef next to the source
folder above for the authoritative list.
References
Section titled “References”- Source:
Assets/TheOneFeature/Core/Data/ - Doc:
Assets/TheOneFeature/Core/Data/CommonCondition/Core/README.md - Doc:
Assets/TheOneFeature/Core/Data/JsonConverter/README.md - Doc:
Assets/TheOneFeature/Core/Data/CommonCondition/CHANGELOG.md - Doc:
Assets/TheOneFeature/Core/Data/CommonCondition/Core/CHANGELOG.md - Doc:
Assets/TheOneFeature/Core/Data/JsonConverter/CHANGELOG.md - Namespace:
TheOne.Features.Data.CommonCondition.Condition,TheOne.Features.Data.CommonCondition.Enum,TheOne.Features.Data.CommonCondition.Editor,TheOne.Features.Data.JsonConverter