using QSB.Messaging; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QSB.Events { class WakeUpEvent : QSBEvent { public override MessageType Type => MessageType.WakeUp; public override void SetupListener() { GlobalMessenger.AddListener("QSBServerTime", (time, count) => SendEvent( new WakeUpMessage { ServerTime = time, LoopCount = count })); } } }