Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. govem
govem

govem

@govem

Chat Follow Unfollow
0
Reputation
1
Posts
800
Profile views
0
Followers
0
Following
Joined 11 Jan 2021, 03:15 Last Online 11 Jan 2021, 14:02

  • Profile
  • More
    • Continue chat with govem
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
govem Follow

Posts made by govem

Nested schema levels

Hello
I have a schema like this:

state
  players (ArraySchema)
    characters (MapSchema)
      active (boolean)
      slots (ArraySchema)
        cards (Schema)
          dice (Schema)
            flag (boolean)

in a command, i need to change the active and the flag variables, both boolean. I debugged the command and at the end of it, the changes were made and everything is ok. But when the change gets to the client and i inspect it, only the active variable is changed and the flag variable remain unchanged. Why is that? is there some kind of limit to the nested levels of serialization? what alternatives do i have?

posted in Questions & Help • 11 Jan 2021, 03:28

© 2023 Endel Dreyer