2026-08-10 14:57:50 +01:00
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2020-12-22 03:13:43 +00:00
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
2026-08-10 14:57:50 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using JsonKnownTypes;
|
|
|
|
|
|
using MessagePack;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
[MessagePackObject,
|
|
|
|
|
|
JsonObject(MemberSerialization.OptIn), JsonConverter(typeof(JsonKnownTypesConverter<DatabaseEntry>))]
|
2020-05-28 04:50:40 +01:00
|
|
|
|
public class Mining : AgentTask
|
|
|
|
|
|
{
|
2026-08-10 14:57:50 +01:00
|
|
|
|
[IgnoreMember] public override TaskType Type => TaskType.Mine;
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("asteroids"), Key(4)]
|
|
|
|
|
|
public Guid Asteroids;
|
|
|
|
|
|
}
|