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.
24 lines
1 KiB
C#
24 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace NexusForever.Database.Character.Model
|
|
{
|
|
public class GuildModel
|
|
{
|
|
public ulong Id { get; set; }
|
|
public uint Flags { get; set; }
|
|
public byte Type { get; set; }
|
|
public string Name { get; set; }
|
|
public ulong? LeaderId { get; set; }
|
|
public DateTime CreateTime { get; set; }
|
|
public DateTime? DeleteTime { get; set; }
|
|
public string OriginalName { get; set; }
|
|
public ulong? OriginalLeaderId { get; set; }
|
|
|
|
public GuildDataModel GuildData { get; set; }
|
|
public ICollection<GuildRankModel> GuildRank { get; set; } = new HashSet<GuildRankModel>();
|
|
public ICollection<GuildMemberModel> GuildMember { get; set; } = new HashSet<GuildMemberModel>();
|
|
public ICollection<GuildAchievementModel> Achievement { get; set; } = new HashSet<GuildAchievementModel>();
|
|
public ICollection<ResidenceModel> Residence { get; set; } = new HashSet<ResidenceModel>();
|
|
}
|
|
}
|