Actor reflection and spawning by name #45
No assignees
Labels
No labels
area/build
area/content
area/editor
area/engine
area/graphics
area/platform
area/repo-wide
area/tests
area/tools
bug
optional
roadmap
size/L
size/M
size/S
No project
No milestone
Blocks
Depends on
#46 Outliner, details, gizmos, undo and redo
UnflavoredMeson/Primal_Plus_Plus
#56 Loading the game library in the editor
UnflavoredMeson/Primal_Plus_Plus
#43 Actor runtime: actors, parts, behaviors
UnflavoredMeson/Primal_Plus_Plus
Reference
No Branch/Tag specified
Notifications
1 participant
Due date
No due date set.
Reference
UnflavoredMeson/Primal_Plus_Plus#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The editor and files create actors, parts and behaviors by name.
Decided
PRIMAL_ACTOR()/PRIMAL_PART()/PRIMAL_BEHAVIOR(); theirPRIMAL_GENERATED_BODY()goes first in the class (it ends withprivate:) and writesis_a()/class_name().PRIMAL_ACTOR_CLASS(Self, Base)and isn't registered.spawn_by_name(),add_part_by_type(),add_behavior_by_type();ActorRef/PartReffields stored as entities.Read first
Steps
Done when
Claude can help with
Learn