コード例 #1
0
 public void Clean()
 {
     LastTick         = 0;
     RefreshTick      = 0;
     FirstTick        = 0;
     Relation         = DefenseShields.Ent.Ignore;
     PreviousRelation = DefenseShields.Ent.Ignore;
 }
コード例 #2
0
 public ProtectCache(uint firstTick, uint lastTick, uint refreshTick, DefenseShields.Ent relation, DefenseShields.Ent previousRelation)
 {
     FirstTick        = firstTick;
     LastTick         = lastTick;
     RefreshTick      = refreshTick;
     Relation         = relation;
     PreviousRelation = previousRelation;
 }
コード例 #3
0
 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;
     }
 }
コード例 #4
0
 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;
 }