Class BlockHitCache
Inheritance
System.Object
BlockHitCache
Assembly: Eco.Gameplay.dll
Syntax
public class BlockHitCache : Object
Constructors
BlockHitCache()
Declaration
Fields
HitMemoryCapacity
Declaration
public const int HitMemoryCapacity = 16
Field Value
Type |
Description |
System.Int32 |
|
Methods
ForgetHit(Vector3i)
Declaration
public void ForgetHit(Vector3i pos)
Parameters
MemorizeHit(BlockHitCache.BlockHit)
Declaration
public float MemorizeHit(BlockHitCache.BlockHit blockHit)
Parameters
Returns
Type |
Description |
System.Single |
|
MemorizeHit(Type, Vector3i, Single)
Declaration
public float MemorizeHit(Type blockType, Vector3i pos, float dmg)
Parameters
Type |
Name |
Description |
System.Type |
blockType |
|
Vector3i |
pos |
|
System.Single |
dmg |
|
Returns
Type |
Description |
System.Single |
|
Extension Methods