mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-14 09:19:25 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
64 lines
669 B
C#
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
|
|
}
|
|
}
|