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

Interface LoadableSimple

internal/fileloader/fileloader.go:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36type LoadableSimple interface {
37 Validate() error // General validation (or none)
38 Filepath() string // Relative file path to some base directory - can include subfolders
39}
40
41type Loadable[K comparable] interface {
42 Id() K // Must be a unique identifier for the data

Callers 16

swapToAltFunction · 0.65
characterCommandMethod · 0.65
loadUserByIdFunction · 0.65
LogOutUserByConnectionIdFunction · 0.65
LoadUserFunction · 0.65
StoreItemMethod · 0.65
SavePetSpecFunction · 0.65
SaveSpellSpecFunction · 0.65
DeleteSpellSpecFunction · 0.65
DeleteQuestFunction · 0.65
TestBuffSpec_FilepathFunction · 0.65
DeleteBuffSpecFunction · 0.65

Implementers 13

Petinternal/pets/pets.go
SpellDatainternal/spells/spells.go
Aliasesinternal/keywords/keywords.go
Questinternal/quests/quests.go
BuffSpecinternal/buffs/buffspec.go
BiomeInfointernal/rooms/biomes.go
ZoneConfiginternal/rooms/zoneconfig.go
Roominternal/rooms/rooms.go
ItemSpecinternal/items/itemspec.go
WeaponAttackMessageGroupinternal/items/attack_messages.go
Raceinternal/races/races.go
MutatorSpecinternal/mutators/mutators.go

Calls

no outgoing calls

Tested by

no test coverage detected