InventorySystemFactory

InventorySystemFactory

Factory for creating inventory system adapters

Project: GridPlacement v6.0
Layer: Core
Source: Core/_incomplete/Integration/InventorySystemFactory.cs
Namespace: GridBuilding.Core.Integration
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Methods

CreateAdapter

Creates an inventory adapter for the specified type

Returns: Result<IPlaceableInventoryAdapter>

Parameters:

  • string inventoryType

ValidateInventoryCompatibility

Validates inventory compatibility

Returns: Result<bool>

Parameters:

  • string inventoryType
  • PlaceableDefinition placeable

GetSupportedInventoryTypes

Gets supported inventory system types

Returns: IEnumerable<string>

RegisterAdapter

Registers a custom inventory adapter factory

Returns: Result<bool>

Parameters:

  • string inventoryType
  • Func<IPlaceableInventoryAdapter> factory

IsSupported

Checks if inventory type is supported

Returns: bool

Parameters:

  • string inventoryType

CreateMultipleAdapters

Creates multiple adapters for batch operations

Returns: Result<Dictionary<string, IPlaceableInventoryAdapter>>

Parameters:

  • IEnumerable<string> inventoryTypes