This repository was archived by the owner on Dec 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: introduce persistent player data tracking and binary tag handling #113
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
871f3e5
feat: introduce persistent player data tracking and binary tag handling
twisti-dev c0a03ba
Merge branch 'master' into feat/ppdc-view
twisti-dev dbd36fb
feat: enhance player data handling with tracking, patches, and bidire…
twisti-dev 795db6d
feat: streamline player data management and update protocol version
twisti-dev 76ff78e
feat: enable fair locking for player data container
twisti-dev 7c64467
feat: optimize binary tag codecs with buffered and compressed streams
twisti-dev 4136747
feat: replace static binary tag type management with proxy-based mapping
twisti-dev 2bcffc7
feat: refactor persistent player data handling and test plugin structure
twisti-dev a0bfe11
feat: implement deep copy for CompoundBinaryTag in node-based approach
twisti-dev d07534f
fix: remove redundant blank lines in `snapshot` deep copy logic
twisti-dev 5e1a685
chore: update Qodana config to include linter version and refine paths
twisti-dev c689151
Initial plan
Copilot 64450f5
Initial plan
Copilot b347ddc
Update surf-cloud-api/surf-cloud-api-common/src/main/kotlin/dev/slne/…
twisti-dev 8100793
Initial plan
Copilot 51a1154
feat: add ArrayDeque documentation and nesting depth limit check
Copilot 14214ed
Replace Stack with ArrayDeque in pruneEmptyAncestors
Copilot 7bb1713
fix: ensure snapshot() holds read lock during deep copy
Copilot 96c2918
fix: update snapshot logic to use `snapshotTag` for consistency
twisti-dev 28f5fb2
Merge pull request #124 from SLNE-Development/copilot/sub-pr-113-anot…
twisti-dev 6b809c9
Merge pull request #123 from SLNE-Development/copilot/sub-pr-113-again
twisti-dev 71297ee
Merge remote-tracking branch 'origin/feat/ppdc-view' into copilot/sub…
Copilot ee7f6cc
feat: centralize nesting depth validation in PersistentPlayerDataCont…
twisti-dev 7136deb
Merge pull request #122 from SLNE-Development/copilot/sub-pr-113
twisti-dev 6a9e67a
Initial plan
Copilot ddd7d7a
docs: add KDoc documentation to ensureValidNestingDepth function
Copilot 68f1471
fix: handle uninitialized response in RespondingNettyPacket
twisti-dev 2d57c4f
Merge remote-tracking branch 'origin/copilot/sub-pr-113' into copilot…
twisti-dev 5efba7a
Merge pull request #125 from SLNE-Development/copilot/sub-pr-113
twisti-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...-api-common/src/main/kotlin/dev/slne/surf/cloud/api/common/internal/BinaryTagTypeProxy.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| package dev.slne.surf.cloud.api.common.internal | ||
|
|
||
| import dev.slne.surf.cloud.api.common.util.annotation.InternalApi | ||
| import dev.slne.surf.surfapi.core.api.reflection.* | ||
| import net.kyori.adventure.nbt.BinaryTag | ||
| import net.kyori.adventure.nbt.BinaryTagType | ||
|
|
||
| @InternalApi | ||
| @SurfProxy(BinaryTagType::class) | ||
| internal interface BinaryTagTypeProxy { | ||
|
|
||
| @Static | ||
| @Field("TYPES", Field.Type.GETTER) | ||
| fun getTypes(): List<BinaryTagType<out BinaryTag>> | ||
|
|
||
| companion object { | ||
| internal val instance = surfReflection.createProxy<BinaryTagTypeProxy>() | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.