Skip to content

GBOwnerContext

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)

signal owner_changed( owner: GBOwner )
allow_overriding_owner: bool = true
output_change_fail: bool = true
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 context

get_owner( ) -> GBOwner

Returns the current owner of this context. May return null if no owner has been set.

get_owner_root( ) -> Node

Returns the owner root or null if not set

get_editor_issues( ) -> Array[String]

Validates the editor configuration before nodes are set up. @return: Array[String] - List of editor validation issues.

get_runtime_issues( ) -> Array[String]

Validates the runtime configuration after nodes are set up. @return: Array[String] - List of runtime validation issues.

addons/grid_building/user/gb_owner_context.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07