please help!onAdd and onRemove unable to trigger,but onStateChange can trigger #787
Unanswered
a346573450
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @a346573450, please take a look at the documentation here: https://docs.colyseus.io/state/schema-callbacks/#onadd-fn-item-key-triggerall-true You seem to be using 0.14 callbacks ( I hope this helps! Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
**Room.onStateChange can trigger ,but onAdd and onRemove Unable to trigger. No network requests received.
This problem has been bothering me for many days.
Can you give me some help? I hope to receive your guidance.thanks!**
### this is client code

pic1
pic2

this is server code
pic1

pic2

pic3

Beta Was this translation helpful? Give feedback.
All reactions