mirror of
https://github.com/NexusForever/NexusForever
synced 2026-08-14 00:26:05 -04:00
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.
29 lines
1.2 KiB
C#
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>();
|
|
}
|
|
}
|