Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Conversation

@MS-crew
Copy link

@MS-crew MS-crew commented May 24, 2025

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

@github-actions github-actions bot added API Extra attention is needed Transpiler labels May 24, 2025
@MS-crew MS-crew requested a review from louis1706 May 24, 2025 19:21
@MS-crew MS-crew changed the title feat: New Changed Aspect Ratio Event feat: New Changed Aspect Ratio Event & Player::AspectRatio Property May 24, 2025
@MS-crew MS-crew closed this Jun 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

API Extra attention is needed Transpiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants