C# Class fBaseXtensions.Cache.Internal.Objects.CacheUnit

Inheritance: CacheObject
Mostrar archivo Open project: herbfunk/Funky Class Usage Examples

Private Properties

Property Type Description
CheckMonsterAffixes void
GenerateUnitFlags UnitFlags
TallyTarget void
UpdateCurrentHitPoints void

Public Methods

Method Description
CacheUnit ( CacheObject baseobj ) : System
CanInteract ( ) : bool
Interact ( ) : RunStatus
IsStillValid ( ) : bool
UpdateData ( ) : bool
UpdateHitPoints ( ) : bool

This only updates hitpoints every 5th call to help reduce CPU!

UpdateProperties ( ) : void
UpdateWeight ( ) : void
WithinInteractionRange ( ) : bool

Private Methods

Method Description
CheckMonsterAffixes ( MonsterAffixes theseaffixes ) : void
GenerateUnitFlags ( ) : UnitFlags
TallyTarget ( ) : void
UpdateCurrentHitPoints ( ) : void

Method Details

CacheUnit() public method

public CacheUnit ( CacheObject baseobj ) : System
baseobj CacheObject
return System

CanInteract() public method

public CanInteract ( ) : bool
return bool

Interact() public method

public Interact ( ) : RunStatus
return RunStatus

IsStillValid() public method

public IsStillValid ( ) : bool
return bool

UpdateData() public method

public UpdateData ( ) : bool
return bool

UpdateHitPoints() public method

This only updates hitpoints every 5th call to help reduce CPU!
public UpdateHitPoints ( ) : bool
return bool

UpdateProperties() public method

public UpdateProperties ( ) : void
return void

UpdateWeight() public method

public UpdateWeight ( ) : void
return void

WithinInteractionRange() public method

public WithinInteractionRange ( ) : bool
return bool