API V1 Aeldria
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace Aeldria.Api.DTOs;
|
||||
|
||||
public class CreateCharacterRequest
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Aeldria.Api.DTOs;
|
||||
|
||||
public class LoginRequest
|
||||
{
|
||||
public string Username { get; set; } = string.Empty;
|
||||
|
||||
public string Password { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Aeldria.Api.DTOs;
|
||||
|
||||
public class RegisterRequest
|
||||
{
|
||||
public string Username { get; set; } = string.Empty;
|
||||
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
public string Password { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace Aeldria.Api.DTOs;
|
||||
|
||||
public class UpdatePositionRequest
|
||||
{
|
||||
public long CharacterId { get; set; }
|
||||
|
||||
public double PosX { get; set; }
|
||||
|
||||
public double PosY { get; set; }
|
||||
|
||||
public double PosZ { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user