Replaces types with built-in types.
This commit is contained in:
parent
fee83ce560
commit
22ab83ea9e
98 changed files with 248 additions and 248 deletions
|
|
@ -430,12 +430,12 @@ namespace Server.Mobiles
|
|||
continue;
|
||||
|
||||
if ( split[i].Length > 1 )
|
||||
split[i] = Char.ToUpper( split[i][0] ) + split[i].Substring( 1 );
|
||||
split[i] = char.ToUpper( split[i][0] ) + split[i].Substring( 1 );
|
||||
else if ( split[i].Length > 0 )
|
||||
split[i] = Char.ToUpper( split[i][0] ).ToString();
|
||||
split[i] = char.ToUpper( split[i][0] ).ToString();
|
||||
}
|
||||
|
||||
Title = String.Join( " ", split );
|
||||
Title = string.Join( " ", split );
|
||||
}
|
||||
|
||||
public virtual int GetHairHue()
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ namespace Server.Mobiles
|
|||
else
|
||||
item.LabelTo( from, 1043304, vi.FormattedPrice ); // Price: ~1_COST~
|
||||
|
||||
if ( !String.IsNullOrEmpty( vi.Description ) )
|
||||
if ( !string.IsNullOrEmpty( vi.Description ) )
|
||||
{
|
||||
// The localized message (1043305) is no longer valid - <br>Seller's Description:<br>"~1_DESC~"
|
||||
item.LabelTo( from, "Description: {0}", vi.Description );
|
||||
|
|
@ -973,7 +973,7 @@ namespace Server.Mobiles
|
|||
if ( vi != null )
|
||||
{
|
||||
string name;
|
||||
if ( !String.IsNullOrEmpty( item.Name ) )
|
||||
if ( !string.IsNullOrEmpty( item.Name ) )
|
||||
name = item.Name;
|
||||
else
|
||||
name = "#" + item.LabelNumber.ToString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue