Struct ScyllaTypeMap.DiagnosticEntry
A single (type, id, value) entry captured by GetDiagnosticEntries(List<DiagnosticEntry>). The stored value is boxed into Value regardless of its bucket's value type.
Inherited Members
Namespace: Scylla.Core.Structures
Assembly: ScyllaCore.dll
Syntax
public readonly struct ScyllaTypeMap.DiagnosticEntry
Remarks
Diagnostic entries exist for tooling and debugging (inspectors, debug overlays, log dumps), not for gameplay code. Producing them allocates, so they must never be gathered in hot paths.
Constructors
DiagnosticEntry(Type, uint, object)
Creates a new diagnostic entry.
Declaration
public DiagnosticEntry(Type type, uint id, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The CLR value type of the bucket the entry belongs to |
| uint | id | The numeric ID the value is stored under |
| object | value | The stored value, boxed (may be null for reference types) |
Fields
ID
The numeric ID the value is stored under within its type bucket.
Declaration
public readonly uint ID
Field Value
| Type | Description |
|---|---|
| uint |
Type
The CLR value type of the bucket this entry was stored in.
Declaration
public readonly Type Type
Field Value
| Type | Description |
|---|---|
| Type |
Value
The stored value, boxed. May be null when a reference-type bucket holds a stored
null value.
Declaration
public readonly object Value
Field Value
| Type | Description |
|---|---|
| object |