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
↓ 1 callers
Method
GuestStatsService
()
pkg/service/facade.go:26
↓ 1 callers
Method
HasDialog
HasDialog returns true if this NPC has an interactive dialog attached
pkg/entities/npcs/npc.go:78
↓ 1 callers
Method
HasIdleDialog
HasIdleDialog returns true if this NPC has an idle dialog attached
pkg/entities/npcs/npc.go:83
↓ 1 callers
Method
HasVisitedAll
HasVisitedAll returns true if all the specified nodes have been visited
pkg/entities/conversations/conversation.go:92
↓ 1 callers
Method
HealInstance
HealInstance restores HP to an instance
pkg/mudserver/game/def/gamectrl.go:27
↓ 1 callers
Function
Hm
(e,t,n,i,r,o,s)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
Ig
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
Import
(character *e.Character)
pkg/repository/characters_sqlite.go:94
↓ 1 callers
Method
Import
(s *npc.NPCSpawner)
pkg/repository/npcspawners_sqlite.go:83
↓ 1 callers
Method
Import
(rep *r.Room)
pkg/repository/rooms_sqlite.go:99
↓ 1 callers
Method
Import
(skill *skills.Skill)
pkg/repository/skills_sqlite.go:64
↓ 1 callers
Method
Import
(template *c.CharacterTemplate)
pkg/repository/charactertemplates_sqlite.go:83
↓ 1 callers
Method
Import
(dialog *dialogs.Dialog)
pkg/repository/dialogs_sqlite.go:64
↓ 1 callers
Method
Import
(lootTable *items.LootTable)
pkg/repository/loottables_sqlite.go:75
↓ 1 callers
Method
Import
(progress *quests.QuestProgress)
pkg/repository/quest_progress_sqlite.go:84
↓ 1 callers
Method
Import
(item *i.Item)
pkg/repository/items_sqlite.go:78
↓ 1 callers
Method
Import
(script *s.Script)
pkg/repository/scripts_sqlite.go:75
↓ 1 callers
Method
Import
(n *npc.NPC)
pkg/repository/npcs_sqlite.go:83
↓ 1 callers
Method
Import
(user *e.User)
pkg/repository/users_sqlite.go:29
↓ 1 callers
Method
Import
(quest *quests.Quest)
pkg/repository/quests_sqlite.go:85
↓ 1 callers
Function
In
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
InitSchema
InitSchema creates the tables used by the repositories.
pkg/db/sqlite/sqlite.go:70
↓ 1 callers
Method
Initialize
Initialize loads all spawners and creates their initial instances
pkg/mudserver/game/npc_manager.go:44
↓ 1 callers
Method
InitiateCombat
InitiateCombat creates a new combat instance with the given participants
pkg/mudserver/game/combat/engine.go:141
↓ 1 callers
Method
IsCharacterNameTaken
(name string)
pkg/service/characters.go:19
↓ 1 callers
Method
IsCreator
IsCreator returns true if the user has creator or admin role
pkg/entities/user.go:75
↓ 1 callers
Method
IsInstance
IsInstance returns true if this NPC is a spawned instance from a template
pkg/entities/npcs/npc.go:93
↓ 1 callers
Method
ItemQualities
()
pkg/service/items.go:25
↓ 1 callers
Method
ItemSlots
Metadata helpers
pkg/service/items.go:24
↓ 1 callers
Method
ItemSubTypes
()
pkg/service/items.go:27
↓ 1 callers
Method
ItemTypes
()
pkg/service/items.go:26
↓ 1 callers
Function
ItemsToJSONString
ItemsToJSONString ...
pkg/entities/items/converter.go:38
↓ 1 callers
Function
Js
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
KillInstance
KillInstance marks an NPC instance as dead
pkg/mudserver/game/def/gamectrl.go:23
↓ 1 callers
Function
LandingMiddleware
LandingMiddleware serves a static landing page from the OS filesystem. If landingPath is empty or does not contain an index.html, it returns a no-op
pkg/server/landing.go:18
↓ 1 callers
Function
LoadConfig
LoadConfig loads the combat balance configuration from disk
pkg/mudserver/game/balance/difficulty.go:31
↓ 1 callers
Function
LoadFromDB
LoadFromDB populates the in-memory skill cache from database records. Called once at server startup by the SkillsService.
pkg/entities/skills/registry.go:25
↓ 1 callers
Function
Lr
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
MarkCollectedCopyItem
MarkCollectedCopyItem records that the character has collected a CopyOnPickup item
pkg/entities/characters/character.go:293
↓ 1 callers
Method
MarkEnded
(id string, endedAt time.Time, durationSeconds int64)
pkg/repository/interfaces.go:254
↓ 1 callers
Method
Matches
(key string, cmd string)
pkg/mudserver/game/commands/command.go:22
↓ 1 callers
Method
MoveInstance
MoveInstance moves an instance to a new room
pkg/mudserver/game/def/gamectrl.go:29
↓ 1 callers
Function
New
New creates a new WorldImporter
pkg/importer/importer.go:54
↓ 1 callers
Function
New
New creates a new game instance
pkg/mudserver/game/game.go:55
↓ 1 callers
Function
NewApp
NewApp returns an application instance this is the primary stateless server providing an API interface
pkg/server/server.go:37
↓ 1 callers
Function
NewCharactersService
NewCharactersService creates a new item service
pkg/service/characters.go:33
↓ 1 callers
Function
NewClient
NewClient creates a new Groq client. Reads GROQ_API_KEY from environment. Returns nil if the key is not configured.
pkg/service/groq/groq.go:52
↓ 1 callers
Function
NewCombatController
NewCombatController creates a new combat controller
pkg/mudserver/game/game_combat.go:28
↓ 1 callers
Function
NewCombatInstance
NewCombatInstance creates a new combat instance with a generated UUID
pkg/entities/combat/instance.go:140
↓ 1 callers
Function
NewConversation
NewConversation creates a new conversation state
pkg/entities/conversations/conversation.go:54
↓ 1 callers
Function
NewConversationsService
NewConversationsService creates a new conversations service
pkg/service/conversations.go:34
↓ 1 callers
Function
NewDialog
NewDialog creates a new dialog node (not persisted, use for building trees)
pkg/entities/dialogs/dialogs.go:77
↓ 1 callers
Function
NewDialogsService
NewDialogsService creates a new dialogs service
pkg/service/dialogs.go:20
↓ 1 callers
Function
NewGuestService
NewGuestService creates a new guest service. Reads GUEST_SECRET from env.
pkg/service/guest.go:45
↓ 1 callers
Function
NewGuestStatsService
NewGuestStatsService creates a new guest statistics service.
pkg/service/gueststats.go:35
↓ 1 callers
Function
NewItemsService
NewItemsService creates a new item service
pkg/service/items.go:37
↓ 1 callers
Function
NewLootTablesService
NewLootTablesService creates a new loot tables service
pkg/service/loottables.go:38
↓ 1 callers
Function
NewMultiRunner
NewMultiRunner creates a new multi-language script runner
pkg/scripts/runner/factory.go:20
↓ 1 callers
Function
NewNPCInstanceManager
NewNPCInstanceManager creates a new NPC instance manager
pkg/mudserver/game/npc_manager.go:35
↓ 1 callers
Function
NewNPCSpawnersService
NewNPCSpawnersService creates a new NPC spawners service
pkg/service/npcspawners.go:20
↓ 1 callers
Function
NewNPCsService
NewNPCsService creates a new NPCs service
pkg/service/npcs.go:37
↓ 1 callers
Function
NewPartiesService
NewPartiesService creates a nwe item service
pkg/service/parties.go:28
↓ 1 callers
Function
NewQuestTracker
NewQuestTracker creates a new quest tracker
pkg/mudserver/game/quest_tracker.go:21
↓ 1 callers
Function
NewQuestUpdateMessage
NewQuestUpdateMessage creates a quest update message for the player
pkg/mudserver/game/messages/responses.go:434
↓ 1 callers
Function
NewQuestsService
NewQuestsService creates a new quests service
pkg/service/quests.go:50
↓ 1 callers
Function
NewRoomUpdateMessage
NewRoomUpdateMessage creates a silent room update that refreshes exits/items/NPCs/players on the client without re-rendering the full room description
pkg/mudserver/game/messages/responses.go:189
↓ 1 callers
Function
NewRoomsService
NewRoomsService creates a new rooms service
pkg/service/rooms.go:25
↓ 1 callers
Function
NewSQLiteCharacterTemplatesRepository
NewSQLiteCharacterTemplatesRepository creates a new SQLite character templates repository.
pkg/repository/charactertemplates_sqlite.go:18
↓ 1 callers
Function
NewSQLiteCharactersRepository
NewSQLiteCharactersRepository creates a new SQLite characters repository.
pkg/repository/characters_sqlite.go:19
↓ 1 callers
Function
NewSQLiteConversationsRepository
NewSQLiteConversationsRepository creates a new SQLite conversations repository.
pkg/repository/conversations_sqlite.go:18
↓ 1 callers
Function
NewSQLiteDialogsRepository
NewSQLiteDialogsRepository creates a new SQLite dialogs repository.
pkg/repository/dialogs_sqlite.go:17
↓ 1 callers
Function
NewSQLiteGuestStatsRepository
NewSQLiteGuestStatsRepository returns a SQLite-backed guest statistics repository.
pkg/repository/gueststat_sqlite.go:17
↓ 1 callers
Function
NewSQLiteItemsRepository
NewSQLiteItemsRepository creates a new SQLite items repository.
pkg/repository/items_sqlite.go:18
↓ 1 callers
Function
NewSQLiteLootTablesRepository
NewSQLiteLootTablesRepository creates a new SQLite loot tables repository.
pkg/repository/loottables_sqlite.go:18
↓ 1 callers
Function
NewSQLiteNPCSpawnersRepository
NewSQLiteNPCSpawnersRepository creates a new SQLite NPC spawners repository.
pkg/repository/npcspawners_sqlite.go:18
↓ 1 callers
Function
NewSQLiteNPCsRepository
NewSQLiteNPCsRepository creates a new SQLite NPC repository.
pkg/repository/npcs_sqlite.go:18
↓ 1 callers
Function
NewSQLitePartiesRepository
NewSQLitePartiesRepository creates a new SQLite parties repository.
pkg/repository/parties_sqlite.go:13
↓ 1 callers
Function
NewSQLiteQuestProgressRepository
NewSQLiteQuestProgressRepository creates a new SQLite quest progress repository.
pkg/repository/quest_progress_sqlite.go:18
↓ 1 callers
Function
NewSQLiteQuestsRepository
NewSQLiteQuestsRepository creates a new SQLite quests repository.
pkg/repository/quests_sqlite.go:18
↓ 1 callers
Function
NewSQLiteRoomsRepository
NewSQLiteRoomsRepository creates a new SQLite rooms repository.
pkg/repository/rooms_sqlite.go:19
↓ 1 callers
Function
NewSQLiteScriptsRepository
NewSQLiteScriptsRepository creates a new SQLite scripts repository.
pkg/repository/scripts_sqlite.go:18
↓ 1 callers
Function
NewSQLiteServerSettingsRepository
NewSQLiteServerSettingsRepository creates a new SQLite server settings repository.
pkg/repository/server_settings_sqlite.go:18
↓ 1 callers
Function
NewSQLiteSkillsRepository
NewSQLiteSkillsRepository creates a new SQLite skills repository.
pkg/repository/skills_sqlite.go:17
↓ 1 callers
Function
NewSQLiteUsersRepository
NewSQLiteUsersRepository creates a new SQLite users repository.
pkg/repository/users_sqlite.go:17
↓ 1 callers
Function
NewScriptsService
NewScriptsService creates a nwe item service
pkg/service/scripts.go:35
↓ 1 callers
Function
NewServerSettingsService
NewServerSettingsService creates a new server settings service.
pkg/service/server_settings.go:19
↓ 1 callers
Function
NewSkillsService
NewSkillsService creates a new skills service. It loads all skills into the in-memory cache and seeds the DB if empty.
pkg/service/skills.go:20
↓ 1 callers
Function
NewUsersService
NewUsersService creates a new users service
pkg/service/users.go:29
↓ 1 callers
Function
NewVMPool
NewVMPool creates a new VM pool with the given size and factory function
pkg/scripts/runner/lua/pool.go:19
↓ 1 callers
Function
NotifyQuestDialogNode
NotifyQuestDialogNode notifies the quest tracker of a dialog node reached
pkg/mudserver/game/commands/quest_notify.go:25
↓ 1 callers
Function
NotifyQuestRoomEnter
NotifyQuestRoomEnter notifies the quest tracker of a room entry
pkg/mudserver/game/commands/quest_notify.go:18
↓ 1 callers
Function
NotifyQuestTalkToNPC
NotifyQuestTalkToNPC notifies the quest tracker of talking to an NPC
pkg/mudserver/game/commands/quest_notify.go:32
↓ 1 callers
Function
Ol
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
OnDialogNode
(characterID, userID, npcID, dialogID, nodeID string)
pkg/mudserver/game/def/gamectrl.go:71
↓ 1 callers
Method
OnItemPickup
(characterID, userID string, item *items.Item)
pkg/mudserver/game/def/gamectrl.go:69
↓ 1 callers
Method
OnMessageReceived
OnMessageReceived returns onMessageReceived channel
pkg/mudserver/game/game.go:120
↓ 1 callers
Method
OnMessageReceived
Used to pass messages as events inside the mud server, e.g. translate a command into other user messages etc.
pkg/mudserver/game/def/gamectrl.go:80
↓ 1 callers
Method
OnNPCKilled
(characterID, userID string, npc *npc.NPC)
pkg/mudserver/game/def/gamectrl.go:68
↓ 1 callers
Method
OnRoomEnter
(characterID, userID string, room *rooms.Room)
pkg/mudserver/game/def/gamectrl.go:70
↓ 1 callers
Method
OnTalkToNPC
(characterID, userID string, npc *npc.NPC)
pkg/mudserver/game/def/gamectrl.go:72
← previous
next →
901–1,000 of 2,537, ranked by callers