40 FxCop Warnings; good practice
This commit is contained in:
parent
3f535ea235
commit
34e3a88bfe
30 changed files with 45 additions and 49 deletions
|
|
@ -77,7 +77,7 @@ namespace Server
|
|||
return m_Races[index];
|
||||
}
|
||||
|
||||
throw new Exception( "Invalid race name" );
|
||||
throw new ArgumentException( "Invalid race name" );
|
||||
}
|
||||
|
||||
private static void CheckNamesAndValues()
|
||||
|
|
@ -114,7 +114,7 @@ namespace Server
|
|||
public int FemaleBody { get { return m_FemaleBody; } }
|
||||
public int FemaleGhostBody { get { return m_FemaleGhostBody; } }
|
||||
|
||||
public Race( int raceID, int raceIndex, string name, string pluralName, int maleBody, int femaleBody, int maleGhostBody, int femaleGhostBody, Expansion requiredExpansion )
|
||||
protected Race( int raceID, int raceIndex, string name, string pluralName, int maleBody, int femaleBody, int maleGhostBody, int femaleGhostBody, Expansion requiredExpansion )
|
||||
{
|
||||
m_RaceID = raceID;
|
||||
m_RaceIndex = raceIndex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue