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
+40
View File
@@ -0,0 +1,40 @@
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace GameAuthApi.Models;
public class Location
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string LocationType { get; set; } = "World";
public int? X { get; set; }
public int? Y { get; set; }
public int? Z { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string N { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string NE { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string E { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string SE { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string S { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string SW { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string W { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string NW { get; set; }
public List<string> Players { get; set; } = [];
[BsonRepresentation(BsonType.ObjectId)]
public List<string> Content { get; set; } = [];
}