Skip to content

Commit e680aef

Browse files
authored
Version 5.3.1.0 (#9)
Fix Ultima SDK bootstrapping. Fix an issue that would prevent static members from being matched on non-static types when using reflection-based Object extension methods. Remove unused Object extension methods. Add FreeToArray extension method support for HashSet<T> Fix SpellIcons initialization for item-based icons. Add Parsable support to Color555. Updated file headers for all files. Renamed object extension method from CallMethod to InvokeMethod. Rewrite common operations for enum extensions to improve performance. Additional error handling for web service request parsing. Beginning support for ModernUO compatibility.
1 parent 2c781d6 commit e680aef

File tree

583 files changed

+2524
-2115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+2524
-2115
lines changed

Build/CSharpCompiler.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ CSharpCompiler.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References
@@ -25,6 +25,8 @@
2525
using VitaNex.IO;
2626
#endregion
2727

28+
#if !MUO
29+
2830
namespace VitaNex.Build
2931
{
3032
public enum CompileStatus
@@ -354,4 +356,6 @@ private string[] GetConfigAssemblies(FileInfo file)
354356
return list.ToArray();
355357
}
356358
}
357-
}
359+
}
360+
361+
#endif

Collections/GenericComparer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ GenericComparer.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Collections/Pools/ConcurrentBagPool.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#region Header
2+
// _,-'/-'/
3+
// . __,-; ,'( '/
4+
// \. `-.__`-._`:_,-._ _ , . ``
5+
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6+
// `---..__,,--' (C) 2023 ` -'. -'
7+
// # Vita-Nex [http://core.vita-nex.com] #
8+
// {o)xxx|===============- # -===============|xxx(o}
9+
// # #
10+
#endregion
11+
112
using System.Collections.Concurrent;
213

314
namespace VitaNex.Collections

Collections/Pools/ConcurrentDictionaryPool.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#region Header
2+
// _,-'/-'/
3+
// . __,-; ,'( '/
4+
// \. `-.__`-._`:_,-._ _ , . ``
5+
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6+
// `---..__,,--' (C) 2023 ` -'. -'
7+
// # Vita-Nex [http://core.vita-nex.com] #
8+
// {o)xxx|===============- # -===============|xxx(o}
9+
// # #
10+
#endregion
11+
112
using System.Collections.Concurrent;
213

314
namespace VitaNex.Collections

Collections/Pools/ConcurrentQueuePool.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#region Header
2+
// _,-'/-'/
3+
// . __,-; ,'( '/
4+
// \. `-.__`-._`:_,-._ _ , . ``
5+
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6+
// `---..__,,--' (C) 2023 ` -'. -'
7+
// # Vita-Nex [http://core.vita-nex.com] #
8+
// {o)xxx|===============- # -===============|xxx(o}
9+
// # #
10+
#endregion
11+
112
using System.Collections.Concurrent;
213

314
namespace VitaNex.Collections

Collections/Pools/ConcurrentStackPool.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#region Header
2+
// _,-'/-'/
3+
// . __,-; ,'( '/
4+
// \. `-.__`-._`:_,-._ _ , . ``
5+
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6+
// `---..__,,--' (C) 2023 ` -'. -'
7+
// # Vita-Nex [http://core.vita-nex.com] #
8+
// {o)xxx|===============- # -===============|xxx(o}
9+
// # #
10+
#endregion
11+
112
using System.Collections.Concurrent;
213

314
namespace VitaNex.Collections

Collections/Pools/DictionaryPool.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ DictionaryPool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Collections/Pools/GridPool.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ GridPool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Collections/Pools/ListPool.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ ListPool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Collections/Pools/ObjectPool.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ ObjectPool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References
@@ -160,7 +160,7 @@ protected virtual bool Sanitize(T o)
160160
return l.Count == 0;
161161
}
162162

163-
o.CallMethod("Clear");
163+
o.InvokeMethod("Clear");
164164

165165
return true;
166166
}

Collections/Pools/QueuePool.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ QueuePool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Collections/Pools/SetPool.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ SetPool.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/ExportBounds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ ExportBounds.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/ExportPoint.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ ExportPoint.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/FixMe.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ FixMe.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/GC.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ GC.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/MyCommands.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ MyCommands.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Commands/PlayerBackup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ PlayerBackup.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#if ServUO58

Commands/Say.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ Say.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Effects/EffectInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ EffectInfo.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Effects/EffectQueue.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ EffectQueue.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Effects/FX/BaseFX.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ BaseFX.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

Effects/FX/ExplosionFX.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#region Header
2-
// Vorspire _,-'/-'/ ExplosionFX.cs
2+
// _,-'/-'/
33
// . __,-; ,'( '/
44
// \. `-.__`-._`:_,-._ _ , . ``
55
// `:-._,------' ` _,`--` -: `_ , ` ,' :
6-
// `---..__,,--' (C) 2018 ` -'. -'
6+
// `---..__,,--' (C) 2023 ` -'. -'
77
// # Vita-Nex [http://core.vita-nex.com] #
88
// {o)xxx|===============- # -===============|xxx(o}
9-
// # The MIT License (MIT) #
9+
// # #
1010
#endregion
1111

1212
#region References

0 commit comments

Comments
 (0)