Aetheria/Assets/Scripts/ServerShared/Agents/Tasks/AgentTask.cs

26 lines
474 B
C#
Raw Normal View History

2026-06-13 04:56:50 +01:00
/* This Source Code Form is subject to the terms of the Mozilla Public
* 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/. */
public abstract class AgentTask
{
public int Priority;
2026-06-13 04:56:50 +01:00
2026-06-16 20:51:26 +01:00
public string ZoneKey = "";
2026-06-13 04:56:50 +01:00
public bool Reserved;
2026-06-13 04:56:50 +01:00
2026-06-13 14:51:01 +01:00
public abstract TaskType Type { get; }
}
public enum TaskType
{
None,
Mine,
Haul,
Tow,
Defend,
Attack,
Explore
}