~ruther/NosSmooth

ref: 09429d182b86565f561a902741b1b06f1d64979c NosSmooth/Core/NosSmooth.PacketSerializersGenerator/Constants.cs -rw-r--r-- 795 bytes
09429d18 — František Boháček feat: add packets (ncif, u_as, pusle, msg, say, st, stat, c_mode, lev, ski, sr) 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
//
//  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.Packets.Attributes.GenerateSerializerAttribute";

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