Aetheria/Assets/Scripts/ServerShared/Agents/HaulingTask.cs
hyperion51 991d411c91 Hauling Task
Added a control module which enables drones to haul items from colony to colony
Added confirmation dialog for actions which require confirmation, can have fields added to it just like a PropertiesPanel
Moving items between inventories now displays confirmation dialog
2020-06-12 01:57:15 +01:00

23 lines
503 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using MessagePack;
using Newtonsoft.Json;
using UnityEngine;
public class HaulingTask : AgentTask
{
public override TaskType Type => TaskType.Haul;
[JsonProperty("origin"), Key(4)]
public Guid Origin;
[JsonProperty("target"), Key(5)]
public Guid Target;
[JsonProperty("itemType"), Key(6)]
public Guid ItemType;
[JsonProperty("quantity"), Key(7)]
public int Quantity;
}