~ruther/NosSmooth

ref: 2ed1006565d793bc5bda0bb4eea116c7d09e8de8 NosSmooth/Packets/NosSmooth.PacketSerializersGenerator/Constants.cs -rw-r--r-- 1.0 KiB
2ed10065 — Rutherther feat(localbinding): add map object x, y 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  Constants.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.PacketSerializersGenerator;

/// <summary>
/// Contains constants needed for the generation.
/// </summary>
public class Constants
{
    /// <summary>
    /// Gets the full name of the generate source attribute class.
    /// </summary>
    public static string GenerateSourceAttributeClass => "NosSmooth.PacketSerializer.Abstractions.Attributes.GenerateSerializerAttribute";

    /// <summary>
    /// Gets the full name of the packet attribute classes that are used for the generation.
    /// </summary>
    public static string PacketAttributesClassRegex => @"^NosSmooth\.PacketSerializer\.Abstractions\.Attributes\.Packet.*";

    /// <summary>
    /// Gets the full name of helper class used for inline type converters.
    /// </summary>
    public static string HelperClass => "NosSmooth.Generated.HelperClass";
}
Do not follow this link