2020-04-29 23:36:00 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
2020-05-06 04:56:36 +01:00
|
|
|
|
using JsonKnownTypes;
|
|
|
|
|
|
using MessagePack;
|
|
|
|
|
|
using Newtonsoft.Json;
|
2020-04-29 23:36:00 +01:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
2020-05-06 04:56:36 +01:00
|
|
|
|
[MessagePackObject,
|
|
|
|
|
|
JsonObject(MemberSerialization.OptIn), JsonConverter(typeof(JsonKnownTypesConverter<DatabaseEntry>))]
|
2020-04-29 23:36:00 +01:00
|
|
|
|
public class StationTowing : AgentTask
|
|
|
|
|
|
{
|
2020-05-06 04:56:36 +01:00
|
|
|
|
[IgnoreMember] public override AgentJob JobType => AgentJob.Tow;
|
2020-04-29 23:36:00 +01:00
|
|
|
|
|
|
|
|
|
|
private Guid _entity;
|
|
|
|
|
|
private Guid _targetOrbit;
|
|
|
|
|
|
|
|
|
|
|
|
public StationTowing(Guid zone, Guid entity, Guid targetOrbit)
|
|
|
|
|
|
{
|
|
|
|
|
|
Zone = zone;
|
|
|
|
|
|
_entity = entity;
|
|
|
|
|
|
_targetOrbit = targetOrbit;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|