Table of Contents

Class CustomHealthStat

Namespace
Exiled.API.Features
Assembly
Exiled.API.dll

A custom version of PlayerStatsSystem.HealthStat which allows the player's max amount of health to be changed. TODO: Move to Features.CustomStats.

public class CustomHealthStat : HealthStat
Inheritance
StatBase
SyncedStatBase
HealthStat
CustomHealthStat
Inherited Members
HealthStat.ReadValue(NetworkReader)
HealthStat.WriteValue(NetworkWriter)
HealthStat.ClassChanged()
HealthStat.Mode
HealthStat.MinValue
HealthStat.FullyHealed
SyncedStatBase._lastValue
SyncedStatBase._lastSent
SyncedStatBase._valueDirty
SyncedStatBase._syncId
SyncedStatBase._canReceive
SyncedStatBase.AllSyncedStats
SyncedStatBase.Update()
SyncedStatBase.CanReceive(ReferenceHub)
SyncedStatBase.InitOnLoad()
SyncedStatBase.CurValue
SyncedStatBase.SyncId
SyncedStatBase.OnStatChange
StatBase.<Hub>k__BackingField
StatBase.Init(ReferenceHub)
StatBase.NormalizedValue
StatBase.Hub
Extension Methods

Properties

CustomMaxValue

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

public float CustomMaxValue { get; set; }

Property Value

float

MaxValue

public override float MaxValue { get; }

Property Value

float