Skip to content

Commit

Permalink
Add SPDX license headers to all C#, XSD, Protobuf, and targets files.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 17, 2024
1 parent 26ace94 commit 5676af7
Show file tree
Hide file tree
Showing 796 changed files with 1,592 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/CancellableAsyncCommand`1.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cli;

internal abstract class CancellableAsyncCommand<TSettings> : AsyncCommand<TSettings>
Expand Down
2 changes: 2 additions & 0 deletions src/cli/CliExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cli;

internal static class CliExtensions
Expand Down
2 changes: 2 additions & 0 deletions src/cli/HexStringConverter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cli;

internal sealed class HexStringConverter : TypeConverter
Expand Down
2 changes: 2 additions & 0 deletions src/cli/Log.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cli;

internal static class Log
Expand Down
2 changes: 2 additions & 0 deletions src/cli/cli.cs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// SPDX-License-Identifier: 0BSD

[module: SkipLocalsInit]
2 changes: 2 additions & 0 deletions src/client/ClientMessageServer.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed class ClientMessageServer : GameMessageServer
Expand Down
2 changes: 2 additions & 0 deletions src/client/ClientMessageServerOptions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed class ClientMessageServerOptions
Expand Down
2 changes: 2 additions & 0 deletions src/client/ClientServerInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed class ClientServerInfo
Expand Down
2 changes: 2 additions & 0 deletions src/client/ClientServerList.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

syntax = "proto2";

package vezel.novadrop.client;
Expand Down
2 changes: 2 additions & 0 deletions src/client/GameEvent.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

[SuppressMessage("", "CA1008")]
Expand Down
2 changes: 2 additions & 0 deletions src/client/GameMessageServer.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Windows.Win32.Foundation;
using Windows.Win32.System.DataExchange;
using Windows.Win32.UI.WindowsAndMessaging;
Expand Down
2 changes: 2 additions & 0 deletions src/client/LauncherAuthenticationInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

internal sealed class LauncherAuthenticationInfo
Expand Down
2 changes: 2 additions & 0 deletions src/client/LauncherJsonContext.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

[JsonSerializable(typeof(LauncherAuthenticationInfo))]
Expand Down
2 changes: 2 additions & 0 deletions src/client/LauncherMessageServer.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed partial class LauncherMessageServer : GameMessageServer
Expand Down
2 changes: 2 additions & 0 deletions src/client/LauncherMessageServerOptions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed class LauncherMessageServerOptions
Expand Down
2 changes: 2 additions & 0 deletions src/client/LauncherServerInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Client;

public sealed class LauncherServerInfo
Expand Down
2 changes: 2 additions & 0 deletions src/client/client.cs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// SPDX-License-Identifier: 0BSD

[module: SkipLocalsInit]
2 changes: 2 additions & 0 deletions src/client/client.targets
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: 0BSD -->

<Project>
<ItemGroup Condition="'$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable'">
<Using Include="Vezel.Novadrop.Client" />
Expand Down
2 changes: 2 additions & 0 deletions src/common/Buffers/SpanReader.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Buffers;

internal ref struct SpanReader
Expand Down
2 changes: 2 additions & 0 deletions src/common/Buffers/SpanWriter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Buffers;

internal ref struct SpanWriter
Expand Down
2 changes: 2 additions & 0 deletions src/common/Diagnostics/Assert.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Diagnostics;

[StackTraceHidden]
Expand Down
2 changes: 2 additions & 0 deletions src/common/Diagnostics/AssertionException.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Diagnostics;

[SuppressMessage("", "CA1032")]
Expand Down
2 changes: 2 additions & 0 deletions src/common/Diagnostics/Check.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Diagnostics;

[StackTraceHidden]
Expand Down
2 changes: 2 additions & 0 deletions src/common/IO/StreamBinaryReader.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.IO;

internal sealed class StreamBinaryReader
Expand Down
2 changes: 2 additions & 0 deletions src/common/IO/StreamBinaryWriter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.IO;

internal sealed class StreamBinaryWriter
Expand Down
2 changes: 2 additions & 0 deletions src/common/common.cs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// SPDX-License-Identifier: 0BSD

[module: SkipLocalsInit]
2 changes: 2 additions & 0 deletions src/formats/Cryptography/FakePaddingCryptoTransform.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cryptography;

public sealed class FakePaddingCryptoTransform : ICryptoTransform
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Cryptography/Xor256.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Cryptography;

[SuppressMessage("", "CA5358")]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Nodes;
using Vezel.Novadrop.Data.Serialization;
using Vezel.Novadrop.Data.Serialization.Readers;
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterArchitecture.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public enum DataCenterArchitecture
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterConstants.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

internal static class DataCenterConstants
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public static class DataCenterExtensions
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterFormat.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public enum DataCenterFormat
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterKeys.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public sealed class DataCenterKeys :
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterLoadOptions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public sealed class DataCenterLoadOptions
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterLoaderMode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public enum DataCenterLoaderMode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterMutability.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public enum DataCenterMutability
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public abstract class DataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterSaveOptions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public sealed class DataCenterSaveOptions
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterTypeCode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public enum DataCenterTypeCode : byte
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/DataCenterValue.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data;

public readonly struct DataCenterValue :
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/EagerImmutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class EagerImmutableDataCenterNode : ImmutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/EagerMutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class EagerMutableDataCenterNode : MutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/ImmutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal abstract class ImmutableDataCenterNode : DataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/LazyImmutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class LazyImmutableDataCenterNode : ImmutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/LazyMutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class LazyMutableDataCenterNode : MutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/MutableDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Serialization;

namespace Vezel.Novadrop.Data.Nodes;
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/TransientDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class TransientDataCenterNode : ImmutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Nodes/UserDataCenterNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Nodes;

internal sealed class UserDataCenterNode : MutableDataCenterNode
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterAddress.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Serialization.Items;

namespace Vezel.Novadrop.Data.Serialization;
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterFooter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization;

internal sealed class DataCenterFooter
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterHash.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization;

internal static class DataCenterHash
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterHeader.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization;

internal sealed class DataCenterHeader
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterNameTree.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization;

internal static class DataCenterNameTree
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/DataCenterWriter.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Cryptography;
using Vezel.Novadrop.Data.Serialization.Items;
using Vezel.Novadrop.Data.Serialization.Regions;
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/DataCenterRawAddress.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/DataCenterRawChar.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/DataCenterRawKeys.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/DataCenterRawNode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/DataCenterRawString.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

[StructLayout(LayoutKind.Sequential, Pack = 1)]
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Items/IDataCenterItem.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

namespace Vezel.Novadrop.Data.Serialization.Items;

internal interface IDataCenterItem
Expand Down
2 changes: 2 additions & 0 deletions src/formats/Data/Serialization/Readers/DataCenterReader.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Cryptography;
using Vezel.Novadrop.Data.Serialization.Items;
using Vezel.Novadrop.Data.Serialization.Regions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Nodes;
using Vezel.Novadrop.Data.Serialization.Items;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Nodes;
using Vezel.Novadrop.Data.Serialization.Items;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Nodes;
using Vezel.Novadrop.Data.Serialization.Items;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: 0BSD

using Vezel.Novadrop.Data.Nodes;
using Vezel.Novadrop.Data.Serialization.Items;

Expand Down
Loading

0 comments on commit 5676af7

Please sign in to comment.