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
↓ 2 callers
Function
toInt32
toInt32 converts interface{} to int32
pkg/mudserver/game/commands/use.go:226
↓ 2 callers
Function
tr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
truncate
(s string, maxLen int)
pkg/mudserver/game/combat/simutil/results.go:157
↓ 2 callers
Function
ts
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
ul
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
updateClient
(ws)
public/app/src/game/Client.js:78
↓ 2 callers
Function
updateClient
(ws)
public/mud-client/src/game/Client.js:332
↓ 2 callers
Function
us
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
vb
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
vs
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
wb
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
wl
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
wordBoundaries
(input, leftSide = true)
public/app/src/game/echo/Utils.js:6
↓ 2 callers
Function
wordBoundaries
(input, leftSide = true)
public/mud-client/src/game/echo/Utils.js:6
↓ 2 callers
Function
ws
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xa
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xd
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xi
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xl
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xo
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
xt
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
yb
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
yi
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
yo
(e,t)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
ys
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
z_
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
za
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
zo
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
zr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
zt
(e)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
zv
(e,t)
public/mud-client/public/bundle.js:26
↓ 2 callers
Function
zy
(e)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
$m
(e,t,n,i,r,o,s)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
AdminMiddleware
AdminMiddleware requires the authenticated user to have admin role.
pkg/server/auth.go:270
↓ 1 callers
Method
AllEnemiesDead
AllEnemiesDead returns true if all enemies are dead
pkg/entities/combat/instance.go:243
↓ 1 callers
Method
AllPlayersDead
AllPlayersDead returns true if all players are dead
pkg/entities/combat/instance.go:233
↓ 1 callers
Method
AllPlayersFled
AllPlayersFled returns true if all players have fled (none dead, all fled)
pkg/entities/combat/instance.go:253
↓ 1 callers
Method
Apply
Apply applies the sandbox configuration to a Lua state
pkg/scripts/runner/lua/sandbox.go:50
↓ 1 callers
Method
BanUser
(userID string)
pkg/service/users.go:20
↓ 1 callers
Function
Bm
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
CalculateDamage
CalculateDamage computes damage from attacker to target, accounting for status effect buffs
pkg/mudserver/game/combat/engine.go:355
↓ 1 callers
Method
CharacterTemplatesRepo
()
pkg/service/facade.go:24
↓ 1 callers
Method
CheckObjectives
(characterID, questID string)
pkg/service/quests.go:276
↓ 1 callers
Method
CleanupDeadFromSpawner
CleanupDeadFromSpawner removes dead instances from a spawner's active list
pkg/mudserver/game/npc_manager.go:431
↓ 1 callers
Method
CleanupExpiredGuests
CleanupExpiredGuests removes expired guest users and their characters.
pkg/service/guest.go:257
↓ 1 callers
Method
Conversations
()
pkg/repository/factory.go:15
↓ 1 callers
Method
CountActive
()
pkg/repository/interfaces.go:256
↓ 1 callers
Method
CountActiveGuests
()
pkg/service/guest.go:33
↓ 1 callers
Method
CountAliveForSpawner
CountAliveForSpawner returns the count of alive instances for a spawner
pkg/mudserver/game/npc_manager.go:455
↓ 1 callers
Method
CountAll
()
pkg/repository/interfaces.go:255
↓ 1 callers
Function
CreateCharacterWithGear
CreateCharacterWithGear creates a character with custom weapon and armor stats. Useful for testing different equipment tiers.
pkg/mudserver/game/combat/simutil/char_factory.go:132
↓ 1 callers
Method
CreateCombatantFromCharacter
CreateCombatantFromCharacter creates a CombatantRef from a Character
pkg/mudserver/game/combat/engine.go:63
↓ 1 callers
Method
CreateCombatantFromNPC
CreateCombatantFromNPC creates a CombatantRef from an NPC
pkg/mudserver/game/combat/engine.go:102
↓ 1 callers
Method
CreateContext
CreateContext creates a context with timeout for script execution
pkg/scripts/runner/lua/sandbox.go:71
↓ 1 callers
Method
CreateGuestSession
(remoteIP string)
pkg/service/guest.go:29
↓ 1 callers
Method
CreateInstance
CreateInstance creates a new combat instance for the given room
pkg/mudserver/game/combat/manager.go:34
↓ 1 callers
Method
CreateNewCharacter
(dto *dto.CreateCharacterDTO)
pkg/service/characters.go:22
↓ 1 callers
Function
CreateRoomDescription
CreateRoomDescription ...
pkg/mudserver/game/util/game_utils.go:15
↓ 1 callers
Function
CreatorMiddleware
CreatorMiddleware requires the authenticated user to have creator or admin role.
pkg/server/auth.go:255
↓ 1 callers
Method
DamageInstance
DamageInstance applies damage and returns true if the NPC died
pkg/mudserver/game/def/gamectrl.go:25
↓ 1 callers
Function
DefaultConfig
DefaultConfig returns the default combat configuration
pkg/mudserver/game/combat/engine.go:30
↓ 1 callers
Function
DefaultSandboxConfig
DefaultSandboxConfig returns the default sandbox configuration
pkg/scripts/runner/lua/sandbox.go:26
↓ 1 callers
Function
DialogSelectCommand
DialogSelectCommand handles number input during active conversations This is registered as a RoomCommand to intercept numeric input
pkg/mudserver/game/commands/dialog_select.go:24
↓ 1 callers
Function
Dp
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 1 callers
Function
DropLootFromNPC
DropLootFromNPC handles loot drops when an NPC dies It processes guaranteed loot, loot tables, and gold drops Parameters: - facade: the service facade
pkg/mudserver/game/loot.go:28
↓ 1 callers
Function
Ed
()
public/mud-client/public/bundle.js:26
↓ 1 callers
Method
EnsureSpawnerState
EnsureSpawnerState creates spawner state if it doesn't exist
pkg/mudserver/game/npc_manager.go:415
↓ 1 callers
Method
Execute
(game def.GameCtrl, message *messages.Message)
pkg/mudserver/game/commands/command.go:16
↓ 1 callers
Function
FS
FS returns an fs.FS rooted at the embedded `dist/` directory. This serves the mud-client (game client) frontend at /play
pkg/webuiplay/webuiplay.go:13
↓ 1 callers
Function
FS
FS returns an fs.FS rooted at the embedded `dist/` directory.
pkg/webui/webui.go:18
↓ 1 callers
Method
FindAll
()
pkg/repository/charactertemplates_sqlite.go:52
↓ 1 callers
Method
FindAllInstances
(query ItemsQuery)
pkg/repository/interfaces.go:123
↓ 1 callers
Method
FindAllNonTemplates
FindAllNonTemplates returns all NPCs that are not templates (singletons)
pkg/service/npcs.go:25
↓ 1 callers
Method
FindByCharacterAndTarget
(characterID, targetID string)
pkg/repository/interfaces.go:169
↓ 1 callers
Method
FindByCharacterID
(characterID string)
pkg/repository/quest_progress_sqlite.go:38
↓ 1 callers
Method
FindByGuestRefID
(refID string)
pkg/repository/interfaces.go:253
↓ 1 callers
Method
FindByID
(id string)
pkg/service/quests.go:68
↓ 1 callers
Method
FindByTemplate
(templateID string)
pkg/repository/interfaces.go:181
↓ 1 callers
Method
FindItemByID
FindItemByID finds an item by its ID
pkg/entities/items/inventory.go:141
↓ 1 callers
Method
FindOrCreateNewUser
(id string)
pkg/service/users.go:17
↓ 1 callers
Function
FormatAttributeGains
FormatAttributeGains creates a human-readable string of attribute gains
pkg/mudserver/game/leveling/stat_calculator.go:138
↓ 1 callers
Method
GameCtrl
()
pkg/mudserver/mudserver.go:23
↓ 1 callers
Method
GetActiveInstances
GetActiveInstances returns all instances in active state
pkg/mudserver/game/combat/manager.go:146
↓ 1 callers
Method
GetAllInstances
GetAllInstances returns all NPC instances
pkg/mudserver/game/def/gamectrl.go:19
↓ 1 callers
Method
GetAudience
()
pkg/mudserver/game/messages/responses.go:89
↓ 1 callers
Method
GetCONMod
GetCONMod returns the constitution modifier
pkg/entities/characters/character.go:192
↓ 1 callers
Method
GetCharacterTemplates
()
pkg/service/characters.go:20
↓ 1 callers
Function
GetConfig
GetConfig returns the loaded combat balance config (loads on first call)
pkg/mudserver/game/balance/difficulty.go:83
↓ 1 callers
Method
GetExit
GetExit ...
pkg/entities/rooms/rooms.go:112
↓ 1 callers
Method
GetHandlers
GetHandlers returns all handlers for an event type
pkg/scripts/events/registry.go:112
↓ 1 callers
Method
GetMessage
()
pkg/mudserver/game/messages/responses.go:92
↓ 1 callers
Method
GetNPCIDs
GetNPCIDs returns a copy of the NPC IDs in the room (residents)
pkg/entities/rooms/rooms.go:237
↓ 1 callers
Method
GetOrCreateConversation
GetOrCreateConversation retrieves an existing conversation or creates a new one
pkg/service/conversations.go:14
↓ 1 callers
Method
GetOriginID
()
pkg/mudserver/game/messages/responses.go:91
↓ 1 callers
Method
GetSTRMod
GetSTRMod returns the strength modifier
pkg/entities/characters/character.go:182
↓ 1 callers
Method
GetSummary
()
pkg/service/gueststats.go:26
↓ 1 callers
Method
GetTargetName
GetTargetName returns the unique name for targeting commands
pkg/entities/items/items.go:161
↓ 1 callers
Method
GetText
()
pkg/entities/dialogs/dialogs.go:107
↓ 1 callers
Method
GuestStats
()
pkg/repository/factory.go:21
← previous
next →
801–900 of 2,537, ranked by callers