Class GGInventoryItemFilterStrategyWeight extends GGInventoryItemFilterStrategy

Enforces an inventory's weight capacity via the [member GGInventory.max_weight].

If the inventory has a maximum weight capacity, this item filter strategy only accepts the item if it won't exceed GGInventory.max_weight.

# Methods

func accepts_item(inventory: GGInventoryitem: GGItemData) -> bool