MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

↓ 2 callersFunctiontoInt32
toInt32 converts interface{} to int32
pkg/mudserver/game/commands/use.go:226
↓ 2 callersFunctiontr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctiontruncate
(s string, maxLen int)
pkg/mudserver/game/combat/simutil/results.go:157
↓ 2 callersFunctionts
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionul
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionupdateClient
(ws)
public/app/src/game/Client.js:78
↓ 2 callersFunctionupdateClient
(ws)
public/mud-client/src/game/Client.js:332
↓ 2 callersFunctionus
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionvb
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionvs
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionwb
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionwl
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionwordBoundaries
(input, leftSide = true)
public/app/src/game/echo/Utils.js:6
↓ 2 callersFunctionwordBoundaries
(input, leftSide = true)
public/mud-client/src/game/echo/Utils.js:6
↓ 2 callersFunctionws
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxa
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxd
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxi
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxl
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxo
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionxt
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionyb
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionyi
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionyo
(e,t)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionys
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionz_
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionza
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionzo
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionzr
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionzt
(e)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionzv
(e,t)
public/mud-client/public/bundle.js:26
↓ 2 callersFunctionzy
(e)
public/mud-client/public/bundle.js:26
↓ 1 callersFunction$m
(e,t,n,i,r,o,s)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionAdminMiddleware
AdminMiddleware requires the authenticated user to have admin role.
pkg/server/auth.go:270
↓ 1 callersMethodAllEnemiesDead
AllEnemiesDead returns true if all enemies are dead
pkg/entities/combat/instance.go:243
↓ 1 callersMethodAllPlayersDead
AllPlayersDead returns true if all players are dead
pkg/entities/combat/instance.go:233
↓ 1 callersMethodAllPlayersFled
AllPlayersFled returns true if all players have fled (none dead, all fled)
pkg/entities/combat/instance.go:253
↓ 1 callersMethodApply
Apply applies the sandbox configuration to a Lua state
pkg/scripts/runner/lua/sandbox.go:50
↓ 1 callersMethodBanUser
(userID string)
pkg/service/users.go:20
↓ 1 callersFunctionBm
(e,t,n)
public/mud-client/public/bundle.js:26
↓ 1 callersMethodCalculateDamage
CalculateDamage computes damage from attacker to target, accounting for status effect buffs
pkg/mudserver/game/combat/engine.go:355
↓ 1 callersMethodCharacterTemplatesRepo
()
pkg/service/facade.go:24
↓ 1 callersMethodCheckObjectives
(characterID, questID string)
pkg/service/quests.go:276
↓ 1 callersMethodCleanupDeadFromSpawner
CleanupDeadFromSpawner removes dead instances from a spawner's active list
pkg/mudserver/game/npc_manager.go:431
↓ 1 callersMethodCleanupExpiredGuests
CleanupExpiredGuests removes expired guest users and their characters.
pkg/service/guest.go:257
↓ 1 callersMethodConversations
()
pkg/repository/factory.go:15
↓ 1 callersMethodCountActive
()
pkg/repository/interfaces.go:256
↓ 1 callersMethodCountActiveGuests
()
pkg/service/guest.go:33
↓ 1 callersMethodCountAliveForSpawner
CountAliveForSpawner returns the count of alive instances for a spawner
pkg/mudserver/game/npc_manager.go:455
↓ 1 callersMethodCountAll
()
pkg/repository/interfaces.go:255
↓ 1 callersFunctionCreateCharacterWithGear
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 callersMethodCreateCombatantFromCharacter
CreateCombatantFromCharacter creates a CombatantRef from a Character
pkg/mudserver/game/combat/engine.go:63
↓ 1 callersMethodCreateCombatantFromNPC
CreateCombatantFromNPC creates a CombatantRef from an NPC
pkg/mudserver/game/combat/engine.go:102
↓ 1 callersMethodCreateContext
CreateContext creates a context with timeout for script execution
pkg/scripts/runner/lua/sandbox.go:71
↓ 1 callersMethodCreateGuestSession
(remoteIP string)
pkg/service/guest.go:29
↓ 1 callersMethodCreateInstance
CreateInstance creates a new combat instance for the given room
pkg/mudserver/game/combat/manager.go:34
↓ 1 callersMethodCreateNewCharacter
(dto *dto.CreateCharacterDTO)
pkg/service/characters.go:22
↓ 1 callersFunctionCreateRoomDescription
CreateRoomDescription ...
pkg/mudserver/game/util/game_utils.go:15
↓ 1 callersFunctionCreatorMiddleware
CreatorMiddleware requires the authenticated user to have creator or admin role.
pkg/server/auth.go:255
↓ 1 callersMethodDamageInstance
DamageInstance applies damage and returns true if the NPC died
pkg/mudserver/game/def/gamectrl.go:25
↓ 1 callersFunctionDefaultConfig
DefaultConfig returns the default combat configuration
pkg/mudserver/game/combat/engine.go:30
↓ 1 callersFunctionDefaultSandboxConfig
DefaultSandboxConfig returns the default sandbox configuration
pkg/scripts/runner/lua/sandbox.go:26
↓ 1 callersFunctionDialogSelectCommand
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 callersFunctionDp
(e,t,n,i)
public/mud-client/public/bundle.js:26
↓ 1 callersFunctionDropLootFromNPC
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 callersFunctionEd
()
public/mud-client/public/bundle.js:26
↓ 1 callersMethodEnsureSpawnerState
EnsureSpawnerState creates spawner state if it doesn't exist
pkg/mudserver/game/npc_manager.go:415
↓ 1 callersMethodExecute
(game def.GameCtrl, message *messages.Message)
pkg/mudserver/game/commands/command.go:16
↓ 1 callersFunctionFS
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 callersFunctionFS
FS returns an fs.FS rooted at the embedded `dist/` directory.
pkg/webui/webui.go:18
↓ 1 callersMethodFindAll
()
pkg/repository/charactertemplates_sqlite.go:52
↓ 1 callersMethodFindAllInstances
(query ItemsQuery)
pkg/repository/interfaces.go:123
↓ 1 callersMethodFindAllNonTemplates
FindAllNonTemplates returns all NPCs that are not templates (singletons)
pkg/service/npcs.go:25
↓ 1 callersMethodFindByCharacterAndTarget
(characterID, targetID string)
pkg/repository/interfaces.go:169
↓ 1 callersMethodFindByCharacterID
(characterID string)
pkg/repository/quest_progress_sqlite.go:38
↓ 1 callersMethodFindByGuestRefID
(refID string)
pkg/repository/interfaces.go:253
↓ 1 callersMethodFindByID
(id string)
pkg/service/quests.go:68
↓ 1 callersMethodFindByTemplate
(templateID string)
pkg/repository/interfaces.go:181
↓ 1 callersMethodFindItemByID
FindItemByID finds an item by its ID
pkg/entities/items/inventory.go:141
↓ 1 callersMethodFindOrCreateNewUser
(id string)
pkg/service/users.go:17
↓ 1 callersFunctionFormatAttributeGains
FormatAttributeGains creates a human-readable string of attribute gains
pkg/mudserver/game/leveling/stat_calculator.go:138
↓ 1 callersMethodGameCtrl
()
pkg/mudserver/mudserver.go:23
↓ 1 callersMethodGetActiveInstances
GetActiveInstances returns all instances in active state
pkg/mudserver/game/combat/manager.go:146
↓ 1 callersMethodGetAllInstances
GetAllInstances returns all NPC instances
pkg/mudserver/game/def/gamectrl.go:19
↓ 1 callersMethodGetAudience
()
pkg/mudserver/game/messages/responses.go:89
↓ 1 callersMethodGetCONMod
GetCONMod returns the constitution modifier
pkg/entities/characters/character.go:192
↓ 1 callersMethodGetCharacterTemplates
()
pkg/service/characters.go:20
↓ 1 callersFunctionGetConfig
GetConfig returns the loaded combat balance config (loads on first call)
pkg/mudserver/game/balance/difficulty.go:83
↓ 1 callersMethodGetExit
GetExit ...
pkg/entities/rooms/rooms.go:112
↓ 1 callersMethodGetHandlers
GetHandlers returns all handlers for an event type
pkg/scripts/events/registry.go:112
↓ 1 callersMethodGetMessage
()
pkg/mudserver/game/messages/responses.go:92
↓ 1 callersMethodGetNPCIDs
GetNPCIDs returns a copy of the NPC IDs in the room (residents)
pkg/entities/rooms/rooms.go:237
↓ 1 callersMethodGetOrCreateConversation
GetOrCreateConversation retrieves an existing conversation or creates a new one
pkg/service/conversations.go:14
↓ 1 callersMethodGetOriginID
()
pkg/mudserver/game/messages/responses.go:91
↓ 1 callersMethodGetSTRMod
GetSTRMod returns the strength modifier
pkg/entities/characters/character.go:182
↓ 1 callersMethodGetSummary
()
pkg/service/gueststats.go:26
↓ 1 callersMethodGetTargetName
GetTargetName returns the unique name for targeting commands
pkg/entities/items/items.go:161
↓ 1 callersMethodGetText
()
pkg/entities/dialogs/dialogs.go:107
↓ 1 callersMethodGuestStats
()
pkg/repository/factory.go:21
← previousnext →801–900 of 2,537, ranked by callers