public override void Build()
        {
            Main.LogDebug("[GenericTriggerBuilder] Building 'Generic' trigger");
            GenericTrigger genericTrigger = new GenericTrigger(this.name, this.description, this.triggerMessageType, this.conditional, results);

            genericTrigger.Run(null);
        }
Exemplo n.º 2
0
        public override void Build()
        {
            Main.LogDebug("[GenericTriggerBuilder] Building 'Generic' trigger");

            if (this.Results == null)
            {
                Main.Logger.LogError("[GenericTriggerBuilder] Generic Triggers require 'Results'");
            }
            else
            {
                GenericTrigger genericTrigger = new GenericTrigger(this.name, this.description, this.triggerMessageType, this.conditional, Results);
                genericTrigger.Run(null);
            }
        }