GBOwnerContext
Summary
Section titled “Summary”The owner of a GBCompositionContainer All systems, settings, templates, etc contained within correlated with the owners setup. You can have multiple GBCompositionContainers and GBOwners within a game if you need multiple full systems running at the same time (multiplayer etc)
Signals
Section titled “Signals”signal owner_changed( owner: GBOwner )
Properties
Section titled “Properties”Methods
Section titled “Methods”func _init( p_owner: GBOwner ) -> void
func set_owner( value: GBOwner ) -> void
Sets the owner for this context. Respects the allow_overriding_owner setting when changing from an existing owner.
value
: GBOwner - The new owner to set for this contextfunc get_owner( ) -> GBOwner
Returns the current owner of this context. May return null if no owner has been set.
func get_owner_root( ) -> Node
Returns the owner root or null if not set
func get_origin( ) -> Node
Returns the origin node associated with the active owner (usually the owner_root). Returns: The origin node when an owner is assigned, otherwise null.
func get_editor_issues( ) -> Array[String]
Validates the editor configuration before nodes are set up.
@return
: Array[String] - List of editor validation issues.func get_runtime_issues( ) -> Array[String]
Validates the runtime configuration after nodes are set up.
@return
: Array[String] - List of runtime validation issues.
Source
Section titled “Source”addons/grid_building/user/gb_owner_context.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.