Enum ConfigFilePropertyType
Identifies the runtime data type of a value stored in a ConfigFileProperty within a ConfigFile. This enum drives type-guarded accessor selection (e.g. BoolValue, IntValue) and controls how values are serialized by ToJSON().
When deserializing JSON via FromJSON(string), the type is inferred
from the JSON token: boolean literals become Bool, integer literals
within Int32 range become Int (larger integers become
Double), floating-point literals become Double, string
literals and JSON null become String, nested JSON objects become
Group, and JSON arrays become Array.
Namespace: Scylla.Core.Util.File
Assembly: ScyllaCore.dll
Syntax
public enum ConfigFilePropertyType
Fields
| Name | Description |
|---|---|
| Array | An ordered, heterogeneous list of ConfigFileProperty values. Corresponds to a JSON array. Array elements may be of any supported type, including nested groups or further arrays. Access via ArrayValue. |
| Bool | A boolean value ( |
| Double | A double-precision floating-point value. This is the type assigned to all JSON
floating-point literals, as well as to integer literals that fall outside the
|
| Float | A single-precision floating-point value. This type is not produced by FromJSON(string) (which uses Double for all JSON numeric literals); it is only created when a property is set programmatically via Float(float) or SetFloat(string, float). Access via FloatValue. |
| Group | A nested ConfigFileGroup (sub-object). Corresponds to a JSON object nested inside another JSON object. This type enables arbitrary nesting depth within a config file. Access via GroupValue. |
| Int | A 32-bit signed integer value in the range |
| String | A string value. A property of this type may hold a |