-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added reserve driver to the list of drivers in the teams tab
Added player tab back Started adding driver personality traits
- Loading branch information
1 parent
875b47b
commit 97921a3
Showing
22 changed files
with
452 additions
and
268 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,58 @@ | ||
using FullSerializer; | ||
using System; | ||
|
||
[fsObject( MemberSerialization = fsMemberSerialization.OptOut )] | ||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ContractPerson : Contract | ||
{ | ||
private ContractPerson.Status mCurrentStatus = ContractPerson.Status.Reserve; | ||
private ContractPerson.Status mProposedStatus = ContractPerson.Status.Reserve; | ||
public DateTime optionClauseEndDate = new DateTime(); | ||
public string employeerName = string.Empty; | ||
public ContractPerson.BuyoutClauseSplit buyoutSplit = ContractPerson.BuyoutClauseSplit.PersonPaysAll; | ||
public int yearlyWages; | ||
public int signOnFee; | ||
public int qualifyingBonus; | ||
public int qualifyingBonusTargetPosition; | ||
public int raceBonus; | ||
public int raceBonusTargetPosition; | ||
public int championBonus; | ||
public int payDriver; | ||
public int amountForContractorToPay; | ||
public int amountForTargetToPay; | ||
public Entity employeer; | ||
public bool hasSignOnFee; | ||
public bool hasRaceBonus; | ||
public bool hasQualifyingBonus; | ||
public ContractPerson.ContractLength length; | ||
private Person mPerson; | ||
private ContractPerson.Status mCurrentStatus = ContractPerson.Status.Reserve; | ||
private ContractPerson.Status mProposedStatus = ContractPerson.Status.Reserve; | ||
public DateTime optionClauseEndDate = new DateTime(); | ||
public string employeerName = string.Empty; | ||
public ContractPerson.BuyoutClauseSplit buyoutSplit = ContractPerson.BuyoutClauseSplit.PersonPaysAll; | ||
public int yearlyWages; | ||
public int signOnFee; | ||
public int qualifyingBonus; | ||
public int qualifyingBonusTargetPosition; | ||
public int raceBonus; | ||
public int raceBonusTargetPosition; | ||
public int championBonus; | ||
public int payDriver; | ||
public int amountForContractorToPay; | ||
public int amountForTargetToPay; | ||
public Entity employeer; | ||
public bool hasSignOnFee; | ||
public bool hasRaceBonus; | ||
public bool hasQualifyingBonus; | ||
public ContractPerson.ContractLength length; | ||
private Person mPerson; | ||
|
||
public ContractPerson.Status currentStatus | ||
{ | ||
get | ||
{ | ||
return this.mCurrentStatus; | ||
} | ||
} | ||
|
||
public enum Status | ||
{ | ||
[LocalisationID( "PSG_10005057" )] Equal, | ||
[LocalisationID( "PSG_10005068" )] One, | ||
[LocalisationID( "PSG_10005069" )] Two, | ||
[LocalisationID( "PSG_10005070" )] Reserve, | ||
} | ||
public enum Status | ||
{ | ||
[LocalisationID("PSG_10005057")] Equal, | ||
[LocalisationID("PSG_10005068")] One, | ||
[LocalisationID("PSG_10005069")] Two, | ||
[LocalisationID("PSG_10005070")] Reserve, | ||
} | ||
|
||
public enum ContractLength | ||
{ | ||
Short, | ||
Medium, | ||
Long, | ||
} | ||
public enum ContractLength | ||
{ | ||
Short, | ||
Medium, | ||
Long, | ||
} | ||
|
||
public enum BuyoutClauseSplit | ||
{ | ||
[LocalisationID( "PSG_10009283" )] TeamPaysAll, | ||
[LocalisationID( "PSG_10009282" )] EvenSplit, | ||
[LocalisationID( "PSG_10009281" )] PersonPaysAll, | ||
} | ||
public enum BuyoutClauseSplit | ||
{ | ||
[LocalisationID("PSG_10009283")] TeamPaysAll, | ||
[LocalisationID("PSG_10009282")] EvenSplit, | ||
[LocalisationID("PSG_10009281")] PersonPaysAll, | ||
} | ||
} |
Oops, something went wrong.