From c14cbaf55f81d59c8fa1d69a46be253ef4af5b68 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:28:14 +0200 Subject: [PATCH] GameModelImporter - Add copyright notice and remove unnecessary using statements --- PCK-Studio/Internal/GameModelImporter.cs | 20 +++++++++++++++++--- PCK-Studio/Internal/GameModelInfo.cs | 6 +----- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/PCK-Studio/Internal/GameModelImporter.cs b/PCK-Studio/Internal/GameModelImporter.cs index de1df84b..4007a9e6 100644 --- a/PCK-Studio/Internal/GameModelImporter.cs +++ b/PCK-Studio/Internal/GameModelImporter.cs @@ -1,8 +1,22 @@ -using System; +/* Copyright (c) 2024-present miku-666 + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1.The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. +**/ using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Newtonsoft.Json; using OMI.Formats.Model; diff --git a/PCK-Studio/Internal/GameModelInfo.cs b/PCK-Studio/Internal/GameModelInfo.cs index 882417a2..b517abab 100644 --- a/PCK-Studio/Internal/GameModelInfo.cs +++ b/PCK-Studio/Internal/GameModelInfo.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; using OMI.Formats.Model; namespace PckStudio.Internal