Skip to content

ludus::runtime::behavior::Operation

Ludus Wiki · API overview · Browse API

Struct

Named deferred operation. Execution only stages commands; the game applies them later.

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

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

Fields

Id

uint32 ludus::runtime::behavior::Operation::Id = 0
Stable nonzero operation identity.

Related types: uint32

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

Name

const char* ludus::runtime::behavior::Operation::Name = nullptr
Borrowed ASCII identifier.

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

Phase

uint32 ludus::runtime::behavior::Operation::Phase = 0
Required game-defined phase identity.

Related types: uint32

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

Capability

uint64 ludus::runtime::behavior::Operation::Capability = 0
Required bits in Invocation::Capabilities.

Related types: uint64

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

Arguments

std::span<const FieldSpec> ludus::runtime::behavior::Operation::Arguments
Up to four checked arguments, in signature order.

Related types: FieldSpec

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