/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Buildings/ |
H A D | TransformsIntoMobile.cs | 41 public LocomotorInfo LocomotorInfo { get; private set; } property in OpenRA.Mods.Common.Traits.TransformsIntoMobileInfo 45 var locomotorInfos = rules.Actors["world"].TraitInfos<LocomotorInfo>(); in RulesetLoaded() 46 LocomotorInfo = locomotorInfos.FirstOrDefault(li => li.Name == Locomotor); in RulesetLoaded() 47 if (LocomotorInfo == null) in RulesetLoaded() 102 if (!Info.LocomotorInfo.MoveIntoShroud && !self.Owner.Shroud.IsExplored(cell)) in IResolveOrder.ResolveOrder() 142 if (!Info.LocomotorInfo.MoveIntoShroud && order.Target.Type != TargetType.Invalid) in IOrderVoice.VoicePhraseForOrder()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/World/ |
H A D | JumpjetActorLayer.cs | 65 …bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return li is JumpjetLoc… in ICustomMovementLayer.EnabledForActor() 76 bool ValidTransitionCell(CPos cell, LocomotorInfo li) in ValidTransitionCell() 91 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost() 97 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
|
H A D | SubterraneanActorLayer.cs | 64 …bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return li is Subterrane… in ICustomMovementLayer.EnabledForActor() 75 bool ValidTransitionCell(CPos cell, LocomotorInfo li) in ValidTransitionCell() 90 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost() 96 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
|
H A D | ElevatedBridgeLayer.cs | 72 bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return enabled; } in ICustomMovementLayer.EnabledForActor() 82 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost() 87 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
|
H A D | TerrainTunnelLayer.cs | 71 bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return enabled; } in ICustomMovementLayer.EnabledForActor() 81 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost() 86 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
|
H A D | Locomotor.cs | 58 public class LocomotorInfo : ITraitInfo class 142 internal WorldMovementInfo(World world, LocomotorInfo info) in WorldMovementInfo() 154 public LocomotorInfo() in LocomotorInfo() method in OpenRA.Mods.Common.Traits.LocomotorInfo 206 public readonly LocomotorInfo Info; 213 LocomotorInfo.TerrainInfo[] terrainInfos; 220 public Locomotor(Actor self, LocomotorInfo info) in Locomotor()
|
H A D | JumpjetLocomotor.cs | 17 public class JumpjetLocomotorInfo : LocomotorInfo
|
H A D | SubterraneanLocomotor.cs | 17 public class SubterraneanLocomotorInfo : LocomotorInfo
|
H A D | PathFinder.cs | 22 public class PathFinderInfo : ITraitInfo, Requires<LocomotorInfo> 107 var li = mi.LocomotorInfo; in FindUnitPathToRange()
|
H A D | DomainIndex.cs | 40 public bool IsPassable(CPos p1, CPos p2, LocomotorInfo li) in IsPassable()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/ |
H A D | Mobile.cs | 67 public LocomotorInfo LocomotorInfo { get; private set; } property in OpenRA.Mods.Common.Traits.MobileInfo 71 var locomotorInfos = rules.Actors["world"].TraitInfos<LocomotorInfo>(); in RulesetLoaded() 72 LocomotorInfo = locomotorInfos.FirstOrDefault(li => li.Name == Locomotor); in RulesetLoaded() 73 if (LocomotorInfo == null) in RulesetLoaded() 123 bool IOccupySpaceInfo.SharesCell { get { return LocomotorInfo.SharesCell; } } 251 if (Info.LocomotorInfo.SharesCell) in OccupiedCells() 451 if (Info.LocomotorInfo.SharesCell) in GetValidSubCell() 579 if (crushes.Trait.CrushableBy(crushes.Actor, self, Info.LocomotorInfo.Crushes)) in AnyCrushables() 953 if (!Info.LocomotorInfo.MoveIntoShroud && !self.Owner.Shroud.IsExplored(cell)) in IResolveOrder.ResolveOrder() 999 readonly LocomotorInfo locomotorInfo; [all …]
|
H A D | Crushable.cs | 60 …self.Kill(crusher, crusherMobile != null ? crusherMobile.Info.LocomotorInfo.CrushDamageTypes : def… in INotifyCrushed.OnCrush()
|
H A D | ProductionFromMapEdge.cs | 62 var locomotorInfo = mobileInfo.LocomotorInfo; in Produce()
|
H A D | Carryall.cs | 179 …landableTerrainTypes = Carryable.Trait<Mobile>().Info.LocomotorInfo.TerrainSpeeds.Keys.ToHashSet(); in AttachCarryable()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Lint/ |
H A D | CheckLocomotorReferences.cs | 24 var locomotorInfos = worldActor.TraitInfos<LocomotorInfo>().ToArray(); in Run() 50 …void CheckLocomotors(ActorInfo actorInfo, Action<string> emitError, Ruleset rules, LocomotorInfo[]… in CheckLocomotors()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/ |
H A D | Mine.cs | 48 if (mobile != null && !info.DetonateClasses.Overlaps(mobile.Info.LocomotorInfo.Crushes)) in INotifyCrushed.OnCrush() 51 …self.Kill(crusher, mobile != null ? mobile.Info.LocomotorInfo.CrushDamageTypes : default(BitSet<Da… in INotifyCrushed.OnCrush()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Conditions/ |
H A D | GrantConditionOnSubterraneanLayer.cs | 38 if (mobileInfo == null || !(mobileInfo.LocomotorInfo is SubterraneanLocomotorInfo)) in RulesetLoaded() 55 var li = (SubterraneanLocomotorInfo)mobileInfo.LocomotorInfo; in Created()
|
H A D | GrantConditionOnJumpjetLayer.cs | 21 if (mobileInfo == null || !(mobileInfo.LocomotorInfo is JumpjetLocomotorInfo)) in RulesetLoaded()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/ |
H A D | FindAndDeliverResources.cs | 27 readonly LocomotorInfo locomotorInfo; 46 locomotorInfo = mobile.Info.LocomotorInfo; in FindAndDeliverResources()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/ |
H A D | TraitsInterfaces.cs | 402 bool EnabledForActor(ActorInfo a, LocomotorInfo li); in EnabledForActor() 403 int EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell); in EntryMovementCost() 404 int ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell); in ExitMovementCost()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/Move/ |
H A D | MoveAdjacentTo.cs | 138 if (domainIndex.IsPassable(loc, cell, Mobile.Info.LocomotorInfo) && Mobile.CanEnterCell(cell)) in CalculatePathToTarget()
|
H A D | Move.cs | 283 waitTicksRemaining = mobile.Info.LocomotorInfo.WaitAverage; in PopPath()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/BotModules/Squads/States/ |
H A D | NavyStates.cs | 32 var locomotorInfo = first.Info.TraitInfo<MobileInfo>().LocomotorInfo; in FindClosestEnemy()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Pathfinder/ |
H A D | PathGraph.cs | 90 readonly LocomotorInfo.WorldMovementInfo worldMovementInfo;
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Crates/ |
H A D | Crate.cs | 135 return self.IsAtGroundLevel() && mi.LocomotorInfo.Crushes.Contains(info.CrushClass); in INotifyParachute.OnLanded()
|