Kamron Batman
d57f1fecc1
fix: Prepares for IPooledEnumerable removal ( #1548 )
...
### Summary
- Removes `IPooledEnumerable` (non-generic)
- Changes `IPooledEnumerable<T>` so that `Free()` is replaced with the `IDisposable` pattern
2023-10-15 11:20:49 -07:00
Kamron Batman
936000ecf7
feat: Adds SerializedCommandProperty ( #1249 )
...
## Breaking Change
* Removes `SerializableFieldAttrAttribute` in favor of `SerializedPropertyAttr`.
## Important Change
* Adds `SerializedCommandProperty`
Example:
```cs
[InvalidateProperties]
[SerializableField(0)]
[SerializedCommandProperty(AccessLevel.GameMaster)]
private Mobile _completedBy;
```
2022-11-14 18:24:33 -08:00
Kamron Batman
89815ad4d3
feat: Updates to Serialization Generator v2.2 ( #1157 )
...
* Adds `SerializationProperty` - This will generate the private variable for serialization. Also provides an option `useField` to specify your own. Example:
```cs
[SerializationProperty(0, useField: nameof(_resource)]
```
2022-09-04 08:45:27 -07:00
Kamron Batman
54d728a322
fix: Updates serialization to use v2.0 ( #998 )
...
- [X] Deletes serialization annotations
- [X] Updates to ModernUO.Serialization.Annotations nuget
- [X] Updates serializer to v2.0
- [X] Changes all `Serializable()` to `SerializationGenerator()`
- [X] Updates to schema generator v2.0
2022-04-17 08:02:15 -07:00
Kamron Batman
8f922c94ae
fix: Codegens lockable containers and cleans up lockpickable ( #976 )
2022-03-26 21:48:18 -07:00
Kamron Batman
ba5bb13e60
fix: Codegens mark containers ( #974 )
2022-03-26 21:23:21 -07:00
Kamron Batman
dbd4d6f13f
fix: Various code cleanup ( #756 )
2021-09-03 19:41:12 -07:00
Kamron Batman
410b18ceca
fix(linq): Removes linq and fixes fishing error ( #674 )
2021-08-04 22:24:38 -07:00
Kamron Batman
6c4308bce6
fix(core): Caches DateTime.NowUtc ( #548 )
...
- [X] Caches DateTime.NowUtc on the game loop (not other threads)
- [X] Replaces all locations where it makes sense
- [X] Adds Min/Max for `IComparable` (TimeSpan, DateTimes, etc)
Closes #261
2021-03-13 01:32:04 -08:00
Kamron Batman
525cda5413
Cleanup & Fixes for .NET 5 ( #309 )
...
- [X] Fixes several bugs
- [X] Updates more ordinal issues
- [X] Cleans up the code a bit
- [X] Turns classes static that should have been
- [X] Changes TcpServer.Instances to a HashSet
Bumps release version
2020-11-15 10:03:50 -08:00
Kamron Batman
8149620b0c
Fixes brace style ( #248 )
2020-09-13 21:49:46 -07:00
Kamron Batman
ad3775c4d7
Formats UO Content ( #201 )
2020-08-27 18:30:38 -07:00
Kamron Batman
8ec166bcd0
Adds assemblies config, fixes crash bugs. ( #134 )
2020-05-09 12:55:56 -07:00