t1k:unity:tof:playfab
| Field | Value |
|---|---|
| Module | tof |
| Version | 3.46.8 |
| Effort | high |
| Tools | — |
Keywords: auth, cloud-save, leaderboards, playfab, title-data
How to invoke
Section titled “How to invoke”/t1k:unity:tof:playfabPlayfab
Section titled “Playfab”Scope — 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”Core implementation of playfab core feature for Unity games
Public API
Section titled “Public API”interface
IExpirable(IExpirable.cs)IPlayFabCleanup(EntryPoint.cs)IPlayFabInitialize(EntryPoint.cs)IPlayFabLoginPostProcess(EntryPoint.cs)IPlayFabLoginProcess(EntryPoint.cs)IPlayFabLogout(EntryPoint.cs) classCacheDataService(CacheDataService.cs)CloudScriptService(CloudScriptService.cs)CloudScriptVersion(CloudScriptVersion.cs)EditorGUIUtils(EditorGUIUtils.cs)Expirable(Expirable.cs)FileScanner(FileScanner.cs)FirebaseTokenProvider(FirebaseTokenProvider.cs)PermissionStatement(PolicyService.cs)PlayFabApiClient(PlayFabApiClient.cs)PlayFabAppleAuthMethod(PlayFabAppleAuthMethod.cs)PlayFabCloudSaveHandler(PlayFabCloudSaveHandler.cs)PlayFabCloudScriptHandler(PlayFabCloudScriptHandler.cs)PlayFabConfig(PlayFabConfig.cs)PlayFabCustomIdAuthMethod(PlayFabCustomIdAuthMethod.cs)PlayFabDeploymentTool(PlayFabDeploymentTool.cs)PlayFabExternalAvatarService(PlayFabExternalAvatarService.cs)PlayFabFacebookAuthMethod(PlayFabFacebookAuthMethod.cs)PlayFabFileStorageService(PlayFabFileStorageService.cs)PlayFabFirebaseAuthBridge(PlayFabFirebaseAuthBridge.cs)PlayFabFirebaseAuthBridgeValidator(PlayFabFirebaseAuthBridgeValidator.cs)PlayFabFirebaseAuthBridgeVContainer(PlayFabFirebaseAuthBridgeVContainer.cs)PlayFabGoogleAuthMethod(PlayFabGoogleAuthMethod.cs)PlayFabHelper(PlayFabHelper.cs)PlayFabLeaderboardService(PlayFabLeaderboardService.cs)PlayFabProfileRepository(PlayFabProfileRepository.cs)PlayFabProvider(PlayFabProvider.cs)PlayFabUtils(PlayFabUtils.cs)PlayFabValidator(PlayFabValidator.cs)PlayFabVContainer(PlayFabVContainer.cs)PlayFabWrapper(PlayFabWrapper.cs)PolicyFile(PolicyService.cs)PolicyService(PolicyService.cs)ScriptFile(CloudScriptService.cs)
Signals / Events
Section titled “Signals / Events”None detected.
Config / ScriptableObjects
Section titled “Config / ScriptableObjects”None detected.
Define Gate
Section titled “Define Gate”Mostly live — with one gated bridge. PlayFab core is not define-constrained and compiles in a
stock project, which matters: PlayFabCloudSaveHandler means cloud save ships, and
PlayFabWrapper + PlayFabCustomIdAuthMethod / PlayFabAppleAuthMethod / PlayFabGoogleAuthMethod
/ PlayFabFacebookAuthMethod are the only implementations of IAuthenticationService /
IAuthenticationMethod anywhere (see tof-authentication, which is contracts-only).
Gated: FirebaseAuthBridge sits behind X_FIREBASE_AUTH, which is not togglable in
ScriptDefineToolModule — install com.google.firebase.auth to set it. Four further symbols
(X_PROFILE, X_LEADERBOARD, X_SOCIAL, X_GUILD) gate adjacent bridges;
X_PROFILE, X_LEADERBOARD and X_GUILD are in the toggle list, X_SOCIAL
is not (it comes from com.theone.feature.friend.core).
Related: Packages/com.gdk.core/Scripts/UserData/ (UserDataManager, ICloudDataHandler) is the
storage layer this plugs into, and its X_CLOUDSAVE is unset by default, so
DummyCloudDataHandler is what actually binds until you toggle it. Full symbol table: tof-core-editor.
Integration Steps
Section titled “Integration Steps”- Reference package
TheOneFeaturein your project. - Register the Playfab 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 (40): interface
IExpirable(IExpirable.cs)IPlayFabCleanup(EntryPoint.cs)IPlayFabInitialize(EntryPoint.cs)IPlayFabLoginPostProcess(EntryPoint.cs)IPlayFabLoginProcess(EntryPoint.cs)IPlayFabLogout(EntryPoint.cs) classCacheDataService(CacheDataService.cs)CloudScriptService(CloudScriptService.cs)CloudScriptVersion(CloudScriptVersion.cs)EditorGUIUtils(EditorGUIUtils.cs)Expirable(Expirable.cs)FileScanner(FileScanner.cs)FirebaseTokenProvider(FirebaseTokenProvider.cs)PermissionStatement(PolicyService.cs)PlayFabApiClient(PlayFabApiClient.cs)PlayFabAppleAuthMethod(PlayFabAppleAuthMethod.cs)PlayFabCloudSaveHandler(PlayFabCloudSaveHandler.cs)PlayFabCloudScriptHandler(PlayFabCloudScriptHandler.cs)PlayFabConfig(PlayFabConfig.cs)PlayFabCustomIdAuthMethod(PlayFabCustomIdAuthMethod.cs)PlayFabDeploymentTool(PlayFabDeploymentTool.cs)PlayFabExternalAvatarService(PlayFabExternalAvatarService.cs)PlayFabFacebookAuthMethod(PlayFabFacebookAuthMethod.cs)PlayFabFileStorageService(PlayFabFileStorageService.cs)PlayFabFirebaseAuthBridge(PlayFabFirebaseAuthBridge.cs)PlayFabFirebaseAuthBridgeValidator(PlayFabFirebaseAuthBridgeValidator.cs)PlayFabFirebaseAuthBridgeVContainer(PlayFabFirebaseAuthBridgeVContainer.cs)PlayFabGoogleAuthMethod(PlayFabGoogleAuthMethod.cs)PlayFabHelper(PlayFabHelper.cs)PlayFabLeaderboardService(PlayFabLeaderboardService.cs)PlayFabProfileRepository(PlayFabProfileRepository.cs)PlayFabProvider(PlayFabProvider.cs)PlayFabUtils(PlayFabUtils.cs)PlayFabValidator(PlayFabValidator.cs)PlayFabVContainer(PlayFabVContainer.cs)PlayFabWrapper(PlayFabWrapper.cs)PolicyFile(PolicyService.cs)PolicyService(PolicyService.cs)ScriptFile(CloudScriptService.cs) enumRevisionOption(CloudScriptVersion.cs)
Detected DI registrations:
CacheDataServiceFirebaseTokenProviderLeaderboardConfigPlayFabCloudScriptHandlerPlayFabConfigPlayFabExternalAvatarServicePlayFabFileStorageServicePlayFabFirebaseAuthBridgePlayFabLeaderboardServicePlayFabUtilsPlayFabWrapper
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/Features/Playfab/ - Doc:
Assets/TheOneFeature/Core/Features/Playfab/Core/README.md - Doc:
Assets/TheOneFeature/Core/Features/Playfab/FirebaseAuthBridge/README.md - Doc:
Assets/TheOneFeature/Core/Features/Playfab/Core/CHANGELOG.md - Doc:
Assets/TheOneFeature/Core/Features/Playfab/FirebaseAuthBridge/CHANGELOG.md - Namespace:
TheOne.Features.PlayFab.Editor,TheOneFeature.Core.Features.PlayFab.Editor,TheOne.Features.PlayFab.Editor.Services,TheOne.Features.PlayFab.Core.DI,TheOne.Features.PlayFab.Core.Models.Configs,TheOne.Features.PlayFab.Core,TheOne.Features.Profile.Core.Services,TheOne.Features.PlayFab.FirebaseAuthBridge.DI,TheOne.Features.PlayFab.FirebaseAuthBridge.Editor,TheOne.Features.PlayFab.FirebaseAuthBridge