Aetheria/Assets/Scripts/ServerShared/Agents/HaulingTask.cs

22 lines
484 B
C#
Raw Normal View History

using System;
using System.Collections;
using System.Collections.Generic;
using MessagePack;
using Newtonsoft.Json;
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;
}