public override void SetContractTerminated(Contract.ContractTerminationType inContractTerminationType = Contract.ContractTerminationType.Generic)
    {
        if (this.contractStatus == Contract.ContractStatus.Terminated)
        {
            return;
        }
        Team team = this.GetTeam();

        base.SetContractTerminated(Contract.ContractTerminationType.Generic);

        this.employeer     = (Entity)null;
        this.employeerName = string.Empty;
        if (!(this.mCalendarEvent.triggerDate > Game.instance.time.now))
        {
            return;
        }
    }
    public void FirePerson(Person inPersonToFire, Contract.ContractTerminationType inContractTerminationType = Contract.ContractTerminationType.Generic)
    {
        /*if (this.hasDraftProposal(inPersonToFire) && inPersonToFire.contractManager.isRenewProposal)
         * {
         *  if (this.mTeam.IsPlayersTeam())
         *      Game.instance.dialogSystem.OnContractElapsedOrFiredWhileRenewing(inPersonToFire);
         *  if (inPersonToFire.contractManager.isConsideringProposal)
         *      this.CancelDraftProposal(inPersonToFire);
         *  else
         *      this.RemoveDraftProposal(inPersonToFire);
         * }*/
        //inPersonToFire.Contract.Job1 = Contract.Job.Unemployed;
        //inPersonToFire.Contract.SetContractTerminated(inContractTerminationType);
        //this.GetSlotForPerson(inPersonToFire).personHired = (Person)null;
        inPersonToFire.careerHistory.MarkLastEntryTeamAsFinished(this.mTeam);

        /*if (Game.IsActive() && this.mTeam.IsPlayersTeam() && (inPersonToFire != Game.instance.player && !Game.instance.dilemmaSystem.isFiringBecauseOfDilemma))
         *  Game.instance.player.ApplyLoyaltyChange(Player.LoyaltyChange.FiringTeamMember);
         * if (!Game.IsActive())
         *  return;
         * Game.instance.teamManager.teamRumourManager.RemoveRumoursForPerson(inPersonToFire);*/
    }
 public virtual void SetContractTerminated(Contract.ContractTerminationType inTerminationType = Contract.ContractTerminationType.Generic)
 {
     this.SetContractState(Contract.ContractStatus.Terminated);
 }