2020-06-12 01:57:15 +01:00
|
|
|
|
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)]
|
2020-12-10 23:20:38 +00:00
|
|
|
|
public Entity Origin;
|
2020-06-12 01:57:15 +01:00
|
|
|
|
|
|
|
|
|
|
[JsonProperty("target"), Key(5)]
|
2020-12-10 23:20:38 +00:00
|
|
|
|
public Entity Target;
|
2020-06-12 01:57:15 +01:00
|
|
|
|
|
|
|
|
|
|
[JsonProperty("itemType"), Key(6)]
|
|
|
|
|
|
public Guid ItemType;
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("quantity"), Key(7)]
|
|
|
|
|
|
public int Quantity;
|
|
|
|
|
|
}
|