Skip to content

Conversation

@xCynDev
Copy link
Contributor

@xCynDev xCynDev commented May 2, 2025

This PR adds CustomDataStore.Exists(), which allows you to check if a CustomDataStore instance exists on the given Player, without creating one like CustomDataStore.GetOrAdd() would.

Since there currently is no way to check for that, I figured I'd make a PR.

It also adds CustomDataStore<TStore>.Exists() and Player.HasDataStore<TStore>() as helper methods.

Made a new PR to merge into data-store-performance instead of master as requested by @x3rt

@x3rt x3rt merged commit c1527c6 into northwood-studios:data-store-performance May 2, 2025
@x3rt
Copy link
Contributor

x3rt commented May 2, 2025

Thank you!

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.

2 participants