Esempio n. 1
0
        protected virtual void healthSysNewEventNodeHandler(test.NewEventNode data, healthComp clickedentity)
        {
            var handler = healthSysNewEventNodeHandlerInstance;

            handler.System        = this;
            handler.Event         = data;
            handler.clickedEntity = clickedentity;
            handler.Execute();
        }
        public virtual void Execute()
        {
            // PublishEventNode
            var PublishEventNode10_Event = new NewEventNode();

            PublishEventNode10_Event.clickedEntity = Source.EntityId;
            System.Publish(PublishEventNode10_Event);
            PublishEventNode10_Result = PublishEventNode10_Event;
        }
Esempio n. 3
0
        protected void healthSysNewEventNodeFilter(test.NewEventNode data)
        {
            var clickedEntityhealthComp = healthCompManager[data.clickedEntity];

            if (clickedEntityhealthComp == null)
            {
                return;
            }
            if (!clickedEntityhealthComp.Enabled)
            {
                return;
            }
            this.healthSysNewEventNodeHandler(data, clickedEntityhealthComp);
        }