Files
gameauthapi/Models/Spawnable.cs
T
2025-06-08 21:24:06 -05:00

18 lines
408 B
C#

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace GameAuthApi.Models;
public class Spawnable
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string Name { get; set; }
public int SpawnRate { get; set; }
// Action required by the player to collect this spawnable item
public string CollectAction { get; set; }
}