using RhythmBase.Components; namespace RhythmBase.Events { /// /// Represents an event to set a theme in a room. /// public class SetTheme : BaseEvent, IRoomEvent { /// /// Initializes a new instance of the class. /// public SetTheme() { Preset = Theme.None; Type = EventType.SetTheme; Tab = Tabs.Actions; Rooms = new RDRoom(false, new byte[1]); } /// /// Gets or sets the theme preset. /// public Theme Preset { get; set; } /// /// Gets or sets the variant of the theme. /// public byte Variant { get; set; } /// /// Gets the type of the event. /// public override EventType Type { get; } /// /// Gets the tab associated with the event. /// public override Tabs Tab { get; } /// /// Gets or sets the rooms associated with the event. /// public RDRoom Rooms { get; set; } /// /// Gets or sets a value indicating whether to skip paint effects. /// public bool SkipPaintEffects { get; set; } /// /// Returns a string that represents the current object. /// /// A string that represents the current object. public override string ToString() => base.ToString() + string.Format(" {0}", Preset); /// /// Represents the available themes. /// public enum Theme { #pragma warning disable CS1591 None, Intimate, IntimateSimple, InsomniacDay, InsomniacNight, Matrix, NeonMuseum, CrossesStraight, CrossesFalling, CubesFalling, CubesFallingNiceBlue, OrientalTechno, Kaleidoscope, PoliticiansRally, Rooftop, RooftopSummer, RooftopAutumn, BackAlley, Sky, NightSky, HallOfMirrors, CoffeeShop, CoffeeShopNight, Garden, GardenNight, TrainDay, TrainNight, DesertDay, DesertNight, HospitalWard, HospitalWardNight, PaigeOffice, Basement, ColeWardNight, ColeWardSunrise, BoyWard, GirlWard, Skyline, SkylineBlue, FloatingHeart, FloatingHeartWithCubes, FloatingHeartBroken, FloatingHeartBrokenWithCubes, ZenGarden, Space, Vaporwave, RollerDisco, Stadium, StadiumStormy, AthleteWard, AthleteWardNight, ProceduralTree #pragma warning restore CS1591 } } }