Skip to content

Implement a player data handler with JSON#1

Merged
HyScript7 merged 1 commit intoMainfrom
feat/playerdata
Nov 28, 2025
Merged

Implement a player data handler with JSON#1
HyScript7 merged 1 commit intoMainfrom
feat/playerdata

Conversation

@HyScript7
Copy link
Owner

Re-implements the data handler based off the private AI generated prototype repository.

Certain aspects were omitted as they are bound to change or were unnecessary, such as the PlayerDataUtil, which was basically just a fancy proxy for PlayerDataManager which did a bunch of things on top.
We will do those things in the event listeners and commands where it belongs due to the planned addition of a AscendancyMessageFormatter class or something like that.

This is essentially a 1:1 copy from the prototype repository.

Player Data instances are managed by the Player Data Manager (obviously).
The instantiation of new data instances and retrieval of instances should be done through it.
In actuality, it delegates load requests to the PlayerDataStorage passed to it in the constructor.

Also implements custom exceptions for singleton instantiation and retrieval.
@HyScript7 HyScript7 merged commit 8052ba0 into Main Nov 28, 2025
@HyScript7 HyScript7 deleted the feat/playerdata branch November 28, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant