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
16 lines
No EOL
440 B
C#
16 lines
No EOL
440 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 Mining : AgentTask
|
|
{
|
|
[IgnoreMember] public override TaskType Type => TaskType.Mine;
|
|
|
|
[JsonProperty("asteroids"), Key(4)]
|
|
public Guid Asteroids;
|
|
} |