101 lines
2.1 KiB
C#
101 lines
2.1 KiB
C#
using System.Text.Json.Serialization;
|
|
using UGQDatabase.Models;
|
|
|
|
namespace UGQApiServer.Models;
|
|
|
|
#pragma warning disable CS8618
|
|
|
|
|
|
public class GetGameDBAccountByEmail
|
|
{
|
|
public string Message { get; set; }
|
|
public string? LoginAccountId { get; set; }
|
|
public string? UserGuid { get; set; }
|
|
public string? Nickname { get; set; }
|
|
}
|
|
|
|
|
|
public class AddGameDBAccountRequest
|
|
{
|
|
public string LoginAccountId { get; set; }
|
|
public string Nickname { get; set; }
|
|
}
|
|
|
|
public class AddGameDBAccountByEmailRequest
|
|
{
|
|
public string Email { get; set; }
|
|
public string Nickname { get; set; }
|
|
}
|
|
|
|
public class AddGameDBAccountResponse
|
|
{
|
|
public string LoginAccountId { get; set; }
|
|
public string UserGuid { get; set; }
|
|
public string Nickname { get; set; }
|
|
}
|
|
|
|
|
|
public class AddFakeUgcNpcReqeust
|
|
{
|
|
public string UserGuid { get; set; }
|
|
public string UgcNpcNickname { get; set; }
|
|
}
|
|
|
|
public class AddCreatorPointReqeust
|
|
{
|
|
public string UserGuid { get; set; }
|
|
public long QuestId { get; set; }
|
|
public long Revision { get; set; }
|
|
public int Amount { get; set; }
|
|
}
|
|
|
|
public class SettleUpCreatorPointReqeust
|
|
{
|
|
public string UserGuid { get; set; }
|
|
public int Amount { get; set; }
|
|
}
|
|
|
|
public class GameQuestDataFakeUpdateReqeust
|
|
{
|
|
public string UserGuid { get; set; }
|
|
public string QuestContentId { get; set; }
|
|
}
|
|
|
|
public class ChangeCurrencyAmountRequest
|
|
{
|
|
public string UserGuid { get; set; }
|
|
public double Amount { get; set; }
|
|
}
|
|
|
|
public class ChangeCurrencyAmountResponse
|
|
{
|
|
public string UserGuid { get; set; }
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public CurrencyType CurrencyType { get; set; }
|
|
public double CurrentAmount { get; set; }
|
|
}
|
|
|
|
public class ValidateQuestRequest
|
|
{
|
|
public string UserGuid { get; set; }
|
|
}
|
|
|
|
public class ValidateQuestItem
|
|
{
|
|
public QuestContentEntity QuestContent { get; set; }
|
|
public List<QuestDialogEntity> QuestDialogs { get; set; }
|
|
public List<string> Errors { get; set; }
|
|
}
|
|
|
|
public class ValidateQuestResponse
|
|
{
|
|
public List<ValidateQuestItem> Items { get; set; }
|
|
}
|
|
|
|
public class CopyGameScriptDataRequest
|
|
{
|
|
public long QuestId { get; set; }
|
|
}
|
|
|