Formatting: wrap and indent long argument lists
This commit is contained in:
committed by
abcdefg30
parent
d5ff5c672b
commit
227567dfe1
@@ -65,7 +65,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
if (!IsTraitDisabled)
|
||||
{
|
||||
yield return new EnterAlliedActorTargeter<BuildingInfo>("Enter", 5, Info.EnterCursor, Info.EnterBlockedCursor, AircraftCanEnter,
|
||||
yield return new EnterAlliedActorTargeter<BuildingInfo>(
|
||||
"Enter",
|
||||
5,
|
||||
Info.EnterCursor,
|
||||
Info.EnterBlockedCursor,
|
||||
AircraftCanEnter,
|
||||
target => Reservable.IsAvailableFor(target, self));
|
||||
|
||||
yield return new AircraftMoveOrderTargeter(self, this);
|
||||
|
||||
@@ -60,7 +60,13 @@ namespace OpenRA.Mods.Common.Traits
|
||||
get
|
||||
{
|
||||
if (!IsTraitDisabled)
|
||||
yield return new EnterAlliedActorTargeter<CargoInfo>("EnterTransport", 5, Info.EnterCursor, Info.EnterBlockedCursor, IsCorrectCargoType, CanEnter);
|
||||
yield return new EnterAlliedActorTargeter<CargoInfo>(
|
||||
"EnterTransport",
|
||||
5,
|
||||
Info.EnterCursor,
|
||||
Info.EnterBlockedCursor,
|
||||
IsCorrectCargoType,
|
||||
CanEnter);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,13 @@ namespace OpenRA.Mods.Common.Traits
|
||||
get
|
||||
{
|
||||
if (!IsTraitDisabled)
|
||||
yield return new EnterAlliedActorTargeter<BuildingInfo>("Repair", 5, Info.EnterCursor, Info.EnterBlockedCursor, CanRepairAt, _ => CanRepair());
|
||||
yield return new EnterAlliedActorTargeter<BuildingInfo>(
|
||||
"Repair",
|
||||
5,
|
||||
Info.EnterCursor,
|
||||
Info.EnterBlockedCursor,
|
||||
CanRepairAt,
|
||||
_ => CanRepair());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user