Child Inventory Drag & Drop

Added child selection and child inventory panel to colony tab, and implemented drag and drop functionality between parent and child inventories
This commit is contained in:
hyperion51 2020-06-10 02:45:10 +01:00
commit 7b3c0cad64
16 changed files with 1101 additions and 333 deletions

View file

@ -3,13 +3,13 @@ using System.Linq;
using MessagePack;
using Newtonsoft.Json;
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn), Order(-22), RuntimeInspectable]
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn), Order(-22)]
public class ThermotoggleData : BehaviorData
{
[TemperatureInspectable, JsonProperty("targetTemp"), Key(1), RuntimeInspectable]
[TemperatureInspectable, JsonProperty("targetTemp"), Key(1)]
public float TargetTemperature;
[InspectableField, JsonProperty("perSecond"), Key(2)]
[InspectableField, JsonProperty("highPass"), Key(2)]
public bool HighPass;
public override IBehavior CreateInstance(GameContext context, Entity entity, Gear item)