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
|
|
|
|
|
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-07 03:53:54 +01:00
|
|
|
|
[IgnoreMember] public override TaskType Type => TaskType.Tow;
|
2020-04-29 23:36:00 +01:00
|
|
|
|
|
2020-05-07 03:53:54 +01:00
|
|
|
|
[JsonProperty("station"), Key(4)]
|
2020-12-10 23:20:38 +00:00
|
|
|
|
public OrbitalEntity Station;
|
2020-05-07 03:53:54 +01:00
|
|
|
|
|
2020-05-10 00:16:33 +01:00
|
|
|
|
[JsonProperty("orbitParent"), Key(5)]
|
|
|
|
|
|
public Guid OrbitParent;
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("orbitDistance"), Key(6)]
|
|
|
|
|
|
public float OrbitDistance;
|
2020-04-29 23:36:00 +01:00
|
|
|
|
}
|