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}"); }
public ConsolidatedEventNotification(IProtoEvent protoEvent) { this.ProtoEvent = protoEvent; }