mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 06:44:41 +01:00
Init enter game
This commit is contained in:
34
Common/Data/Models/Sdk/ComboGranterModels.cs
Normal file
34
Common/Data/Models/Sdk/ComboGranterModels.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using KianaBH.Util.Extensions;
|
||||
|
||||
namespace KianaBH.Data.Models.Sdk;
|
||||
|
||||
public class ComboGranterData
|
||||
{
|
||||
public string? Uid { get; set; }
|
||||
public string? Token { get; set; }
|
||||
}
|
||||
|
||||
public class ComboGranterRequest
|
||||
{
|
||||
[Required]
|
||||
[JsonConverter(typeof(JsonStringToObjectConverter<ComboGranterData>))]
|
||||
public ComboGranterData? Data { get; set; }
|
||||
}
|
||||
|
||||
public class ComboGranterResponse : ResponseBase
|
||||
{
|
||||
public new ComboGranterResponseData? Data { get; set; }
|
||||
|
||||
public class ComboGranterResponseData
|
||||
{
|
||||
public uint AccountType { get; set; }
|
||||
public string? OpenId { get; set; }
|
||||
public string? ComboId { get; set; }
|
||||
public string? ComboToken { get; set; }
|
||||
public bool Heartbeat { get; set; }
|
||||
public string? Data { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user