-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from DDrag to CDrag. Fixes #196, #197 Fix loading indicator Fix crash when offsets not yet updated
- Loading branch information
Showing
25 changed files
with
1,502 additions
and
1,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
| ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace LeagueBroadcast.Common.Data.DTO | ||
{ | ||
public class SummonerSpell | ||
{ | ||
public static List<SummonerSpell> SummonerSpells = new(); | ||
public static HashSet<SummonerSpell> All { get; set; } = new(); | ||
|
||
public string id; | ||
public int key; | ||
public string name; | ||
public string icon; | ||
[JsonPropertyName("id")] | ||
public int ID { get; set; } = -1; | ||
|
||
[JsonPropertyName("key")] | ||
public int Key => ID; | ||
|
||
[JsonPropertyName("name")] | ||
public string Name { get; set; } = ""; | ||
|
||
[JsonPropertyName("icon")] | ||
public string Icon => IconPath; | ||
|
||
[JsonPropertyName("iconPath")] | ||
public string IconPath { get; set; } = ""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.1</TargetFramework> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<AssemblyVersion>1.4.23.0</AssemblyVersion> | ||
<FileVersion>1.4.23.21326</FileVersion> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DebugType>embedded</DebugType> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<DebugType>embedded</DebugType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | ||
<PackageReference Include="System.Text.Json" Version="6.0.6" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Oops, something went wrong.