mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
style: fix c# build warnings
This commit is contained in:
@@ -732,6 +732,7 @@ namespace MeoAsstGui
|
||||
{
|
||||
all_drops += $" (+{addQuantity})";
|
||||
}
|
||||
|
||||
all_drops += "\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
namespace MeoAsstGui.MaaHotKeys
|
||||
// <copyright file="IMaaHotKeyActionHandler.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
namespace MeoAsstGui.MaaHotKeys
|
||||
{
|
||||
public interface IMaaHotKeyActionHandler
|
||||
{
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using GlobalHotKey;
|
||||
// <copyright file="IMaaHotKeyManager.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using GlobalHotKey;
|
||||
|
||||
namespace MeoAsstGui.MaaHotKeys
|
||||
{
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using System.Text;
|
||||
// <copyright file="MaaHotKey.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using GlobalHotKey;
|
||||
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using System;
|
||||
// <copyright file="MaaHotKeyAction.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
|
||||
namespace MeoAsstGui.MaaHotKeys
|
||||
{
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using System;
|
||||
// <copyright file="MaaHotKeyActionHandler.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
using System.Windows;
|
||||
using StyletIoC;
|
||||
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using System;
|
||||
// <copyright file="MaaHotKeyManager.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Input;
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
using System.Windows;
|
||||
// <copyright file="HotKeyEditorUserControl.xaml.cs" company="MaaAssistantArknights">
|
||||
// MeoAsstGui - A part of the MeoAssistantArknights project
|
||||
// Copyright (C) 2021 MistEO and Contributors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY
|
||||
// </copyright>
|
||||
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using MeoAsstGui.MaaHotKeys;
|
||||
|
||||
@@ -672,6 +672,7 @@ namespace MeoAsstGui
|
||||
fileStream.Write(byteArray, 0, byteArraySize);
|
||||
byteArraySize = responseStream.Read(byteArray, 0, byteArray.Length);
|
||||
}
|
||||
|
||||
success = true;
|
||||
}
|
||||
catch (Exception info)
|
||||
|
||||
Reference in New Issue
Block a user