Isolated the problem with .NET 4.0 to the networking code changes; no reason to disallow support for .NET 4.0, and restoring default .NET FX 4.0 support
This commit is contained in:
parent
287bacac0e
commit
b13718ca01
13 changed files with 46 additions and 531 deletions
|
|
@ -665,11 +665,9 @@ namespace Server.Accounting
|
|||
break;
|
||||
}
|
||||
}
|
||||
#if Framework_4_0
|
||||
|
||||
Enum.TryParse( Utility.GetText( node["accessLevel"], "Player" ), true, out m_AccessLevel );
|
||||
#else
|
||||
m_AccessLevel = (AccessLevel)Enum.Parse( typeof( AccessLevel ), Utility.GetText( node["accessLevel"], "Player" ), true );
|
||||
#endif
|
||||
|
||||
m_Flags = Utility.GetXMLInt32( Utility.GetText( node["flags"], "0" ), 0 );
|
||||
m_Created = Utility.GetXMLDateTime( Utility.GetText( node["created"], null ), DateTime.Now );
|
||||
m_LastLogin = Utility.GetXMLDateTime( Utility.GetText( node["lastLogin"], null ), DateTime.Now );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue