Table of Contents

Class ChangedRatioEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after a player's Aspect Ratio changes.

public class ChangedRatioEventArgs : IPlayerEvent, IExiledEvent
Inheritance
ChangedRatioEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ChangedRatioEventArgs(ReferenceHub, float, float)

Initializes a new instance of the ChangedRatioEventArgs class.

public ChangedRatioEventArgs(ReferenceHub player, float oldratio, float newratio)

Parameters

player ReferenceHub

The player who is changed ratio.

oldratio float

Old aspect ratio of the player.

newratio float

New aspect ratio of the player.

Properties

NewRatio

Gets the players new ratio.

public AspectRatioType NewRatio { get; }

Property Value

AspectRatioType

OldRatio

Gets the players old ratio.

public AspectRatioType OldRatio { get; }

Property Value

AspectRatioType

Player

Gets the player who is changed ratio.

public Player Player { get; }

Property Value

Player