namespace ET { // 进入视野通知 [Event] public class UnitEnterSightRange_NotifyClient: AEvent { protected override void Run(EventType.UnitEnterSightRange args) { // AOIEntity a = args.A; // AOIEntity b = args.B; // if (a.Id == b.Id) // { // return; // } // // Unit ua = a.GetParent(); // if (ua.Type != UnitType.Player) // { // return; // } // // Unit ub = b.GetParent(); // // UnitHelper.NoticeUnitAdd(ua, ub); } } }