// Function from file: timer.dm public override void fire( ) { Timedevent _event = null; if (!(this.processing.len != 0)) { this.can_fire = false; return; } foreach (dynamic _a in Lang13.Enumerate(this.processing, typeof(Timedevent))) { _event = _a; if (!Lang13.Bool(_event.thingToCall) || Lang13.Bool(GlobalFuncs.qdeleted(_event.thingToCall))) { GlobalFuncs.qdel(_event); } if (_event.timeToRun <= Game13.time) { this.runevent(_event); GlobalFuncs.qdel(_event); } } return; }
// Function from file: timer.dm public void runevent(Timedevent _event = null) { _event.argList.Apply(Lang13.BindFunc(_event.thingToCall, _event.procToCall)); return; }