mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-31 18:38:18 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
34 lines
612 B
C#
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
|
|
}
|