Grid Placement

GPOwnerContext

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: core/contexts/gb_owner_context.gd

Version: 5.1

class_name: GPOwnerContext extends: RefCounted

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

  • owner_changed

Exports

(none)

Methods

  • _init()
  • set_owner()
    • Sets the owner for this context. Respects the allow_overriding_owner setting when changing from an existing owner.[br][br] [code]value[/code]: [i]GBOwner[/i] - The new owner to set for this context
  • get_owner()
    • Returns the current owner of this context. May return null if no owner has been set.
  • get_owner_root()
    • Returns the owner root or null if not set
  • get_origin()
    • Returns the origin node associated with the active owner (usually the owner_root). [return] The origin node when an owner is assigned, otherwise null.
  • get_editor_issues()
    • Validates the editor configuration before nodes are set up. [code]@return[/code]: [i]Array[String][/i] - List of editor validation issues.
  • get_runtime_issues()
    • Validates the runtime configuration after nodes are set up. [code]@return[/code]: [i]Array[String][/i] - List of runtime validation issues.