Class ChangedRatioEventArgs
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
playerReferenceHubThe player who is changed ratio.
oldratiofloatOld aspect ratio of the player.
newratiofloatNew aspect ratio of the player.
Properties
NewRatio
Gets the players new ratio.
public AspectRatioType NewRatio { get; }
Property Value
OldRatio
Gets the players old ratio.
public AspectRatioType OldRatio { get; }
Property Value
Player
Gets the player who is changed ratio.
public Player Player { get; }