Assembly: Sandbox.Common.dll

public interface IMyHazardReceiver

Describes a subject of hazard exposure

Methods

Member Description
Apply(float, MyStringHash, MyStringHash) Affects corresponding entity stat. Does not check admin protection. For Radiation, checks immunity stat. Positive value increases stat (except Health, which is reduced by positive damage value).
CanBeAffected() Is it sheltered from the exposure?
GetEntity() Gets the associated entity
GetPosition() Gets world position

Inheritors: