nexusforever/Source/NexusForever.Database.Character/Model/ResidenceModel.cs
Rawaho 23b6434ead Initial implementation of community plots.
Reworked residence management.
Moved shared guild chat channel functionality to a seperate abstract class.
Decor can be added to your residence without being on it.
Guild operation data has been moved to a union to support multiple data types.
Fixed privacy levels for residences.
Deleting a character will now remove the residence.
Various other things I would have forgotten.
2021-09-04 23:40:06 +12:00

29 lines
1.2 KiB
C#

using System.Collections.Generic;
namespace NexusForever.Database.Character.Model
{
public class ResidenceModel
{
public ulong Id { get; set; }
public ulong? OwnerId { get; set; }
public ulong? GuildOwnerId { get; set; }
public byte PropertyInfoId { get; set; }
public string Name { get; set; }
public byte PrivacyLevel { get; set; }
public ushort WallpaperId { get; set; }
public ushort RoofDecorInfoId { get; set; }
public ushort EntrywayDecorInfoId { get; set; }
public ushort DoorDecorInfoId { get; set; }
public ushort GroundWallpaperId { get; set; }
public ushort MusicId { get; set; }
public ushort SkyWallpaperId { get; set; }
public ushort Flags { get; set; }
public byte ResourceSharing { get; set; }
public byte GardenSharing { get; set; }
public CharacterModel Character { get; set; }
public GuildModel Guild { get; set; }
public ICollection<ResidenceDecor> Decor { get; set; } = new HashSet<ResidenceDecor>();
public ICollection<ResidencePlotModel> Plot { get; set; } = new HashSet<ResidencePlotModel>();
}
}