Database Inspector Features
Aetheria Database Tools now has the ability to customize the shapes of items and hardpoints, and displays hardpoints when editing hull shape List elements now have foldouts Lists are presented in the Database Inspector with colors when the list type implements ITintInspector interface
This commit is contained in:
parent
f643f6cc8a
commit
1debe67958
35 changed files with 3066 additions and 499 deletions
|
|
@ -112,4 +112,11 @@ public abstract class BehaviorData
|
|||
public int Group;
|
||||
|
||||
public abstract IBehavior CreateInstance(ItemManager context, Entity entity, EquippedItem item);
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
var className = base.ToString();
|
||||
var dataIndex = className.IndexOf("data", StringComparison.InvariantCultureIgnoreCase);
|
||||
return dataIndex>0 ? className.Substring(0,dataIndex).SplitCamelCase() : className;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue