GBActionNames

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Struct defining all action names for the Grid Building plugin.

Source File: addons/grid_building/resources/actions/gb_action_names.gd

Extends: RefCounted

Properties

  • Property: off: StringName - Mode action names
  • Property: info: StringName
  • Property: build: StringName
  • Property: move: StringName
  • Property: demolish: StringName
  • Property: confirm: StringName - Building action names
  • Property: rotate_right: StringName
  • Property: rotate_left: StringName
  • Property: flip_horizontal: StringName
  • Property: flip_vertical: StringName
  • Property: up: StringName - Movement action names
  • Property: down: StringName
  • Property: left: StringName
  • Property: right: StringName
  • Property: center: StringName

Public Methods

create_default

1
create_default() -> GBActionNames

Flags: static

Creates a new GBActionNames instance with default values.


from_gb_actions

1
from_gb_actions(actions: Object) -> GBActionNames

Flags: static

Creates a GBActionNames instance from an object exposing the GBActions fields.


get_all_names

1
get_all_names() -> Array[StringName]

Returns all action names as an array.