Search Results for

    Show / Hide Table of Contents

    Class CustomHealthStat

    A custom version of PlayerStatsSystem.HealthStat which allows the player's max amount of health to be changed.

    Inheritance
    System.Object
    PlayerStatsSystem.StatBase
    PlayerStatsSystem.SyncedStatBase
    PlayerStatsSystem.HealthStat
    CustomHealthStat
    Inherited Members
    PlayerStatsSystem.HealthStat.ReadValue(Mirror.NetworkReader)
    PlayerStatsSystem.HealthStat.WriteValue(Mirror.NetworkWriter)
    PlayerStatsSystem.HealthStat.CheckDirty(System.Single, System.Single)
    PlayerStatsSystem.HealthStat.ClassChanged()
    PlayerStatsSystem.HealthStat.ServerHeal(System.Single)
    PlayerStatsSystem.HealthStat.Mode
    PlayerStatsSystem.HealthStat.MinValue
    PlayerStatsSystem.SyncedStatBase._lastValue
    PlayerStatsSystem.SyncedStatBase._lastSent
    PlayerStatsSystem.SyncedStatBase._valueDirty
    PlayerStatsSystem.SyncedStatBase._syncId
    PlayerStatsSystem.SyncedStatBase.AllSyncedStats
    PlayerStatsSystem.SyncedStatBase.OnValueChanged(System.Single, System.Single)
    PlayerStatsSystem.SyncedStatBase.GetStatOfUser(System.UInt32, System.Byte)
    PlayerStatsSystem.SyncedStatBase.Update()
    PlayerStatsSystem.SyncedStatBase.CanReceive(ReferenceHub)
    PlayerStatsSystem.SyncedStatBase.InitOnLoad()
    PlayerStatsSystem.SyncedStatBase.CurValue
    PlayerStatsSystem.SyncedStatBase.SyncId
    PlayerStatsSystem.StatBase.<Hub>k__BackingField
    PlayerStatsSystem.StatBase.Init(ReferenceHub)
    PlayerStatsSystem.StatBase.NormalizedValue
    PlayerStatsSystem.StatBase.Hub
    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.API.Features
    Assembly: Exiled.API.dll
    Syntax
    public class CustomHealthStat : HealthStat

    Properties

    | Improve this Doc View Source

    CustomMaxValue

    Gets or sets the maximum amount of health the player will have.

    Declaration
    public float CustomMaxValue { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    MaxValue

    Declaration
    public override float MaxValue { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    PlayerStatsSystem.HealthStat.MaxValue

    Extension Methods

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