13 lines
461 B
C#
13 lines
461 B
C#
|
using JetBrains.Annotations;
|
||
|
|
||
|
namespace Wonderking.Game;
|
||
|
|
||
|
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class)]
|
||
|
public class GameDataMetadataAttribute(ushort dataEntrySize, string datFileName, byte xorKey) : Attribute
|
||
|
{
|
||
|
[UsedImplicitly] public byte XorKey { get; init; } = xorKey;
|
||
|
[UsedImplicitly] public ushort DataEntrySize { get; init; } = dataEntrySize;
|
||
|
|
||
|
[UsedImplicitly] internal string DatFileName { get; init; } = datFileName;
|
||
|
}
|