Esempio n. 1
0
        public string Execute(IProtoEvent protoEvent)
        {
            if (!protoEvent.ServerIsTriggerAllowed(null))
            {
                return("Event cannot be started - ServerIsTriggerAllowed() check failed, see the error in the log");
            }

            protoEvent.ServerForceCreateAndStart();
            return($"Event started: {protoEvent}");
        }
Esempio n. 2
0
 public ConsolidatedEventNotification(IProtoEvent protoEvent)
 {
     this.ProtoEvent = protoEvent;
 }