Skip to content

feat: New Changed Aspect Ratio Event & Player::AspectRatio Property#556

Merged
louis1706 merged 9 commits into
ExMod-Team:devfrom
MS-crew:ChangedAspectRatio
Jul 5, 2025
Merged

feat: New Changed Aspect Ratio Event & Player::AspectRatio Property#556
louis1706 merged 9 commits into
ExMod-Team:devfrom
MS-crew:ChangedAspectRatio

Conversation

@MS-crew

@MS-crew MS-crew commented Jun 13, 2025

Copy link
Copy Markdown

Description

Describe the changes
Added ChangedRatio event to detect when a player's aspect ratio changes.

What is the current behavior? (You can also link to an open issue here)
Currently, Exiled has no way to detect or handle player aspect ratio changed.

What is the new behavior? (if this is a feature change)
New event triggers when player's aspect ratio changes, provides both old and new ratio values.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
❌ No , This is purely additive functionality

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

@louis1706 louis1706 merged commit d80e4de into ExMod-Team:dev Jul 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants