Files
sbox-public/engine/Sandbox.System/Utility/BytePack/BytePack.Identifier.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

64 lines
669 B
C#

namespace Sandbox;
internal partial class BytePack
{
/// <summary>
/// A header before each variable
/// </summary>
internal enum Identifier : byte
{
Null,
Object,
String,
// natives
Bool,
Byte,
SByte,
Int,
UInt,
Float,
Double,
Decimal,
Short,
UShort,
Guid,
TimeSpan,
DateTime,
DateTimeOffset,
Long,
ULong,
Char,
// collections
ArrayValue,
Array,
List,
Dictionary,
// runtime types
Runtime,
// common game
Vector2,
Vector2Int,
Vector3,
Vector3Int,
Vector4,
Rotation,
Angles,
Transform,
Color,
Color32,
BBox,
Sphere,
Plane,
Rect,
Ray,
Line,
Matrix,
SteamId
}
}