Romestead Assembly Reference

Shared.Entity.Components.HealthComponent

Type JSON

public struct in Shared.Entity.Components

Methods1
Properties0
Fields4
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Entity.Components
  • Base typeSystem.ValueType
  • Hash45849BC975F96831A0F8F7723C7404FF7CFF024B4FD49AFA50E8FC88889D9413

Relationships

Base type

System.ValueType

Fields

NameVisibilitySignature
Healthpublicpublic System.Single Health
InvincibilityTimepublicpublic System.Single InvincibilityTime
InvincibiltyTimerpublicpublic System.Single InvincibiltyTimer
MaxHealthpublicpublic System.Single MaxHealth

Methods

DoDamage

public System.Boolean DoDamage(System.Single damage, System.Boolean invinciblityEnabled)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash9F54FD8F3BFCC8A1EE11951CCBCC75C176550D7C1CFF1A3A88F291DA22683838
  • Body hash5F4AD200D288E9A169FDD6CBB70CED964FB9D65BA392C2D5A986FBB41B3043A4
  • IL size128
Referenced calls
  • System.Math::Min(System.Single, System.Single)
  • System.Math::Abs(System.Single)
Called by