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

Add ServerOrClient attribute #1013

Merged
merged 4 commits into from
Feb 22, 2023

Conversation

stilnat
Copy link
Contributor

@stilnat stilnat commented Feb 13, 2023

Summary

The ServerOrClient attribute simply allows to explicitly state that a given method can be called both by server and by a client.
This improve readability by a lot, at least for me.
It doesn't affect the code in any other way.

This PR also apply the attribute in the InteractionController code, and it adds client and server attributes on other methods lacking them (and which should be only called from client or server).

@joaoburatto joaoburatto merged commit 49f9b00 into RE-SS3D:develop Feb 22, 2023
@stilnat stilnat deleted the add-ServerOrClient-attribute branch April 15, 2023 15:16
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

Successfully merging this pull request may close these issues.

3 participants