Skip to content

Commit

Permalink
chore: fix file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyupe committed Oct 22, 2024
1 parent 5aa86ba commit 0b37ced
Show file tree
Hide file tree
Showing 17 changed files with 62 additions and 11 deletions.
5 changes: 4 additions & 1 deletion Cafe.Matcha.Packer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ private static void GenerateAssembly()
string version = DateTime.UtcNow.ToString("yy.M.d.Hmm");

var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"..\Cafe.Matcha\AssemblyCopyright.cs");
var template = @"using System.Reflection;
var template = @"// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.
using System.Reflection;
[assembly: AssemblyTitle(""Cafe.Matcha"")]
[assembly: AssemblyDescription(""Cafe.Matcha"")]
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Constant/LogType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Constant
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Constant
{
public enum LogType
{
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Constant/Region.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Constant
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Constant
{
public enum Region
{
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Constant/TreasureShiftingWheelResultType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Constant
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Constant
{
internal enum TreasureShiftingWheelResultType
{
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Network/Packet.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network
{
using System;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network.Structures
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System.Collections.Generic;

Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Network/Structures/IMarketBoardHistory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network.Structures
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System;
using System.Collections.Generic;
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Network/Structures/IMarketBoardPurchase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network.Structures
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
/// <summary>
/// An interface that represents market board purchase information. This message is received from the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network.Structures
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
/// <summary>
/// An interface that represents market board purchase information. This message is sent from the
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Network/Structures/IMarketTaxRates.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Network.Structures
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System;

Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketBoardCurrentOfferings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System;
Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketBoardHistory.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System;
Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketBoardItemRequest.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System.Collections.Generic;
Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketBoardPurchase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System.IO;
Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketBoardPurchaseHandler.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System.IO;
Expand Down
3 changes: 3 additions & 0 deletions Cafe.Matcha/Network/Structures/MarketTaxRates.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Network.Structures
{
using System;
Expand Down
5 changes: 4 additions & 1 deletion Cafe.Matcha/Telemetry/Npc.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Cafe.Matcha.Telemetry
// Copyright (c) FFCafe. All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Cafe.Matcha.Telemetry
{
using Cafe.Matcha.Models;
using Cafe.Matcha.Utils;
Expand Down

0 comments on commit 0b37ced

Please sign in to comment.