Initialize repository
Added basic info to get in game for like...August 2016 ;-; It's not much but it's a start
This commit is contained in:
44
RecRoomArchive.Models/API/Players/AugustProfile.cs
Normal file
44
RecRoomArchive.Models/API/Players/AugustProfile.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RecRoomArchive.Models.API.Players
|
||||
{
|
||||
/// <summary>
|
||||
/// Extensions of data used in August 2016 Rec Room
|
||||
/// </summary>
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in early versions of Rec Room from 2016 as the players DisplayName
|
||||
/// </summary>
|
||||
[JsonPropertyName(name: "Name")] public string Name => DisplayName;
|
||||
/// <summary>
|
||||
/// The SteamID of the local player, used in 2016
|
||||
/// </summary>
|
||||
[JsonPropertyName(name: "SteamID")] public ulong SteamID { get; set; }
|
||||
/// <summary>
|
||||
/// 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
|
||||
/// </summary>
|
||||
[JsonPropertyName(name: "Gender")] public string Gender { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user