Syncing changes to ingame editable item properties (light colors etc)

This commit is contained in:
Regalis
2017-01-27 18:20:38 +02:00
parent 626e238994
commit 4589c2bcfb
3 changed files with 106 additions and 1 deletions

View File

@@ -181,6 +181,11 @@ namespace Barotrauma
}
}
public Type GetType()
{
return propertyInfo.PropertyType;
}
public static List<ObjectProperty> GetProperties<T>(IPropertyObject obj)
{
List<ObjectProperty> editableProperties = new List<ObjectProperty>();