Kamron Batman
2c5441731e
fix: Optimizes items to use default weights. (Part 2) ( #2241 )
2025-07-24 15:41:44 -07:00
Kamron Batman
f58117a877
fix: Moves ContextMenu out of core, streamlines code, fixes bugs ( #1873 )
...
## Summary
- Removes allocation of a `List<ContextMenuEntry>` every time a context menu is created.
- Moves packet/context menu creation logic out of the core
- Fixes tame entry
## BREAKING CHANGE
> [!Important]
> **Developer Note**
> ```cs
> public virtual void GetContextMenuEntries(Mobile from, List<ContextMenuEntry> list)
> ```
> and similar functions changed to
> ```cs
> public virtual void GetContextMenuEntries(Mobile from, ref PooledRefList<ContextMenuEntry> list)
> ```
2024-07-20 21:33:23 -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
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
Michael Dijkstra
3fc2b76468
fix(codegen): Codegens Weapons ( #698 )
2021-08-19 09:12:24 -07:00
Kamron Batman
4d6e584b6c
Removes literal variables ( #257 )
2020-09-18 18:41:26 -07: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
1f651992d7
Updates formatting rules ( #199 )
2020-08-25 18:00:51 -07:00
Kamron Batman
8ec166bcd0
Adds assemblies config, fixes crash bugs. ( #134 )
2020-05-09 12:55:56 -07:00