All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 45s
Deploy Promiscuity Character API / deploy (push) Successful in 57s
Deploy Promiscuity Inventory API / deploy (push) Successful in 45s
Deploy Promiscuity Locations API / deploy (push) Successful in 58s
k8s smoke test / test (push) Successful in 8s
24 lines
657 B
C#
24 lines
657 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace LocationsApi.Models;
|
|
|
|
[BsonIgnoreExtraElements]
|
|
public class BiomeDefinition
|
|
{
|
|
[BsonId]
|
|
[BsonElement("biomeKey")]
|
|
public string BiomeKey { get; set; } = string.Empty;
|
|
|
|
[BsonElement("continuationWeight")]
|
|
public double ContinuationWeight { get; set; }
|
|
|
|
[BsonElement("transitionWeights")]
|
|
public List<BiomeTransitionWeight> TransitionWeights { get; set; } = [];
|
|
|
|
[BsonElement("objectSpawnRules")]
|
|
public List<BiomeObjectSpawnRule> ObjectSpawnRules { get; set; } = [];
|
|
|
|
[BsonElement("updatedUtc")]
|
|
public DateTime UpdatedUtc { get; set; } = DateTime.UtcNow;
|
|
}
|