Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support including hardcoded constants in the schema #79

Open
rnd256 opened this issue Jun 14, 2020 · 0 comments
Open

Support including hardcoded constants in the schema #79

rnd256 opened this issue Jun 14, 2020 · 0 comments

Comments

@rnd256
Copy link
Contributor

rnd256 commented Jun 14, 2020

This is useful because it would be an easy way to share constants across all your Colyseus server and client platforms.

Examples of what this could be used for:

  • The names of your Colyseus rooms
  • A common version number
  • Field names for JoinRoom options (although maybe this deserves a fully-shared class just like Schemas, rather than just shared field names)
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

No branches or pull requests

1 participant