Implemented task and control module for surveying resources Implemented behavior for resource scanner Resources aren't shown until they have been surveyed Entities can now display messages, used to provide drone state feedback Orbital entities now provide correct velocity, improving drone docking precision
22 lines
600 B
C#
22 lines
600 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using JsonKnownTypes;
|
|
using MessagePack;
|
|
using Newtonsoft.Json;
|
|
|
|
[MessagePackObject,
|
|
JsonObject(MemberSerialization.OptIn), JsonConverter(typeof(JsonKnownTypesConverter<DatabaseEntry>))]
|
|
public class StationTowing : AgentTask
|
|
{
|
|
[IgnoreMember] public override TaskType Type => TaskType.Tow;
|
|
|
|
[JsonProperty("station"), Key(4)]
|
|
public Guid Station;
|
|
|
|
[JsonProperty("orbitParent"), Key(5)]
|
|
public Guid OrbitParent;
|
|
|
|
[JsonProperty("orbitDistance"), Key(6)]
|
|
public float OrbitDistance;
|
|
}
|