core/player_data_rights_service library

Classes

DataErasureReceipt
Result of PlayerDataRightsService.requestErasure — confirms the local storage wipe completed, plus which best-effort erasure hooks (if any were registered) succeeded or failed, so a support/compliance flow has a concrete receipt to show or log rather than just "trust me, it's deleted".
DataExportReceipt
Result of PlayerDataRightsService.requestExport — everything currently in StorageService plus metadata identifying when/what schema it was captured under, ready to hand to a player who asked "give me my data" (GDPR/CCPA-style export request).
PlayerDataRightsService
A complete "player requested their data" workflow (GDPR/CCPA-style) built on top of StorageService.exportAll/StorageService.eraseAll — those give the low-level mechanism, this gives the business workflow: a clear export receipt with metadata, and an erasure receipt confirming completion + which other seams got a chance to clean up their own side.