Almost done with created levels menu

This commit is contained in:
2025-12-23 16:10:18 -07:00
parent 649c6f41c8
commit 5d4e239656
6 changed files with 232 additions and 32 deletions

View File

@@ -0,0 +1,42 @@
using System.Numerics;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class Level
{
[JsonProperty("uuid")]
public string UUID { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("verified")]
public bool Verified { get; set; }
[JsonProperty("uploaded")]
public bool Uploaded { get; set; }
[JsonProperty("uploadedId")]
public BigInteger UploadedID { get; set; }
[JsonProperty("editorCameraPos")]
public JArray EditorCameraPos { get; set; }
[JsonProperty("editorCameraZoom")]
public float EditorCameraZoom { get; set; }
public Level(string uuid, string name, string description, bool verified, bool uploaded, BigInteger uploadedId, JArray editorCameraPos, float editorCameraZoom)
{
UUID = uuid;
Name = name;
Description = description;
Verified = verified;
Uploaded = uploaded;
UploadedID = uploadedId;
EditorCameraPos = editorCameraPos;
EditorCameraZoom = editorCameraZoom;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 203847ff3940241819e3f0b0cdf114f3