示例#1
0
 public virtual void InitializeOutOfGameRoot(OutOfGameRootViewModel viewModel)
 {
     // This is called when a OutOfGameRootViewModel is created
     viewModel.InitGame.Action     = this.InitGameHandler;
     viewModel.DoLogin.Action      = this.DoLoginHandler;
     viewModel.DoLogout.Action     = this.DoLogoutHandler;
     viewModel.DoEnterRoom.Action  = this.DoEnterRoomHandler;
     viewModel.DoQuitRoom.Action   = this.DoQuitRoomHandler;
     viewModel.DoDisconnect.Action = this.DoDisconnectHandler;
     OutOfGameRootViewModelManager.Add(viewModel);
 }
 public override void DoDisconnect(OutOfGameRootViewModel viewModel)
 {
     base.DoDisconnect(viewModel);
 }
 public override void DoLogout(OutOfGameRootViewModel viewModel)
 {
     base.DoLogout(viewModel);
 }
        public override void InitGame(OutOfGameRootViewModel viewModel)
        {
            base.InitGame(viewModel);

            Publish(new NetInit());
        }
 public override void DoQuitRoom(OutOfGameRootViewModel viewModel)
 {
     base.DoQuitRoom(viewModel);
 }
 public override void InitializeOutOfGameRoot(OutOfGameRootViewModel viewModel)
 {
     base.InitializeOutOfGameRoot(viewModel);
 }
示例#7
0
 public virtual void DoDisconnect(OutOfGameRootViewModel viewModel)
 {
 }
示例#8
0
 public virtual void DoQuitRoom(OutOfGameRootViewModel viewModel)
 {
 }
示例#9
0
 public virtual void DoEnterRoom(OutOfGameRootViewModel viewModel)
 {
 }
示例#10
0
 public virtual void DoLogout(OutOfGameRootViewModel viewModel)
 {
 }
示例#11
0
 public virtual void InitGame(OutOfGameRootViewModel viewModel)
 {
 }