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
Function
setUserId
setUserId sets the user ID in the gin context. It decodes the JWT token and extracts the 'sub' claim.
pkg/server/auth.go:170
↓ 1 callers
Method
setupRoutes
SetupRoutes ... Configures the routes
pkg/server/server.go:65
↓ 1 callers
Method
showEquippedSkills
(game def.GameCtrl, message *messages.Message)
pkg/mudserver/game/commands/cast.go:149
↓ 1 callers
Method
showStatus
(game def.GameCtrl, message *m.Message)
pkg/mudserver/game/commands/spend.go:106
↓ 1 callers
Function
shuffleItems
shuffleItems randomly shuffles a slice of items in place
pkg/mudserver/game/loot.go:117
↓ 1 callers
Function
tryPlayerSkill
tryPlayerSkill attempts to use an available skill. Returns true if a skill was used. AI priority: damage skills first (highest base power), then buffs
pkg/mudserver/game/combat/simutil/simutil.go:276
↓ 1 callers
Function
tt
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
ud
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
unequipSkill
(game def.GameCtrl, message *messages.Message, skillName string)
pkg/mudserver/game/commands/skills.go:169
↓ 1 callers
Method
updateIdleNPC
updateIdleNPC handles idle state behavior
pkg/mudserver/game/game_npcs.go:57
↓ 1 callers
Function
updateNPCSpawner
(token, id, spawner, cb, errorCb)
public/app/src/api/npcspawners.js:67
↓ 1 callers
Method
updatePatrolNPC
updatePatrolNPC handles patrol state behavior
pkg/mudserver/game/game_npcs.go:72
↓ 1 callers
Function
updateRoom
(token, id, room, cb, errorCb)
public/app/src/api/rooms.js:83
↓ 1 callers
Method
updateRoom
(room *rooms.Room)
pkg/mudserver/game/game_rooms.go:20
↓ 1 callers
Method
updateSpawner
updateSpawner checks if a spawner should spawn new instances
pkg/mudserver/game/game_spawners.go:24
↓ 1 callers
Function
ut
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
validateData
validateData runs all consistency checks on loaded YAML data. All issues are recorded via w.addError(). Returns the number of warnings found.
pkg/importer/validator.go:41
↓ 1 callers
Method
validateImportFolder
()
pkg/importer/importer.go:223
↓ 1 callers
Method
validateScriptCode
validateScriptCode checks Lua script code for common issues: - Unknown tales.game.* function calls - Wrong argument counts for known functions - Conte
pkg/importer/validator.go:293
↓ 1 callers
Function
vd
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
vg
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
vi
(e,t)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
vr
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
xg
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
xm
(e)
public/mud-client/public/bundle.js:26
Method
$destroy
()
public/mud-client/public/bundle.js:26
Function
$n
(e)
public/mud-client/public/bundle.js:26
Function
$t
(e)
public/mud-client/public/bundle.js:26
Function
$y
(e)
public/mud-client/public/bundle.js:26
Function
Aa
(e)
public/mud-client/public/bundle.js:26
Method
AbandonQuest
(characterID, questID string)
pkg/service/quests.go:162
Method
AbandonQuest
AbandonQuest abandons a quest for a character
pkg/server/handler/quests.go:161
Method
AcceptQuest
(characterID, questID string)
pkg/service/quests.go:105
Method
AcceptQuest
AcceptQuest accepts a quest for a character
pkg/server/handler/quests.go:148
Method
AddCharacterToParty
(party *e.Party, character *characters.Character)
pkg/service/parties.go:20
Method
AddCharacterToParty
(party *e.Party, character *characters.Character)
pkg/service/parties.go:66
Method
AddEntry
AddEntry adds a new loot entry to the table
pkg/entities/items/loottable.go:62
Method
AddItem
AddItem adds an item to the inventory with stacking logic
pkg/entities/items/inventory.go:25
Method
AdvanceConversation
AdvanceConversation moves the conversation to a new node
pkg/service/conversations.go:23
Method
AdvanceConversation
AdvanceConversation moves the conversation to a new node and marks it as visited
pkg/service/conversations.go:101
Function
Al
(e)
public/mud-client/public/bundle.js:26
Function
AllEventTypes
AllEventTypes returns all available event types
pkg/scripts/events/events.go:68
Function
AllSkills
AllSkills returns all skill definitions
pkg/entities/skills/registry.go:40
Function
At
(e)
public/mud-client/public/bundle.js:26
Function
Ba
(e,t,n)
public/mud-client/public/bundle.js:26
Method
BanUser
BanUser bans a user by ID, storing their email for email-based enforcement.
pkg/service/users.go:107
Method
BanUser
BanUser bans a user by ID (admin only).
pkg/server/handler/usermanagement.go:49
Method
BatchUpdateCoords
BatchUpdateCoords updates coordinates for multiple rooms at once
pkg/server/handler/worldrenderer.go:325
Function
Bb
(e)
public/mud-client/public/bundle.js:26
Function
BelongsToUser
BelongsToUser ...
pkg/entities/traits/belongsuser.go:9
Function
By
(e)
public/mud-client/public/bundle.js:26
Function
C_
(e)
public/mud-client/public/bundle.js:26
Function
Ca
(e)
public/mud-client/public/bundle.js:26
Method
CanEquipToSlot
CanEquipToSlot checks if this item can be equipped to the given slot
pkg/entities/items/items.go:169
Function
Cg
(e)
public/mud-client/public/bundle.js:26
Method
CharacterTemplates
()
pkg/repository/sqlite_factory.go:39
Method
CharacterTemplatesRepo
()
pkg/service/facade.go:166
Method
Characters
()
pkg/repository/sqlite_factory.go:15
Method
CharactersService
()
pkg/service/facade.go:114
Method
CheckObjectives
(characterID, questID string)
pkg/service/quests.go:34
Function
Cl
(e)
public/mud-client/public/bundle.js:26
Method
CleanupExpiredGuests
()
pkg/service/guest.go:31
Method
Clear
Clear removes all handlers
pkg/scripts/events/registry.go:218
Method
Close
()
pkg/repository/sqlite_factory.go:83
Method
Close
Close closes all Lua states in the pool
pkg/scripts/runner/lua/pool.go:84
Method
Close
Close closes the database connection.
pkg/db/sqlite/sqlite.go:51
Method
CompleteQuest
(characterID, questID string)
pkg/service/quests.go:179
Method
CompleteQuest
CompleteQuest completes a quest and grants rewards
pkg/server/handler/quests.go:173
Method
Conversations
()
pkg/repository/sqlite_factory.go:55
Method
ConversationsService
()
pkg/service/facade.go:146
Method
Count
()
pkg/repository/charactertemplates_sqlite.go:62
Method
Count
Count returns the number of items in the inventory
pkg/entities/items/inventory.go:15
Method
CountActive
CountActive counts sessions that started within the last 35 minutes and have not yet ended. The 35-minute window covers the 30-minute guest session du
pkg/repository/gueststat_sqlite.go:82
Method
CountActiveGuests
CountActiveGuests counts the number of currently active (non-expired) guest users.
pkg/service/guest.go:314
Method
CountAll
()
pkg/repository/gueststat_sqlite.go:72
Function
Cr
(e)
public/mud-client/public/bundle.js:26
Method
Create
(user *e.User)
pkg/repository/users_sqlite.go:34
Method
CreateGuestSession
CreateGuestSession creates a temporary guest user + character and returns a signed JWT.
pkg/service/guest.go:80
Method
CreateGuestSession
CreateGuestSession creates a temporary guest account and returns a signed token.
pkg/server/handler/guest.go:16
Method
CreateInstanceFromTemplate
CreateInstanceFromTemplate creates a new item instance from a template
pkg/service/items.go:94
Method
CreateInstanceFromTemplate
CreateInstanceFromTemplate creates an item instance from a template
pkg/server/handler/items.go:95
Method
CreateNewCharacter
(dto *dto.CreateCharacterDTO)
pkg/service/characters.go:39
Method
CreateNewCharacter
CreateNewCharacter ... creates a new charactersheet
pkg/server/handler/characters.go:118
Method
CreateParty
(createParty *CreatePartyDTO)
pkg/service/parties.go:14
Method
CreateParty
(createParty *CreatePartyDTO)
pkg/service/parties.go:45
Function
CreateScaledEnemy
CreateScaledEnemy creates an enemy with stats scaled to a specific level. Useful for testing arbitrary level matchups beyond the predefined enemies.
pkg/mudserver/game/combat/simutil/enemy_factory.go:95
Function
Da
(e,t,n)
public/mud-client/public/bundle.js:26
Method
DamageInstance
DamageInstance applies damage to an instance and returns true if it died
pkg/mudserver/game/npc_manager.go:352
Method
Delete
Delete deletes a skill and refreshes the cache.
pkg/service/skills.go:78
Method
Delete
(id string)
pkg/service/quests.go:91
Method
Delete
(id string)
pkg/repository/sqlite_generic.go:152
Method
Delete
(id string)
pkg/repository/characters_sqlite.go:85
Method
Delete
(id string)
pkg/repository/conversations_sqlite.go:95
Method
Delete
(id string)
pkg/repository/npcspawners_sqlite.go:94
Method
Delete
(id string)
pkg/repository/rooms_sqlite.go:91
Method
Delete
(id string)
pkg/repository/skills_sqlite.go:55
Method
Delete
(id string)
pkg/repository/charactertemplates_sqlite.go:74
Method
Delete
(id string)
pkg/repository/dialogs_sqlite.go:75
Method
Delete
(id string)
pkg/repository/loottables_sqlite.go:66
Method
Delete
(id string)
pkg/repository/quest_progress_sqlite.go:75
← previous
next →
1,301–1,400 of 2,537, ranked by callers