(oops!) added missing changes
MODIFY
HunterPie.Core/Core/Client/Config/Model.cs
HunterPie.Core/Core/Client/Config/Model.cs
@@ -49,6 +49,7 @@ namespace HunterPie.Core.Settings
public DPSMeter DPSMeter { get; set; } = new DPSMeter();
public AbnormalitiesWidget AbnormalitiesWidget { get; set; } = new AbnormalitiesWidget();
public ClassesWidget ClassesWidget { get; set; } = new ClassesWidget();
+ public NotificationsWidget NotificationsWidget { get; set; } = new NotificationsWidget();
}
public class PlayerHealthComponent : IWidgetSettings
@@ -158,6 +159,16 @@ namespace HunterPie.Core.Settings
public bool StreamerMode { get; set; } = false;
}
+ public class NotificationsWidget : IWidgetSettings
+ {
+ public bool Initialize { get; set; } = true;
+ public bool Enabled { get; set; } = true;
+ public int[] Position { get; set; } = { 1370, 680 };
+ public float Opacity { get; set; } = 1;
+ public double Scale { get; set; } = 1;
+ public bool StreamerMode { get; set; } = false;
+ }
+
public class Players
{
public string Color { get; set; } = "#FFFFFF";

MODIFY
HunterPie.UI/HunterPie.UI.csproj
HunterPie.UI/HunterPie.UI.csproj
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9E9CCD04-0006-4ECF-A973-8776B638121C}</ProjectGuid>
+ <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HunterPie</RootNamespace>
<Compile Include="GUI\Widgets\Notifications\DiscordNotify.xaml.cs">
<DependentUpon>DiscordNotify.xaml</DependentUpon>
</Compile>
+ <Compile Include="GUI\Widgets\Notifications\Notification.xaml.cs">
+ <DependentUpon>Notification.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="GUI\Widgets\Notifications\NotificationsWidget.xaml.cs">
+ <DependentUpon>NotificationsWidget.xaml</DependentUpon>
+ </Compile>
<Compile Include="GUI\WidgetType.cs" />
<Compile Include="Infrastructure\BaseViewModel.cs" />
<Compile Include="Infrastructure\Converters\BooleanToVisibilityConverter.cs" />
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
+ <Page Include="GUI\Widgets\Notifications\Notification.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
+ <Page Include="GUI\Widgets\Notifications\NotificationsWidget.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HunterPie.Core\HunterPie.Core.csproj">

(oops!) added missing changes