public void Clean() { LastTick = 0; RefreshTick = 0; FirstTick = 0; Relation = DefenseShields.Ent.Ignore; PreviousRelation = DefenseShields.Ent.Ignore; }
public ProtectCache(uint firstTick, uint lastTick, uint refreshTick, DefenseShields.Ent relation, DefenseShields.Ent previousRelation) { FirstTick = firstTick; LastTick = lastTick; RefreshTick = refreshTick; Relation = relation; PreviousRelation = previousRelation; }
public void Init(bool touched, BoundingBox box, uint firstTick, uint lastTick, uint refreshTick, DefenseShields.Ent relation) { Touched = touched; Box = box; FirstTick = firstTick; LastTick = lastTick; RefreshTick = refreshTick; Relation = relation; RefreshNow = true; if (relation == DefenseShields.Ent.EnemyInside) { EnemySafeInside = true; } }
public EntIntersectInfo(float damage, double empSize, bool touched, BoundingBox box, Vector3D contactPoint, Vector3D empDetonation, uint firstTick, uint lastTick, uint refreshTick, uint blockUpdateTick, DefenseShields.Ent relation, List <IMySlimBlock> cacheBlockList) { CacheBlockList = cacheBlockList; Damage = damage; EmpSize = empSize; Touched = touched; Box = box; ContactPoint = contactPoint; EmpDetonation = empDetonation; FirstTick = firstTick; LastTick = lastTick; RefreshTick = refreshTick; BlockUpdateTick = blockUpdateTick; Relation = relation; }