Files
sbox-public/engine/Sandbox.System/CodeGen/CodeGeneratorFlags.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

34 lines
612 B
C#

namespace Sandbox;
/// <summary>
/// Used to specify what type of code generation to perform.
/// </summary>
[Flags]
public enum CodeGeneratorFlags
{
/// <summary>
/// Wrap the get accessor of a property.
/// </summary>
WrapPropertyGet = 1,
/// <summary>
/// Wrap the set accessor of a property.
/// </summary>
WrapPropertySet = 2,
/// <summary>
/// Wrap a method call.
/// </summary>
WrapMethod = 4,
/// <summary>
/// Apply this to a static property or method.
/// </summary>
Static = 8,
/// <summary>
/// Apply this to an instance property or method.
/// </summary>
Instance = 16
}