Adding update endpoint for location, player, spawnable, and user
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class UpdatePlayerRequest
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Climbing { get; set; }
|
||||
}
|
||||
@@ -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; } = [];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace GameAuthApi.Models;
|
||||
|
||||
public class UpdateUserRequest
|
||||
{
|
||||
public string Role { get; set; }
|
||||
public string Email { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user