MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / GetAllBackpackItems

Method GetAllBackpackItems

internal/characters/character.go:1822–1824  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1820}
1821
1822func (c *Character) GetAllBackpackItems() []items.Item {
1823 return append([]items.Item{}, c.Items...)
1824}
1825
1826// BestUpgrades returns a map of equipment slot -> best backpack item that
1827// beats whatever is currently worn in that slot (or fills an empty slot).

Callers 15

FindKeyInBackpackMethod · 0.95
blockedByItemMethod · 0.80
onAutoCompleteMethod · 0.80
storageCommandMethod · 0.80
listBaitMethod · 0.80
takeItemFromUserFunction · 0.80
RepeatSpawnItemMethod · 0.80
HasItemIdMethod · 0.80
GetBackpackItemsMethod · 0.80
GetAutoCompleteFunction · 0.80
GoFunction · 0.80
InventoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected