public override bool HandToolAllowPlacementInSlot(IGameObject objectToPlaceInSlot, Slot slot, AdditionalSlotPlacementCheckResults checks) { bool flag = false; IUsesParkingSpace usesParkingSpace = objectToPlaceInSlot as IUsesParkingSpace; if (usesParkingSpace != null && (ulong)usesParkingSpace.NumParkingSpotsOccupied <= (ulong)((long)this.FillsNumSpaces)) { flag = true; } checks.IgnoreSlotPlacementFlags = flag; return flag; }
public override bool HandToolAllowPlacementInSlot(IGameObject objectToPlaceInSlot, Slot slot, AdditionalSlotPlacementCheckResults checks) { checks.IgnoreSlotPlacementFlags = true; return true; }
public override bool HandToolAllowPlacementInSlot(IGameObject objectToPlaceInSlot, Slot slot, AdditionalSlotPlacementCheckResults checks) { bool flag = false; IUsesParkingSpace usesParkingSpace = objectToPlaceInSlot as IUsesParkingSpace; if (usesParkingSpace != null && (ulong)usesParkingSpace.NumParkingSpotsOccupied <= (ulong)((long)this.FillsNumSpaces)) { flag = true; } checks.IgnoreSlotPlacementFlags = flag; return(flag); }
public override bool HandToolAllowPlacementInSlot(IGameObject objectToPlaceInSlot, Slot slot, AdditionalSlotPlacementCheckResults checks) { checks.IgnoreSlotPlacementFlags = true; return(true); }