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); }
public virtual void DoDisconnect(OutOfGameRootViewModel viewModel) { }
public virtual void DoQuitRoom(OutOfGameRootViewModel viewModel) { }
public virtual void DoEnterRoom(OutOfGameRootViewModel viewModel) { }
public virtual void DoLogout(OutOfGameRootViewModel viewModel) { }
public virtual void InitGame(OutOfGameRootViewModel viewModel) { }