Initialize repository
Added basic info to get in game for like...August 2016 ;-; It's not much but it's a start
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using RecRoomArchive.Models.API.Platform;
|
||||
|
||||
namespace RecRoomArchive.Models.API.PlatformLogin.Requests
|
||||
{
|
||||
public class BaseLoginRequest
|
||||
{
|
||||
public required PlatformType Platform { get; set; }
|
||||
public required string PlatformId { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public required long ClientTimestamp { get; set; }
|
||||
public required string DeviceId { get; set; }
|
||||
public required long BuildTimestamp { get; set; }
|
||||
public required string AuthParams { get; set; }
|
||||
public required string Verify { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RecRoomArchive.Models.API.PlatformLogin.Responses
|
||||
{
|
||||
public class BaseLoginResponse
|
||||
{
|
||||
[JsonPropertyName(name: "Token")]
|
||||
public string Token { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName(name: "PlayerId")]
|
||||
public ulong PlayerId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user