You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after reading the official documentation, I wasn't 100% certain that Colyseus was only server authoritative (although I was 95% maybe ;))
What made me doubt is the fact that schema properties are actually public fields in the generated C# classes!
Since state cannot be mutated directly on the client side, we shouldn't allow this. Best to make these fields internal with a public getter, the intent will then be clear for any C# developer.
The text was updated successfully, but these errors were encountered:
Even after reading the official documentation, I wasn't 100% certain that Colyseus was only server authoritative (although I was 95% maybe ;))
What made me doubt is the fact that schema properties are actually public fields in the generated C# classes!
Since state cannot be mutated directly on the client side, we shouldn't allow this. Best to make these fields internal with a public getter, the intent will then be clear for any C# developer.
The text was updated successfully, but these errors were encountered: