- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/LiveData/Hostiles.cs
r312 r325 1 using System; 2 using System.Collections.Generic; 3 4 namespace AllocsFixes.LiveData 5 { 6 public class Hostiles : EntityFilterList<EntityEnemy> 7 { 8 1 namespace AllocsFixes.LiveData { 2 public class Hostiles : EntityFilterList<EntityEnemy> { 9 3 public static readonly Hostiles Instance = new Hostiles (); 10 4 11 override protectedEntityEnemy predicate (Entity _e) {5 protected override EntityEnemy predicate (Entity _e) { 12 6 if (_e is EntityEnemy) { 13 7 if (_e.IsAlive ()) { … … 15 9 } 16 10 } 11 17 12 return null; 18 13 } 19 20 14 } 21 15 } 22
Note:
See TracChangeset
for help on using the changeset viewer.