Skip to content

ludus::runtime::behavior::FieldSpec

Ludus Wiki · API overview · Browse API

Struct

Immutable field descriptor. Names are ASCII identifiers, at most 63 bytes.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

#include <ludus/runtime/behavior/behavior.h>
struct ludus::runtime::behavior::FieldSpec

Fields

Id

uint32 ludus::runtime::behavior::FieldSpec::Id = 0
Stable nonzero field identity.

Related types: uint32

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Name

const char* ludus::runtime::behavior::FieldSpec::Name = nullptr
Borrowed, null-terminated authoring name.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Type

Kind ludus::runtime::behavior::FieldSpec::Type = Kind::Uint32
Required representation.

Related types: Kind

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Min

uint32 ludus::runtime::behavior::FieldSpec::Min = 0
Inclusive scalar lower bound; zero for Entity.

Related types: uint32

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Max

uint32 ludus::runtime::behavior::FieldSpec::Max = 0
Inclusive scalar upper bound; zero for Entity.

Related types: uint32

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Default

uint32 ludus::runtime::behavior::FieldSpec::Default = 0
Default declared scalar value; zero for Entity.

Related types: uint32

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h