Class OpenHealthManager
Inheritance
System.Object
OpenHealthManager
Assembly: OpenAPI.dll
Syntax
public class OpenHealthManager : HealthManager
Constructors
|
Improve this Doc
View Source
OpenHealthManager(Entity)
Declaration
public OpenHealthManager(Entity entity)
Parameters
| Type |
Name |
Description |
| Entity |
entity |
|
Methods
|
Improve this Doc
View Source
Kill()
Declaration
public override void Kill()
|
Improve this Doc
View Source
Regen(Int32)
Declaration
public override void Regen(int amount = 1)
Parameters
| Type |
Name |
Description |
| System.Int32 |
amount |
|
|
Improve this Doc
View Source
TakeHit(Entity, Item, Int32, DamageCause)
Declaration
public override void TakeHit(Entity source, Item tool, int damage = 1, DamageCause cause = null)
Parameters
| Type |
Name |
Description |
| Entity |
source |
|
| Item |
tool |
|
| System.Int32 |
damage |
|
| DamageCause |
cause |
|
|
Improve this Doc
View Source
TakeHit(Entity, Int32, DamageCause)
Declaration
public override void TakeHit(Entity source, int damage = 1, DamageCause cause = null)
Parameters
| Type |
Name |
Description |
| Entity |
source |
|
| System.Int32 |
damage |
|
| DamageCause |
cause |
|