This commit is contained in:
hz
2025-05-08 09:29:20 -05:00
parent 4f67e2b56f
commit c0a94f26d6
31 changed files with 1181 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class ChangeRoleRequest
{
public string Username { get; set; }
public string NewRole { get; set; }
}
+8
View File
@@ -0,0 +1,8 @@
namespace GameAuthApi.Models;
public class CreateItemRequest
{
public string LocationId { get; set; }
public string Name { get; set; }
}
+17
View File
@@ -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; }
}
+8
View File
@@ -0,0 +1,8 @@
// Models/CreatePlayerRequest.cs
namespace GameAuthApi.Models;
public class CreatePlayerRequest
{
public string Name { get; set; }
public string LocationId { get; set; }
}
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class CreateSpawnableRequest
{
public string Name { get; set; }
public int SpawnRate { get; set; }
}
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class LoginRequest
{
public string Username { get; set; }
public string Password { get; set; }
}
+6
View File
@@ -0,0 +1,6 @@
namespace GameAuthApi.Models;
public class MoveRequest
{
public string Direction { get; set; } // N, NE, E, SE, S, SW, W, NW
}
+8
View File
@@ -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; }
}
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class TeleportRequest
{
public string PlayerId { get; set; }
public string LocationId { get; set; }
}