Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TalesMUD/talesmud
/ functions
Functions
2,537 in github.com/TalesMUD/talesmud
⨍
Functions
2,537
◇
Types & classes
440
Function
Pt
(e)
public/mud-client/public/bundle.js:26
Method
PutRoom
PutRoom ... Updates a room
pkg/server/handler/rooms.go:90
Method
PutScript
PutScript ... Updates a script
pkg/server/handler/scripts.go:104
Function
Py
(e)
public/mud-client/public/bundle.js:26
Function
Qh
()
public/mud-client/public/bundle.js:26
Method
QuestProgress
()
pkg/repository/sqlite_factory.go:71
Method
Quests
()
pkg/repository/sqlite_factory.go:67
Method
QuestsService
()
pkg/service/facade.go:158
Method
QueuePlayerAction
QueuePlayerAction queues an action for a player's next auto-attack turn
pkg/mudserver/game/game_combat.go:905
Method
QueuePlayerSkill
QueuePlayerSkill queues a skill for a player's next turn
pkg/mudserver/game/game_combat.go:922
Function
Qv
(e)
public/mud-client/public/bundle.js:26
Function
ReadFromFile
(fileName string)
pkg/entities/dialogs/dialogs.go:161
Method
RecordSessionEnd
RecordSessionEnd marks an existing session as ended and records its duration. If the session is not found (e.g., server restart), this is a no-op.
pkg/service/gueststats.go:63
Method
RecordSessionStart
RecordSessionStart records the start of a new guest session.
pkg/service/gueststats.go:46
Function
RefTrue
()
pkg/entities/dialogs/dialogs.go:183
Method
Register
Register registers a script handler for an event
pkg/scripts/events/registry.go:59
Function
RegisterCharactersModule
RegisterCharactersModule registers the tales.characters module
pkg/scripts/runner/lua/modules/characters.go:11
Function
RegisterDialogsModule
RegisterDialogsModule registers the tales.dialogs module
pkg/scripts/runner/lua/modules/dialogs.go:11
Function
RegisterGameModule
RegisterGameModule registers the tales.game module
pkg/scripts/runner/lua/modules/game.go:18
Function
RegisterItemsModule
RegisterItemsModule registers the tales.items module
pkg/scripts/runner/lua/modules/items.go:11
Function
RegisterNPCsModule
RegisterNPCsModule registers the tales.npcs module
pkg/scripts/runner/lua/modules/npcs.go:12
Function
RegisterQuestsModule
RegisterQuestsModule registers the tales.quests module
pkg/scripts/runner/lua/modules/quests.go:11
Function
RegisterRoomsModule
RegisterRoomsModule registers the tales.rooms module
pkg/scripts/runner/lua/modules/rooms.go:12
Function
RegisterUtilsModule
RegisterUtilsModule registers the tales.utils module
pkg/scripts/runner/lua/modules/utils.go:18
Method
RemoveInstance
RemoveInstance completely removes an instance from the manager
pkg/mudserver/game/npc_manager.go:319
Method
RemoveItemByName
RemoveItemByName removes the first item matching the name and returns it
pkg/entities/items/inventory.go:84
Function
RemoveStringFromSlice
RemoveStringFromSlice ...
pkg/mudserver/game/util/game_utils.go:317
Method
RenderGraphData
RenderGraphData returns the world map as JSON graph data
pkg/server/handler/worldrenderer.go:214
Method
ResetConversation
ResetConversation resets the conversation to the main node
pkg/service/conversations.go:109
Method
Restock
Restock refills merchant inventory to max quantities
pkg/entities/npcs/merchant_trait.go:119
Method
RollLoot
RollLoot implements LootTablesService.RollLoot
pkg/service/loottables.go:46
Method
RollLootFromTable
RollLootFromTable rolls against a provided loot table (for testing or custom drops)
pkg/service/loottables.go:29
Method
RollLootTable
RollLootTable performs a test roll against a loot table Query params: ?playerLevel=1&baseGold=100
pkg/server/handler/loottables.go:92
Method
Rooms
()
pkg/repository/sqlite_factory.go:27
Function
RoomsFromJSONString
RoomsFromJSONString ...
pkg/entities/rooms/converter.go:21
Method
RoomsService
()
pkg/service/facade.go:111
Function
Rt
(e)
public/mud-client/public/bundle.js:26
Method
Run
()
pkg/mudserver/mudserver.go:79
Method
Run
Run main game loop
pkg/mudserver/game/game.go:182
Method
Run
Run executes a JavaScript script with the given context
pkg/scripts/runner/defaultscriptrunner.go:53
Method
Run
Run executes a script with the given context, routing to the appropriate runner
pkg/scripts/runner/factory.go:44
Method
Run
Run executes a Lua script with the given context (backward compatibility)
pkg/scripts/runner/lua/luarunner.go:97
Method
Run
Run ... starts the server
pkg/server/server.go:363
Method
RunWithResult
RunWithResult executes a script and returns detailed result information
pkg/scripts/runner/factory.go:59
Method
Runner
()
pkg/service/facade.go:130
Function
Ry
(e)
public/mud-client/public/bundle.js:26
Method
ScriptTypes
()
pkg/service/scripts.go:23
Method
Scripts
()
pkg/repository/sqlite_factory.go:31
Method
ScriptsService
()
pkg/service/facade.go:121
Function
Sd
()
public/mud-client/public/bundle.js:26
Method
SeedCharacterTemplates
SeedCharacterTemplates seeds the database with default system presets Also seeds starter item templates if they don't exist
pkg/server/handler/charactertemplates.go:85
Method
ServeBackground
ServeBackground serves a background image from disk
pkg/server/handler/backgrounds.go:71
Method
ServerSettings
()
pkg/repository/sqlite_factory.go:63
Method
ServerSettingsService
()
pkg/service/facade.go:154
Method
Set
(key string, value interface{})
pkg/mudserver/game/state.go:27
Method
Set
Set adds custom data to the context
pkg/scripts/events/context.go:123
Method
SetAutoAttackTarget
SetAutoAttackTarget sets the persistent auto-attack target for a player
pkg/mudserver/game/game_combat.go:940
Method
SetFacade
SetFacade sets the facade reference (called after all services are created)
pkg/service/quests.go:58
Method
SetRole
SetRole sets the role for a user. Only "player" and "creator" are allowed via API. Admin role is managed exclusively via the MUD_ADMIN_OAUTHID env var
pkg/service/users.go:88
Method
SetScriptsRepository
SetScriptsRepository sets the scripts repository for loading scripts
pkg/scripts/events/registry.go:52
Method
SetServices
SetServices injects the required services into the runner
pkg/scripts/runner/lua/luarunner.go:52
Method
Shutdown
Shutdown gracefully shuts down the script runner
pkg/scripts/runner/defaultscriptrunner.go:48
Method
Shutdown
Shutdown gracefully shuts down all runners
pkg/scripts/runner/factory.go:78
Method
Shutdown
Shutdown gracefully shuts down the script runner
pkg/scripts/runner/lua/luarunner.go:87
Method
Size
Size returns the current number of states in the pool
pkg/scripts/runner/lua/pool.go:100
Function
SkillByName
SkillByName returns the first skill matching the given name (case-insensitive), or nil
pkg/entities/skills/registry.go:61
Method
Skills
()
pkg/repository/sqlite_factory.go:75
Method
SkillsService
()
pkg/service/facade.go:162
Method
SpawnFromTemplate
SpawnFromTemplate creates a new NPC instance from a template The instance is returned but NOT persisted (memory-only) Note: For unique NPCs, the calle
pkg/service/npcs.go:102
Method
SpawnInstanceDirect
SpawnInstanceDirect creates a new NPC instance from a template ID directly (not via spawner)
pkg/mudserver/game/npc_manager.go:173
Method
SpawnNPC
SpawnNPC creates an instance from a template Note: This only creates the NPC data, the caller must register it with the game's NPCManager
pkg/server/handler/npcs.go:121
Method
StartCleanupLoop
StartCleanupLoop starts a background goroutine that periodically cleans up expired guests.
pkg/service/guest.go:301
Method
Stats
Stats returns statistics about registered handlers
pkg/scripts/events/registry.go:225
Method
Store
(party *e.Party)
pkg/service/parties.go:62
Method
Store
Store creates a new skill and refreshes the cache.
pkg/service/skills.go:51
Method
Store
Store overrides the repository store to add metadata
pkg/service/dialogs.go:27
Method
Store
Store overrides the repository store to add creation timestamp
pkg/service/npcs.go:44
Method
Store
Store overrides the repository store to add creation timestamp
pkg/service/npcspawners.go:27
Method
Store
(quest *quests.Quest)
pkg/service/quests.go:80
Method
Store
(entity interface{})
pkg/repository/sqlite_generic.go:132
Method
Store
(session *e.GuestStatSession)
pkg/repository/gueststat_sqlite.go:21
Method
Store
(character *e.Character)
pkg/repository/characters_sqlite.go:89
Method
Store
(conv *conversations.Conversation)
pkg/repository/conversations_sqlite.go:83
Method
Store
(s *npc.NPCSpawner)
pkg/repository/npcspawners_sqlite.go:78
Method
Store
(rep *r.Room)
pkg/repository/rooms_sqlite.go:95
Method
Store
(skill *skills.Skill)
pkg/repository/skills_sqlite.go:59
Method
Store
(template *c.CharacterTemplate)
pkg/repository/charactertemplates_sqlite.go:78
Method
Store
(dialog *dialogs.Dialog)
pkg/repository/dialogs_sqlite.go:59
Method
Store
(lootTable *items.LootTable)
pkg/repository/loottables_sqlite.go:70
Method
Store
(progress *quests.QuestProgress)
pkg/repository/quest_progress_sqlite.go:79
Method
Store
(item *i.Item)
pkg/repository/items_sqlite.go:73
Method
Store
(party *e.Party)
pkg/repository/parties_sqlite.go:31
Method
Store
(character *characters.Character)
pkg/repository/interfaces.go:59
Method
Store
(party *entities.Party)
pkg/repository/interfaces.go:66
Method
Store
(room *rooms.Room)
pkg/repository/interfaces.go:94
Method
Store
(script *scripts.Script)
pkg/repository/interfaces.go:106
Method
Store
(item *items.Item)
pkg/repository/interfaces.go:118
Method
Store
(template *characters.CharacterTemplate)
pkg/repository/interfaces.go:137
Method
Store
(dialog *dialogs.Dialog)
pkg/repository/interfaces.go:159
Method
Store
(conv *conversations.Conversation)
pkg/repository/interfaces.go:171
← previous
next →
1,901–2,000 of 2,537, ranked by callers