Replaces types with built-in types.

This commit is contained in:
Kamron Batman 2018-09-14 13:22:16 -07:00
parent fee83ce560
commit 22ab83ea9e
98 changed files with 248 additions and 248 deletions

View file

@ -49,7 +49,7 @@ namespace Server.Engines.Chat
{
newValue = value.Trim();
if ( String.IsNullOrEmpty( newValue ) )
if ( string.IsNullOrEmpty( newValue ) )
newValue = null;
}

View file

@ -8,10 +8,10 @@ namespace Server.Engines.Chat
public ChatMessagePacket( Mobile who, int number, string param1, string param2 ) : base( 0xB2 )
{
if ( param1 == null )
param1 = String.Empty;
param1 = string.Empty;
if ( param2 == null )
param2 = String.Empty;
param2 = string.Empty;
EnsureCapacity( 13 + ((param1.Length + param2.Length) * 2) );