Skip to content

WeaponTypeProperties ​

Inherits: VBoxContainer

Conditional component for weapon-specific properties in EquipmentTypeDefinitionEditor

Variables ​

ResourceManageritem_definitions_resource_manager
WeaponTypeDefinitioncurrent_weapon_type
boolis_loadingfalse
Array[Dictionary]blocked_slot_controls[]
Array[Dictionary]required_empty_slot_controls[]
Varianthand_requirement_options[ ... ]
Variantweapon_mesh_slot_options[ ... ]

Methods ​

voidsetup_managers( p_item_definitions_resource_manager: ResourceManager )
voidload_weapon_type( weapon_type: WeaponTypeDefinition )
voidapply_to_weapon_type( weapon_type: WeaponTypeDefinition )
boolhas_weapon_type()
WeaponTypeDefinitionget_current_weapon_type()
voidclear()

Signals ​

weapon_type_modified() ​

Variable descriptions ​

ResourceManager item_definitions_resource_manager ​

No description yet.

WeaponTypeDefinition current_weapon_type ​

No description yet.

bool is_loading = false ​

No description yet.

Array[Dictionary] blocked_slot_controls = [] ​

No description yet.

Array[Dictionary] required_empty_slot_controls = [] ​

No description yet.

hand_requirement_options ​

No description yet.

weapon_mesh_slot_options ​

No description yet.

Method descriptions ​

void setup_managers( p_item_definitions_resource_manager: ResourceManager ) ​

No description yet.

void load_weapon_type( weapon_type: WeaponTypeDefinition ) ​

No description yet.

void apply_to_weapon_type( weapon_type: WeaponTypeDefinition ) ​

No description yet.

bool has_weapon_type() ​

No description yet.

WeaponTypeDefinition get_current_weapon_type() ​

No description yet.

void clear() ​

No description yet.