Inheritance: EcsDispatcher, IPointerClickHandler
        protected virtual void SignalLoginUserHandler(uFrame.ECS.PointerClickDispatcher data, LoginButton source)
        {
            var handler = new SignalLoginUserHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
Example #2
0
        protected void LobbySystemPointerClickHandler(uFrame.ECS.PointerClickDispatcher data, LobbyButton source)
        {
            var handler = LobbySystemPointerClickHandlerInstance;

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            StartCoroutine(handler.Execute());
        }
Example #3
0
        protected override void UISystemPointerClickDispatcherHandler(uFrame.ECS.PointerClickDispatcher data, PlayGameButton source)
        {
            var handler = new UISystemPointerClickDispatcherHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
        protected virtual void SaveGameButtonClickedHandler(uFrame.ECS.PointerClickDispatcher data, SaveGameButton source)
        {
            var handler = new SaveGameButtonClickedHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
Example #5
0
        protected void LobbySystemPointerClickFilter(uFrame.ECS.PointerClickDispatcher data)
        {
            var SourceLobbyButton = LobbyButtonManager[data.EntityId];

            if (SourceLobbyButton == null)
            {
                return;
            }
            this.LobbySystemPointerClickHandler(data, SourceLobbyButton);
        }
        protected void SignalLoginUserFilter(uFrame.ECS.PointerClickDispatcher data)
        {
            var SourceLoginButton = LoginButtonManager[data.EntityId];

            if (SourceLoginButton == null)
            {
                return;
            }
            if (!SourceLoginButton.Enabled)
            {
                return;
            }
            this.SignalLoginUserHandler(data, SourceLoginButton);
        }
        protected void SaveGameButtonClickedFilter(uFrame.ECS.PointerClickDispatcher data)
        {
            var SourceSaveGameButton = SaveGameButtonManager[data.EntityId];

            if (SourceSaveGameButton == null)
            {
                return;
            }
            if (!SourceSaveGameButton.Enabled)
            {
                return;
            }
            this.SaveGameButtonClickedHandler(data, SourceSaveGameButton);
        }
        protected void UISystemPointerClickDispatcherFilter(uFrame.ECS.PointerClickDispatcher data)
        {
            var SourcePlayGameButton = PlayGameButtonManager[data.EntityId];

            if (SourcePlayGameButton == null)
            {
                return;
            }
            if (!SourcePlayGameButton.Enabled)
            {
                return;
            }
            this.UISystemPointerClickDispatcherHandler(data, SourcePlayGameButton);
        }