Exemplo n.º 1
0
        public virtual void StartScene(LoadingReaderSceneInfo encounterSceneInfo)
        {
            LoadingReaderSceneInfoSelector.Select(this, new LoadingReaderSceneInfoSelectedEventArgs(encounterSceneInfo));

            if (!opened)
            {
                OnButtonClicked();
            }
        }
Exemplo n.º 2
0
        protected virtual void Initialize(object sender, WriterSceneInfoSelectedEventArgs e)
        {
            var sceneInfo       = e.SceneInfo;
            var encounterStatus = new EncounterStatus(new EncounterBasicStatus(), new EncounterContentStatus());
            var encounter       = new UserEncounter(sceneInfo.User, sceneInfo.Encounter, encounterStatus);
            var encounterResult = new WaitableTask <UserEncounter>(encounter);
            var loadingInfo     = new LoadingReaderSceneInfo(sceneInfo.User, sceneInfo.LoadingScreen, encounterResult);

            LoadingReaderSceneInfoSelector.Select(this, new LoadingReaderSceneInfoSelectedEventArgs(loadingInfo));
        }