22 lines
735 B
C#
22 lines
735 B
C#
namespace QuestShare.Common.API.Party
|
|
{
|
|
public class PartyCheck : IAPIEndpoint<PartyCheck.Request, PartyCheck.Response>
|
|
{
|
|
public class Request : IRequest
|
|
{
|
|
public Request() { }
|
|
public string Version { get; set; } = null!;
|
|
public string Token { get; set; } = null!;
|
|
public required ulong CharacterId { get; set; } = 0;
|
|
public required List<ulong> PartyMembers { get; set; }
|
|
}
|
|
public class Response : IResponse
|
|
{
|
|
public Response() { }
|
|
public Error Error { get; set; } = Error.None;
|
|
public bool Success { get; set; }
|
|
public string ShareCode { get; set; } = null!;
|
|
}
|
|
}
|
|
}
|