Skip to content

refactor: use InternalHasAuthority() for internal self-calls in NetworkObject#4026

Draft
noellie-velez wants to merge 5 commits into
develop-2.0.0from
refactor/use-internal-has-authority-network-object
Draft

refactor: use InternalHasAuthority() for internal self-calls in NetworkObject#4026
noellie-velez wants to merge 5 commits into
develop-2.0.0from
refactor/use-internal-has-authority-network-object

Conversation

@noellie-velez

@noellie-velez noellie-velez commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Purpose of this PR

  • Replaced HasAuthority property accesses inside NetworkObject with direct InternalHasAuthority() calls
  • Rephrased two inline comments, changed !transform.parent to transform.parent == null, and fixed a doc comment to use

Jira ticket

MTT-14792

Changelog

N/A

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

N/A

@noellie-velez noellie-velez changed the title refactor: use InternalHasAuthority() for all internal authority checks in NetworkObject refactor: use InternalHasAuthority() for internal self-calls in NetworkObject Jun 11, 2026
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.

1 participant