-
Hi! I am creating a new player's argument, called "alignment", and I want to send this to a player.
I first thought it was quite easy, first doing the second point, then copying what I have done for the first point. But I didn't find when the roles are sent. I saw there is the function "distributeRole", which edits a boolean "isRoleDistributed" in another file, and probably again another file acts according to this boolean's value. But I didn't find the end of the chain. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Roles are sent here: https://github.com/bra1n/townsquare/blob/develop/src/store/socket.js#L655 |
Beta Was this translation helpful? Give feedback.
Roles are sent here: https://github.com/bra1n/townsquare/blob/develop/src/store/socket.js#L655
However, what you describe is something I would not call "simple"... rather, this would be a lot of work with the current framework, I'd say. 😬