using System.Text.Json.Serialization;
namespace RecRoomArchive.Models.API.Players
{
///
/// Extensions of data used in August 2016 Rec Room
///
public class AugustProfile : BaseProfile
{
public AugustProfile(BaseProfile baseProfile)
{
Id = baseProfile.Id;
Username = baseProfile.Username;
DisplayName = baseProfile.DisplayName;
XP = baseProfile.XP;
Level = baseProfile.Level;
Reputation = baseProfile.Reputation;
Developer = baseProfile.Developer;
Bio = baseProfile.Bio;
RegistrationStatus = baseProfile.RegistrationStatus;
CanReceiveInvites = baseProfile.CanReceiveInvites;
ProfileImageName = baseProfile.ProfileImageName;
JuniorProfile = baseProfile.JuniorProfile;
ForceJuniorImages = baseProfile.ForceJuniorImages;
PendingJunior = baseProfile.PendingJunior;
HasBirthday = baseProfile.HasBirthday;
HasEmail = baseProfile.HasEmail;
AvoidJuniors = baseProfile.AvoidJuniors;
}
///
/// Used in early versions of Rec Room from 2016 as the players DisplayName
///
[JsonPropertyName(name: "Name")] public string Name => DisplayName;
///
/// The SteamID of the local player, used in 2016
///
[JsonPropertyName(name: "SteamID")] public ulong SteamID { get; set; }
///
/// The..gender?? of the local player, this isn't used by Rec Room at all so I'm guessing whoever made their webmanager just added this to add it
///
[JsonPropertyName(name: "Gender")] public string Gender { get; set; } = string.Empty;
}
}