-
Notifications
You must be signed in to change notification settings - Fork 14
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
Added Static typings #277
base: main
Are you sure you want to change the base?
Added Static typings #277
Conversation
…piler hits error if function doesnt exist, so typos are caught with static RPC functions)
_auth_input_props.push_back(pe) | ||
for picked_property in input_properties: | ||
picked_property_entry = _property_cache.get_entry(picked_property) | ||
_record_input_props.push_back(picked_property_entry) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that _record_input_props
is set here outside authority. Solves #250 and its tested to work locally, as intended in all my other PRs. After all, it is not set anywhere if not here, and before this commit, _record_input_props
is the same as _auth_input_props
for exclusively the authority player, which makes _record_input_props
obsolete to _auth_input_props
.
And as mentioned elsewhere, this change is how _auth_state_props
and _record_state_props
works, so I see this as a bugfix
The only non-static typing in this PR is the handling of
_record_input_props
as its just 1 line and solves #250As for the version bump for each PR, I suggest implementing git hooks which automatically upgrade those values after each PR, because that is the only conflict here (I resolved it, but this has version 1.8.4 just like #276 but I guess if both are merged its good, I will resolve merge conflicts if any)