Epok Engine

EPOK RUNTIME

epok::object_classes

Variable

Variable

Emitted by the Rust cook next to the scene banks.

Belongs to
epok
Header
object_model.hpp

Declaration

Declaration
const ClassDescriptor object_classes[]

Emitted by the Rust cook next to the scene banks.

Type
const ClassDescriptor[]
Storage
Namespace scope

Example

C++ example
#include "object_model.hpp"

auto firstValue = epok::object_classes[0];

// When mutation is valid for this object:
// epok::object_classes[0] = replacement;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/object_model.hpp:151