-
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.
- Loading branch information
1 parent
08edf7c
commit b6a7720
Showing
24 changed files
with
196 additions
and
32 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using FullSerializer; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeDurationEndRace : ChallengeDuration | ||
{ | ||
private int mRacesLeft; | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
| ||
using FullSerializer; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeDurationEndSeason : ChallengeDuration | ||
{ | ||
private int mChampionshipID = -1; | ||
private int mEventNumber = -1; | ||
private int mEventCount = -1; | ||
private int mSeasonsLeft; | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
| ||
using FullSerializer; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeDurationInfinite : ChallengeDuration | ||
{ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
| ||
using FullSerializer; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestriction | ||
{ | ||
private bool mHasFailed; | ||
|
||
|
||
public enum RestrictionType | ||
{ | ||
TeamsAllowed, | ||
LeaveTeam, | ||
DriverLeaveTeam, | ||
BuildCarParts, | ||
Count, | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
| ||
using FullSerializer; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestrictionBuildCarParts : ChallengeRestriction | ||
{ | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
| ||
using FullSerializer; | ||
using System; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestrictionDriverLeaveTeam : ChallengeRestriction | ||
{ | ||
private string mDriverName = string.Empty; | ||
[NonSerialized] | ||
private Driver mTargetDriver; | ||
private int mDriverIndex; | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
| ||
using FullSerializer; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestrictionLeaveTeam : ChallengeRestriction | ||
{ | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using FullSerializer; | ||
using System; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestrictionTeam : ChallengeRestriction | ||
{ | ||
private int[] mAllowedTeamsID; | ||
public ChallengeRestrictionTeam(params int[] inAllowedTeamsID) | ||
{ | ||
this.mAllowedTeamsID = inAllowedTeamsID; | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using FullSerializer; | ||
using System.Collections.Generic; | ||
|
||
[fsObject("v1", new System.Type[] { typeof(ChallengeRestrictions) }, MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class ChallengeRestrictions_v1 | ||
{ | ||
private List<ChallengeRestriction> mRestrictions = new List<ChallengeRestriction>(); | ||
|
||
public ChallengeRestrictions_v1() | ||
{ | ||
} | ||
|
||
public ChallengeRestrictions_v1(ChallengeRestrictions v0) | ||
{ | ||
} | ||
|
||
public ChallengeRestrictions_v1(Challenge.ChallengeName inChallengeName) | ||
{ | ||
switch (inChallengeName) | ||
{ | ||
case Challenge.ChallengeName.Underdog: | ||
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionTeam(new int[1] | ||
{ | ||
27 | ||
})); | ||
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionLeaveTeam()); | ||
break; | ||
case Challenge.ChallengeName.TopManager: | ||
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionTeam(new int[1] | ||
{ | ||
29 | ||
})); | ||
break; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using FullSerializer; | ||
using System; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class RadioMessageCutCorner : RadioMessage | ||
{ | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using FullSerializer; | ||
using System; | ||
|
||
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)] | ||
public class RadioMessageRunWide : RadioMessage | ||
{ | ||
|
||
} |
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
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