2024-06-10 22:06:35 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2024-06-08 19:16:57 +00:00
|
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2024-05-26 13:43:33 +00:00
|
|
|
|
using System.Numerics;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
using Questionable.Model.V1.Converter;
|
2024-05-25 21:51:37 +00:00
|
|
|
|
|
|
|
|
|
namespace Questionable.Model.V1;
|
|
|
|
|
|
2024-06-14 09:37:33 +00:00
|
|
|
|
public sealed class QuestStep
|
2024-05-25 21:51:37 +00:00
|
|
|
|
{
|
2024-05-26 13:43:33 +00:00
|
|
|
|
public EInteractionType InteractionType { get; set; }
|
|
|
|
|
|
2024-05-26 19:45:26 +00:00
|
|
|
|
public uint? DataId { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(VectorConverter))]
|
|
|
|
|
public Vector3? Position { get; set; }
|
|
|
|
|
|
|
|
|
|
public float? StopDistance { get; set; }
|
2024-05-25 21:51:37 +00:00
|
|
|
|
public ushort TerritoryId { get; set; }
|
2024-05-28 20:24:06 +00:00
|
|
|
|
public ushort? TargetTerritoryId { get; set; }
|
|
|
|
|
|
2024-05-26 13:43:33 +00:00
|
|
|
|
public bool Disabled { get; set; }
|
2024-05-27 19:54:34 +00:00
|
|
|
|
public bool DisableNavmesh { get; set; }
|
|
|
|
|
public bool? Mount { get; set; }
|
2024-06-01 16:46:57 +00:00
|
|
|
|
public bool? Fly { get; set; }
|
|
|
|
|
public bool? Sprint { get; set; }
|
2024-05-26 19:45:26 +00:00
|
|
|
|
public string? Comment { get; set; }
|
|
|
|
|
|
|
|
|
|
public EAetheryteLocation? AetheryteShortcut { get; set; }
|
2024-05-26 13:43:33 +00:00
|
|
|
|
|
2024-05-26 19:45:26 +00:00
|
|
|
|
public AethernetShortcut? AethernetShortcut { get; set; }
|
2024-05-27 19:54:34 +00:00
|
|
|
|
public uint? AetherCurrentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public uint? ItemId { get; set; }
|
2024-05-28 22:17:19 +00:00
|
|
|
|
public bool? GroundTarget { get; set; }
|
2024-05-27 19:54:34 +00:00
|
|
|
|
|
|
|
|
|
public EEmote? Emote { get; set; }
|
2024-06-03 12:20:02 +00:00
|
|
|
|
public ChatMessage? ChatMessage { get; set; }
|
2024-05-27 19:54:34 +00:00
|
|
|
|
|
|
|
|
|
public EEnemySpawnType? EnemySpawnType { get; set; }
|
2024-05-29 19:22:58 +00:00
|
|
|
|
public IList<uint> KillEnemyDataIds { get; set; } = new List<uint>();
|
2024-06-14 09:37:33 +00:00
|
|
|
|
|
2024-06-01 12:30:20 +00:00
|
|
|
|
public JumpDestination? JumpDestination { get; set; }
|
|
|
|
|
public uint? ContentFinderConditionId { get; set; }
|
2024-05-29 19:22:58 +00:00
|
|
|
|
|
|
|
|
|
public IList<ESkipCondition> SkipIf { get; set; } = new List<ESkipCondition>();
|
2024-06-01 16:46:57 +00:00
|
|
|
|
public IList<short?> CompletionQuestVariablesFlags { get; set; } = new List<short?>();
|
|
|
|
|
public IList<DialogueChoice> DialogueChoices { get; set; } = new List<DialogueChoice>();
|
|
|
|
|
|
2024-06-14 09:37:33 +00:00
|
|
|
|
[JsonConstructor]
|
|
|
|
|
public QuestStep()
|
2024-06-01 16:46:57 +00:00
|
|
|
|
{
|
2024-06-14 09:37:33 +00:00
|
|
|
|
}
|
2024-06-01 16:46:57 +00:00
|
|
|
|
|
2024-06-14 09:37:33 +00:00
|
|
|
|
public QuestStep(EInteractionType interactionType, uint? dataId, Vector3? position, ushort territoryId)
|
|
|
|
|
{
|
|
|
|
|
InteractionType = interactionType;
|
|
|
|
|
DataId = dataId;
|
|
|
|
|
Position = position;
|
|
|
|
|
TerritoryId = territoryId;
|
2024-06-01 16:46:57 +00:00
|
|
|
|
}
|
2024-05-25 21:51:37 +00:00
|
|
|
|
}
|