ModernUO/Projects/UOContent/Migrations
Kamron Batman 360143478a
feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681)
* Fixes pooled timer leaking
* Fixes `[dumptimers` command so it outputs properly, adds spacing, and stacktraces
* Adds `[Tidy]` for serializing Lists. This will remove deleted entities during world save before serializing the list.
* Adds helpers for managing Lists/Sets/Dictionaries


### New API

```cs
// Creates the list if it is null, then adds
Utility.Add(ref list, value);
Utility.Add(ref set, value);
Utility.Add(ref dict, key, value);

// Nulls the variable if the count is zero
Utility.Remove(ref list, value);
Utility.Remove(ref set, value);
Utility.Remove(ref dict, key);

// Marks entity as dirty in addition to doing the action
entity.Add(list, value);
// Marks entity as dirty, and will create list if it doesn't exist
entity.Add(ref list, value);

// Marks entity as dirty in addition to doing the action
entity.Remove(list, value);
// Marks entity as dirty, and will null the list count is zero
entity.Remove(ref list, value);
```


### Updates to [dumptimers
<img width="825" alt="Screen Shot 2021-08-14 at 2 55 10 AM" src="https://user-images.githubusercontent.com/3953314/129442449-ccf7fe14-29d6-4f3f-9366-c8eb7b9828a7.png">
2021-08-14 03:02:53 -07:00
..
Server.Accounting.Account.v2.json feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681) 2021-08-14 03:02:53 -07:00
Server.Engines.BulkOrders.BaseBOD.v1.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.BulkOrders.LargeBOD.v0.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.BulkOrders.LargeSmithBOD.v0.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.BulkOrders.LargeTailorBOD.v0.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.BulkOrders.SmallSmithBOD.v0.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.BulkOrders.SmallTailorBOD.v0.json fix(codegen): Fixes bulk order deed hue and codegens (#647) 2021-06-11 19:51:03 -07:00
Server.Engines.Events.NaughtyTwin.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Engines.Events.ZombieSkeleton.v0.json fix(codegen): Adds access modifiers to serializable fields (#633) 2021-06-01 22:53:51 -07:00
Server.Items.AgapiteOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.AnimatedHeartShapedBox.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.BallotBox.v0.json feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681) 2021-08-14 03:02:53 -07:00
Server.Items.BallotBoxAddon.v0.json feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681) 2021-08-14 03:02:53 -07:00
Server.Items.BallotBoxDeed.v0.json feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681) 2021-08-14 03:02:53 -07:00
Server.Items.BaseAddon.v2.json feat: Adds tidy option for serialization. Codegens ballotbox. Fixes pooled timer leaking (#681) 2021-08-14 03:02:53 -07:00
Server.Items.BaseOre.v1.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.BronzeOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.ChairInAGhostCostume.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.ColoredSmallWebs.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.CopperOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.CreepyCake.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.CupidsArrow.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.CupidStatue.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.DragonEasterEgg.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.DullCopperOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.ExcellentIronMaiden.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Fireflies.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.FirefliesDeed.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.GoldOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.GrimWarning.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.HalloweenGuillotine.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.HalloweenPumpkin.v1.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.HarvestWine.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.HeartShapedBox.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.AngelDecoration.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.PaintedDaemonMask.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.PaintedEvilClownMask.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.PaintedEvilJesterMask.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.PaintedPlagueMask.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.PaintedPorcelainMask.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Holiday.RockingHorse.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.IronOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.JellyBeans.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Lollipops.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.MrPlainsCookies.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.MurkyMilk.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.NougatSwirl.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.PumpkinPizza.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.PumpkinScarecrow.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.RuinedTapestry.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.ShadowIronOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.SkullsOnPike.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.StValentinesBear.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.StValentinesPanda.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.StValentinesPolarBear.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.Taffy.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.TwilightLantern.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Items.ValoriteOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.VeriteOre.v0.json Cleans up ore (#637) 2021-06-12 14:15:10 -07:00
Server.Items.WrappedCandy.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00
Server.Mobiles.PumpkinHead.v0.json fix(codegen): Codegens Holiday stuff (#631) 2021-06-01 16:34:24 -07:00