Files
Radicade/Server/Rooms/FullRoom.cs
T
2026-10-16 23:33:13 -07:00

60 lines
1.9 KiB
C#

namespace RadicadeServer.RecNet.Rooms
{
public class FullRoom : RoomDetail
{
public List<SubRoom> SubRooms { get; set; } = null!;
public List<RoomRole> Roles { get; set; } = null!;
public List<RoomLoadScreen> LoadScreens { get; set; } = new();
public List<string> PromoImages { get; set; } = new();
public List<ExternalContent> PromoExternalContent { get; set; } = new();
public string? DataBlob { get; set; }
public List<ItemTag> Tags { get; set; } = new();
public FullRoom CopyTo(FullRoom target)
{
target.RoomId = RoomId;
target.IsDorm = IsDorm;
target.MaxPlayers = MaxPlayers;
target.MaxPlayerCalculationMode = MaxPlayerCalculationMode;
target.CloningAllowed = CloningAllowed;
target.DisableMicAutoMute = DisableMicAutoMute;
target.DisableRoomComments = DisableRoomComments;
target.EncryptVoiceChat = EncryptVoiceChat;
target.Name = Name;
target.Description = Description;
target.ImageName = ImageName;
target.WarningMask = WarningMask;
target.CustomWarning = CustomWarning;
target.CreatorAccountId = CreatorAccountId;
target.State = State;
target.Accessibility = Accessibility;
target.SupportsLevelVoting = SupportsLevelVoting;
target.IsRRO = IsRRO;
target.IsDeveloperOwned = IsDeveloperOwned;
target.SupportsScreens = SupportsScreens;
target.SupportsWalkVR = SupportsWalkVR;
target.SupportsTeleportVR = SupportsTeleportVR;
target.SupportsVRLow = SupportsVRLow;
target.SupportsQuest2 = SupportsQuest2;
target.SupportsMobile = SupportsMobile;
target.SupportsJuniors = SupportsJuniors;
target.MinLevel = MinLevel;
target.CreatedAt = CreatedAt;
target.Stats = Stats;
target.Version = Version;
target.SubRooms = SubRooms;
target.Roles = Roles;
target.LoadScreens = LoadScreens;
target.PromoImages = PromoImages;
target.PromoExternalContent = PromoExternalContent;
target.DataBlob = DataBlob;
target.Tags = Tags;
return target;
}
}
}