From dc61940e3cf1b4a964a5bf8bd79e9cb6f694202c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E5=82=91?= Date: Sun, 30 Oct 2022 22:12:10 +0800 Subject: [PATCH] Add file headers --- .../GrasscutterTools/Forms/FormDropEditor.cs | 22 ++++++++++++++++--- Source/GrasscutterTools/Game/Drop/DropData.cs | 20 ++++++++++++++++- Source/GrasscutterTools/Game/Drop/DropInfo.cs | 20 ++++++++++++++++- Source/GrasscutterTools/Game/ItemMapGroup.cs | 20 ++++++++++++++++- Source/GrasscutterTools/Game/Mail/Mail.cs | 20 ++++++++++++++++- Source/GrasscutterTools/Game/Mail/MailItem.cs | 20 ++++++++++++++++- .../Game/Player/PlayerData.cs | 20 ++++++++++++++++- .../Game/Shop/ItemParamData.cs | 20 ++++++++++++++++- Source/GrasscutterTools/Game/Shop/ShopInfo.cs | 20 ++++++++++++++++- .../GrasscutterTools/Game/Shop/ShopTable.cs | 20 ++++++++++++++++- 10 files changed, 190 insertions(+), 12 deletions(-) diff --git a/Source/GrasscutterTools/Forms/FormDropEditor.cs b/Source/GrasscutterTools/Forms/FormDropEditor.cs index 07b8512..e0d376b 100644 --- a/Source/GrasscutterTools/Forms/FormDropEditor.cs +++ b/Source/GrasscutterTools/Forms/FormDropEditor.cs @@ -1,4 +1,22 @@ -using System; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -11,8 +29,6 @@ using GrasscutterTools.Utils; using Newtonsoft.Json; -using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel; - namespace GrasscutterTools.Forms { public partial class FormDropEditor : Form diff --git a/Source/GrasscutterTools/Game/Drop/DropData.cs b/Source/GrasscutterTools/Game/Drop/DropData.cs index 658d317..fbb141b 100644 --- a/Source/GrasscutterTools/Game/Drop/DropData.cs +++ b/Source/GrasscutterTools/Game/Drop/DropData.cs @@ -1,4 +1,22 @@ -using Newtonsoft.Json; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using Newtonsoft.Json; namespace GrasscutterTools.Game.Drop { diff --git a/Source/GrasscutterTools/Game/Drop/DropInfo.cs b/Source/GrasscutterTools/Game/Drop/DropInfo.cs index 0b6421a..65eabef 100644 --- a/Source/GrasscutterTools/Game/Drop/DropInfo.cs +++ b/Source/GrasscutterTools/Game/Drop/DropInfo.cs @@ -1,4 +1,22 @@ -using System.Collections.Generic; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System.Collections.Generic; using Newtonsoft.Json; diff --git a/Source/GrasscutterTools/Game/ItemMapGroup.cs b/Source/GrasscutterTools/Game/ItemMapGroup.cs index cd806f4..dd02cd2 100644 --- a/Source/GrasscutterTools/Game/ItemMapGroup.cs +++ b/Source/GrasscutterTools/Game/ItemMapGroup.cs @@ -1,4 +1,22 @@ -using System.Collections.Generic; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System.Collections.Generic; using System.Linq; namespace GrasscutterTools.Game diff --git a/Source/GrasscutterTools/Game/Mail/Mail.cs b/Source/GrasscutterTools/Game/Mail/Mail.cs index ed1708d..f44847a 100644 --- a/Source/GrasscutterTools/Game/Mail/Mail.cs +++ b/Source/GrasscutterTools/Game/Mail/Mail.cs @@ -1,4 +1,22 @@ -using System; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System; using System.Collections.Generic; using Newtonsoft.Json; diff --git a/Source/GrasscutterTools/Game/Mail/MailItem.cs b/Source/GrasscutterTools/Game/Mail/MailItem.cs index f6127ef..220f4d8 100644 --- a/Source/GrasscutterTools/Game/Mail/MailItem.cs +++ b/Source/GrasscutterTools/Game/Mail/MailItem.cs @@ -1,4 +1,22 @@ -namespace GrasscutterTools.Game.Mail +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +namespace GrasscutterTools.Game.Mail { /// /// 附件 diff --git a/Source/GrasscutterTools/Game/Player/PlayerData.cs b/Source/GrasscutterTools/Game/Player/PlayerData.cs index 80e8a4b..413e2a8 100644 --- a/Source/GrasscutterTools/Game/Player/PlayerData.cs +++ b/Source/GrasscutterTools/Game/Player/PlayerData.cs @@ -1,4 +1,22 @@ -namespace GrasscutterTools.Game.Player +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +namespace GrasscutterTools.Game.Player { /// /// 玩家数据 diff --git a/Source/GrasscutterTools/Game/Shop/ItemParamData.cs b/Source/GrasscutterTools/Game/Shop/ItemParamData.cs index 54c3337..c0d8f58 100644 --- a/Source/GrasscutterTools/Game/Shop/ItemParamData.cs +++ b/Source/GrasscutterTools/Game/Shop/ItemParamData.cs @@ -1,4 +1,22 @@ -using Newtonsoft.Json; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using Newtonsoft.Json; namespace GrasscutterTools.Game.Shop { diff --git a/Source/GrasscutterTools/Game/Shop/ShopInfo.cs b/Source/GrasscutterTools/Game/Shop/ShopInfo.cs index e4c236f..f4bf26b 100644 --- a/Source/GrasscutterTools/Game/Shop/ShopInfo.cs +++ b/Source/GrasscutterTools/Game/Shop/ShopInfo.cs @@ -1,4 +1,22 @@ -using System.Collections.Generic; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System.Collections.Generic; using Newtonsoft.Json; diff --git a/Source/GrasscutterTools/Game/Shop/ShopTable.cs b/Source/GrasscutterTools/Game/Shop/ShopTable.cs index 3f7e583..3a5d983 100644 --- a/Source/GrasscutterTools/Game/Shop/ShopTable.cs +++ b/Source/GrasscutterTools/Game/Shop/ShopTable.cs @@ -1,4 +1,22 @@ -using System.Collections.Generic; +/** + * Grasscutter Tools + * Copyright (C) 2022 jie65535 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + **/ +using System.Collections.Generic; using Newtonsoft.Json;