Пример #1
0
        public static SaleTypeVO GetCurrentActiveSale()
        {
            StaticDataController staticDataController = Service.StaticDataController;

            foreach (SaleTypeVO current in staticDataController.GetAll <SaleTypeVO>())
            {
                if (TimedEventUtils.IsTimedEventActive(current))
                {
                    return(current);
                }
            }
            return(null);
        }
Пример #2
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(TimedEventUtils.IsTimedEventActive((ITimedEventVO)GCHandledObjects.GCHandleToObject(*args))));
 }