Skip to content

Fix Player comparison#279

Merged
louis1706 merged 1 commit intoExMod-Team:scpsl14from
BoltonDev:fix-player-comparison
Nov 30, 2024
Merged

Fix Player comparison#279
louis1706 merged 1 commit intoExMod-Team:scpsl14from
BoltonDev:fix-player-comparison

Conversation

@BoltonDev
Copy link
Copy Markdown
Member

Description

Describe the changes
Overload two operators == & != to Player class and add Equals and GetHashCode.
Fix comparison between two player instances.

What is the current behavior? (You can also link to an open issue here)

What is the new behavior? (if this is a feature change)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

@github-actions github-actions bot added the API label Nov 30, 2024
@BoltonDev BoltonDev linked an issue Nov 30, 2024 that may be closed by this pull request
Copy link
Copy Markdown
Member

@IRacle1 IRacle1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

op

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Left event is firing on Dedicated Server

3 participants