Search Results for

    Show / Hide Table of Contents

    Class EarningAchievementEventArgs

    Contains all information before a player earns an achievement.

    Inheritance
    System.Object
    EarningAchievementEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Events.EventArgs.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class EarningAchievementEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    EarningAchievementEventArgs(Player, AchievementName, Boolean)

    Initializes a new instance of the EarningAchievementEventArgs class.

    Declaration
    public EarningAchievementEventArgs(Player player, AchievementName achievementName, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    Achievements.AchievementName achievementName
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    AchievementName

    Gets the achievement that will be earned.

    Declaration
    public AchievementName AchievementName { get; }
    Property Value
    Type Description
    Achievements.AchievementName
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the achievement will be awarded to the player.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who earned the achievement.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX