Adding update endpoint for location, player, spawnable, and user

This commit is contained in:
hz
2025-06-09 10:23:43 -05:00
parent 7aa192d728
commit 44f57a1121
13 changed files with 174 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
namespace GameAuthApi.Models;
public class UpdateLocationRequest
{
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; }
}
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class UpdatePlayerRequest
{
public string Name { get; set; }
public int Climbing { get; set; }
}
+11
View File
@@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace GameAuthApi.Models;
public class UpdateSpawnableRequest
{
public string Name { get; set; }
public int SpawnRate { get; set; }
public string CollectAction { get; set; }
public List<CollectOutcome> CollectResults { get; set; } = [];
}
+7
View File
@@ -0,0 +1,7 @@
namespace GameAuthApi.Models;
public class UpdateUserRequest
{
public string Role { get; set; }
public string Email { get; set; }
}