Database Improvements
Brought in all the myriad improvements to the database tools from the Stream Pixels project Added configurable nested entry grouping
This commit is contained in:
parent
526a737a4d
commit
968783bf9c
37 changed files with 865 additions and 580 deletions
|
|
@ -34,10 +34,10 @@ public class AetheriaDatabaseView : DatabaseListView
|
|||
data => data.HardpointType,
|
||||
type => Enum.GetName(typeof(HardpointType), type),
|
||||
(data, type) => data.Hardpoint = type),
|
||||
// new DatabaseEntryGroup<GearData, Guid>(
|
||||
// data => data.Manufacturer,
|
||||
// factionID => cultCache.Get<Faction>(factionID).ShortName,
|
||||
// (data, faction) => data.Manufacturer = faction),
|
||||
new DatabaseEntryGroup<GearData, Guid>(
|
||||
data => data.Manufacturer,
|
||||
factionID => factionID == Guid.Empty ? "Default" : cultCache.Get<Faction>(factionID).ShortName,
|
||||
(data, faction) => data.Manufacturer = faction),
|
||||
new DatabaseEntryGroup<HullData, HullType>(
|
||||
data => data.HullType,
|
||||
type => Enum.GetName(typeof(HullType), type),
|
||||
|
|
|
|||
Loading…
Reference in a new issue