Commit 0
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class ChangeRoleRequest
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string NewRole { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class CreateItemRequest
|
||||
{
|
||||
public string LocationId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class CreateLocationRequest
|
||||
{
|
||||
public int X { get; set; }
|
||||
public int Y { get; set; }
|
||||
public int Z { get; set; }
|
||||
|
||||
public string N { get; set; }
|
||||
public string NE { get; set; }
|
||||
public string E { get; set; }
|
||||
public string SE { get; set; }
|
||||
public string S { get; set; }
|
||||
public string SW { get; set; }
|
||||
public string W { get; set; }
|
||||
public string NW { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Models/CreatePlayerRequest.cs
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class CreatePlayerRequest
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string LocationId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class CreateSpawnableRequest
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int SpawnRate { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class LoginRequest
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class MoveRequest
|
||||
{
|
||||
public string Direction { get; set; } // N, NE, E, SE, S, SW, W, NW
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class RegisterRequest
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Email { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class TeleportRequest
|
||||
{
|
||||
public string PlayerId { get; set; }
|
||||
public string LocationId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user