ModernUO/Projects/UOContent/Gumps
Kamron Batman db02a6b6e9
fix(core): Fixes some properties that cannot be modified ingame (#604)
- [X] Adds a property to `CommandProperty` to allow modifying `PropertyObject` where there is no property setter that is accessible.
- [X] Updates AosAttributes and friends

Example of how to make this work:
```cs
        [CommandProperty(AccessLevel.GameMaster, canModify: true)]
        public AosWeaponAttributes WeaponAttributes { get; private set; }
```

This fix is necessary because in release mode the optimizer will sometimes _entirely remove the setter_ because it knows it can do something that is more efficient _when the property setter is private_. RunUO got around this by declaring a public setter explicitly that _was empty_.

### Screenshot
<img width="313" alt="Screen Shot 2021-05-15 at 11 34 01 PM" src="https://user-images.githubusercontent.com/3953314/118387955-49293c00-b5d6-11eb-8f31-a3b5e31bd18b.png">
2021-05-15 23:47:33 -07:00
..
Go fix(cleanup): Consolidate the duplicate code in Properties, PropsGump, and PropsConfig (#540) 2021-04-14 22:58:56 -07:00
Guilds fix(core): Updates slice with range selectors (#583) 2021-04-23 20:57:24 -07:00
Props fix(core): Fixes some properties that cannot be modified ingame (#604) 2021-05-15 23:47:33 -07:00
AddDoorGump.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
AdminGump.cs fix(network): Adds ConnectUO (#551) 2021-03-15 14:14:33 -07:00
BanDurationGump.cs fix(core): Caches DateTime.NowUtc (#548) 2021-03-13 01:32:04 -08:00
BaseConfirmGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
BaseGridGump.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
BaseImageTileButtonsGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
ClientGump.cs fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
CommentsGump.cs Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
ConfirmBreakCrystalGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
ConfirmHeritageGump.cs Fixes dupe exception (#258) 2020-09-19 15:46:07 -07:00
ConfirmHouseResize.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
ConfirmReleaseGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
DawnsMusicBoxGump.cs fix(core): Converts remaining player packets (#374) 2020-12-30 16:09:51 -08:00
HeritageTokenGump.cs fix(core): Removes some uses of Linq (#421) 2021-01-18 21:05:11 -08:00
HonorSelf.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
HouseDemolishGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
HouseGump.cs fix(core): Optimizes strings / .NET 5 compatibility changes (#354) 2020-12-20 23:21:55 -08:00
HouseGumpAOS.cs fix(core): Caches DateTime.NowUtc (#548) 2021-03-13 01:32:04 -08:00
HouseTransferGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
NoticeGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
PetResurrectGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
PlayerVendorGumps.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
PolymorphGump.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
ReclaimVendorGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
ReportMurderer.cs fix(core): Caches DateTime.NowUtc (#548) 2021-03-13 01:32:04 -08:00
ResurrectGump.cs Removes literal variables (#257) 2020-09-18 18:41:26 -07:00
RewardGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
RunebookGump.cs Removes literal variables (#257) 2020-09-18 18:41:26 -07:00
SetSecureLevelGump.cs Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
SkillsGump.cs fix(cleanup): Consolidate the duplicate code in Properties, PropsGump, and PropsConfig (#540) 2021-04-14 22:58:56 -07:00
TithingGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
ToTAdminGump.cs Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
VendorInventoryGump.cs fix(core): Caches DateTime.NowUtc (#548) 2021-03-13 01:32:04 -08:00
VendorRentalGumps.cs Removes literal variables (#257) 2020-09-18 18:41:26 -07:00
ViewHousesGump.cs Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
WarningGump.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
WhoGump.cs fix(cleanup): Consolidate the duplicate code in Properties, PropsGump, and PropsConfig (#540) 2021-04-14 22:58:56 -07:00
YoungGumps.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00