diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1053a01 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,2 @@ +[*.cs] +dotnet_diagnostic.IDE0005.severity = warning diff --git a/Assets/Scripts/ButtonTextColorSync.cs b/Assets/Scripts/ButtonTextColorSync.cs index 3c2983e..e84ba31 100644 --- a/Assets/Scripts/ButtonTextColorSync.cs +++ b/Assets/Scripts/ButtonTextColorSync.cs @@ -1,4 +1,3 @@ -using System; using TMPro; using UnityEngine; diff --git a/Assets/Scripts/CustomIconLoader.cs b/Assets/Scripts/CustomIconLoader.cs index 53f978e..e18def1 100644 --- a/Assets/Scripts/CustomIconLoader.cs +++ b/Assets/Scripts/CustomIconLoader.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; diff --git a/Assets/Scripts/LeaderboardsMenu.cs b/Assets/Scripts/LeaderboardsMenu.cs index 9a1be22..157be8d 100644 --- a/Assets/Scripts/LeaderboardsMenu.cs +++ b/Assets/Scripts/LeaderboardsMenu.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Numerics; using Newtonsoft.Json.Linq; using TMPro; diff --git a/Assets/Scripts/Types/ChatroomMessage.cs b/Assets/Scripts/Types/ChatroomMessage.cs index 654c95b..01fdffc 100644 --- a/Assets/Scripts/Types/ChatroomMessage.cs +++ b/Assets/Scripts/Types/ChatroomMessage.cs @@ -5,39 +5,39 @@ using UnityEngine.Scripting; [Preserve] public class ChatroomMessage { - [Preserve] - [JsonProperty("username")] - public string Username { get; set; } + [Preserve] + [JsonProperty("username")] + public string Username { get; set; } - [Preserve] - [JsonProperty("userId")] - public BigInteger UserID { get; set; } + [Preserve] + [JsonProperty("userId")] + public BigInteger UserID { get; set; } - [Preserve] - [JsonProperty("content")] - public string Content { get; set; } + [Preserve] + [JsonProperty("content")] + public string Content { get; set; } - [Preserve] - [JsonProperty("id")] - public BigInteger ID { get; set; } + [Preserve] + [JsonProperty("id")] + public BigInteger ID { get; set; } - [Preserve] - [JsonProperty("icon")] - public int Icon { get; set; } + [Preserve] + [JsonProperty("icon")] + public int Icon { get; set; } - [Preserve] - [JsonProperty("overlay")] - public int Overlay { get; set; } + [Preserve] + [JsonProperty("overlay")] + public int Overlay { get; set; } - [Preserve] - [JsonProperty("birdColor")] - public int[] BirdColor { get; set; } + [Preserve] + [JsonProperty("birdColor")] + public int[] BirdColor { get; set; } - [Preserve] - [JsonProperty("overlayColor")] - public int[] OverlayColor { get; set; } + [Preserve] + [JsonProperty("overlayColor")] + public int[] OverlayColor { get; set; } - [Preserve] - [JsonProperty("customIcon")] - public string CustomIcon { get; set; } + [Preserve] + [JsonProperty("customIcon")] + public string CustomIcon { get; set; } } \ No newline at end of file diff --git a/Assets/Scripts/Types/MarketplaceIcon.cs b/Assets/Scripts/Types/MarketplaceIcon.cs index da72465..6f11571 100644 --- a/Assets/Scripts/Types/MarketplaceIcon.cs +++ b/Assets/Scripts/Types/MarketplaceIcon.cs @@ -4,11 +4,11 @@ using UnityEngine.Scripting; [Preserve] public class MarketplaceIcon { - [Preserve] - [JsonProperty("data")] - public string Data { get; set; } + [Preserve] + [JsonProperty("data")] + public string Data { get; set; } - [Preserve] - [JsonProperty("id")] - public string ID { get; set; } + [Preserve] + [JsonProperty("id")] + public string ID { get; set; } } \ No newline at end of file diff --git a/Assets/Scripts/Types/MarketplaceIconStorageType.cs b/Assets/Scripts/Types/MarketplaceIconStorageType.cs index 13ee482..f1dc4ae 100644 --- a/Assets/Scripts/Types/MarketplaceIconStorageType.cs +++ b/Assets/Scripts/Types/MarketplaceIconStorageType.cs @@ -4,10 +4,10 @@ using Newtonsoft.Json; public class MarketplaceIconStorageType { - [JsonProperty("selected")] - public string Selected { get; set; } = null; - [JsonProperty("balance")] - public BigInteger Balance { get; set; } = 0; - [JsonProperty("purchased")] - public List Purchased { get; set; } = new(); + [JsonProperty("selected")] + public string Selected { get; set; } = null; + [JsonProperty("balance")] + public BigInteger Balance { get; set; } = 0; + [JsonProperty("purchased")] + public List Purchased { get; set; } = new(); } \ No newline at end of file diff --git a/Assets/Scripts/Types/MarketplaceTempIcon.cs b/Assets/Scripts/Types/MarketplaceTempIcon.cs index e7a7f03..5a2d36f 100644 --- a/Assets/Scripts/Types/MarketplaceTempIcon.cs +++ b/Assets/Scripts/Types/MarketplaceTempIcon.cs @@ -5,31 +5,31 @@ using UnityEngine.Scripting; [Preserve] public class MarketplaceTempIcon { - [Preserve] - [JsonProperty("username")] - public string CreatorUsername { get; set; } + [Preserve] + [JsonProperty("username")] + public string CreatorUsername { get; set; } - [Preserve] - [JsonProperty("userid")] - public BigInteger CreatorUserID { get; set; } + [Preserve] + [JsonProperty("userid")] + public BigInteger CreatorUserID { get; set; } - [Preserve] - [JsonProperty("data")] - public string Data { get; set; } + [Preserve] + [JsonProperty("data")] + public string Data { get; set; } - [Preserve] - [JsonProperty("id")] - public string ID { get; set; } + [Preserve] + [JsonProperty("id")] + public string ID { get; set; } - [Preserve] - [JsonProperty("price")] - public BigInteger Price { get; set; } + [Preserve] + [JsonProperty("price")] + public BigInteger Price { get; set; } - [Preserve] - [JsonProperty("buyable")] - public bool Buyable { get; set; } + [Preserve] + [JsonProperty("buyable")] + public bool Buyable { get; set; } - [Preserve] - [JsonProperty("name")] - public string Name { get; set; } + [Preserve] + [JsonProperty("name")] + public string Name { get; set; } } \ No newline at end of file diff --git a/Assets/Scripts/Types/ProfileMessageResponse.cs b/Assets/Scripts/Types/ProfileMessageResponse.cs index bc6d710..7a45150 100644 --- a/Assets/Scripts/Types/ProfileMessageResponse.cs +++ b/Assets/Scripts/Types/ProfileMessageResponse.cs @@ -5,19 +5,19 @@ using UnityEngine.Scripting; [Preserve] public class ProfileMessageResponse { - [Preserve] - [JsonProperty("id")] - public BigInteger ID { get; set; } + [Preserve] + [JsonProperty("id")] + public BigInteger ID { get; set; } - [Preserve] - [JsonProperty("content")] - public string Content { get; set; } + [Preserve] + [JsonProperty("content")] + public string Content { get; set; } - [Preserve] - [JsonProperty("timestamp")] - public string Timestamp { get; set; } + [Preserve] + [JsonProperty("timestamp")] + public string Timestamp { get; set; } - [Preserve] - [JsonProperty("likes")] - public BigInteger Likes { get; set; } + [Preserve] + [JsonProperty("likes")] + public BigInteger Likes { get; set; } } \ No newline at end of file