using Newtonsoft.Json; using QuestShare.Common.API; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuestShare.Common.API.Share { public class Register : IAPIEndpoint { public class Request : IRequest { public Request() { } public required string Token { get; set; } public required ulong CharacterId { get; set; } public required string Version { get; set; } public uint SharedQuestId { get; set; } public byte SharedQuestStep { get; set; } public bool BroadcastParty { get; set; } = false; public List PartyMembers { get; set; } = []; } public class Response : IResponse { public Response() { } public Error Error { get; set; } = Error.None; public bool Success { get; set; } = false; public required string ShareCode { get; set; } } } }