MCPcopy Create free account

hub / github.com/TalesMUD/talesmud / functions

Functions2,537 in github.com/TalesMUD/talesmud

MethodKey
Key ...
pkg/mudserver/game/commands/shrug.go:15
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/rest.go:12
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/attack.go:19
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/attack.go:278
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/attack.go:304
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/attack.go:330
MethodKey
Key returns the command key for the ListCharactersCommand
pkg/mudserver/game/commands/list_characters.go:15
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/tell.go:14
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/bind.go:13
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/skills.go:16
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/drop.go:18
MethodKey
Key ...
pkg/mudserver/game/commands/scream.go:15
MethodKey
Key ...
pkg/mudserver/game/commands/newchar.go:13
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/character.go:17
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/say.go:14
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/use.go:19
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/equip.go:17
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/spend.go:17
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/pickup.go:18
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/unequip.go:17
MethodKey
Key returns the command key matcher
pkg/mudserver/game/commands/talk.go:22
MethodKillInstance
KillInstance marks an instance as dead
pkg/mudserver/game/npc_manager.go:271
FunctionKr
(e)
public/mud-client/public/bundle.js:26
FunctionLb
(e)
public/mud-client/public/bundle.js:26
MethodListBackgrounds
ListBackgrounds returns a list of all available background images
pkg/server/handler/backgrounds.go:181
FunctionLl
(e)
public/mud-client/public/bundle.js:26
FunctionLogger
* // JSON responds to the request with the given code and payload func (app *app) JSON(w http.ResponseWriter, code int, payload interface{}) { respo
pkg/util/util.go:67
FunctionLook
Look executes the look command, allowing players to observe their surroundings or specific objects
pkg/mudserver/game/commands/look.go:14
MethodLootTables
()
pkg/repository/sqlite_factory.go:59
MethodLootTablesService
()
pkg/service/facade.go:150
FunctionLs
(e,t,n)
public/mud-client/public/bundle.js:26
FunctionLt
(e,t,n)
public/mud-client/public/bundle.js:26
MethodMarkEnded
(id string, endedAt time.Time, durationSeconds int64)
pkg/repository/gueststat_sqlite.go:49
MethodMatches
Matches ...
pkg/mudserver/game/commands/command.go:30
MethodMatches
Matches ...
pkg/mudserver/game/commands/command.go:39
FunctionMb
(e)
public/mud-client/public/bundle.js:26
FunctionMl
(e,t,n)
public/mud-client/public/bundle.js:26
MethodMoveInstance
MoveInstance moves an instance to a new room
pkg/mudserver/game/npc_manager.go:393
MethodNPCSpawners
()
pkg/repository/sqlite_factory.go:47
MethodNPCSpawnersService
()
pkg/service/facade.go:138
MethodNPCs
()
pkg/repository/sqlite_factory.go:43
MethodNPCsService
()
pkg/service/facade.go:134
FunctionNb
(e)
public/mud-client/public/bundle.js:26
MethodNeedsRestock
NeedsRestock checks if merchant inventory needs restocking
pkg/entities/npcs/merchant_trait.go:111
FunctionNew
New creates a new mud server
pkg/mudserver/mudserver.go:60
FunctionNewAvatar
NewAvatar ... creates and returns a new room instance
pkg/mudserver/game/avatar.go:18
FunctionNewCommandProcessor
NewCommandProcessor .. creates a new command processor
pkg/mudserver/game/commands/commandprocessor.go:18
FunctionNewDialogState
()
pkg/entities/dialogs/dialogs.go:31
FunctionNewDialogWithRequirements
NewDialogWithRequirements creates a dialog node with visit requirements
pkg/entities/dialogs/dialogs.go:87
FunctionNewEngine
NewEngine creates a new combat engine
pkg/mudserver/game/combat/engine.go:52
FunctionNewEventContext
NewEventContext creates a new event context
pkg/scripts/events/context.go:51
FunctionNewEventRegistry
NewEventRegistry creates a new event registry
pkg/scripts/events/registry.go:44
FunctionNewLootTable
NewLootTable creates a new loot table with default values
pkg/entities/items/loottable.go:52
FunctionNewLuaRunner
NewLuaRunner creates a new Lua script runner
pkg/scripts/runner/lua/luarunner.go:37
FunctionNewManager
NewManager creates a new combat manager
pkg/mudserver/game/combat/manager.go:25
FunctionNewMerchantTrait
NewMerchantTrait creates a MerchantTrait with default values
pkg/entities/npcs/merchant_trait.go:54
FunctionNewMultiResponse
NewMultiResponse ...
pkg/mudserver/game/messages/responses.go:101
FunctionNewNPCSpawner
NewNPCSpawner creates a new spawner with a generated ID
pkg/entities/npcs/spawner.go:37
FunctionNewQuestLogMessage
NewQuestLogMessage creates a quest log message for the player
pkg/mudserver/game/messages/responses.go:450
FunctionNewResponse
creates a dialog that is used as a response (defaults to DOT_ALWAYS)
pkg/entities/dialogs/dialogs.go:98
FunctionNewRoomProcessor
NewRoomProcessor .. creates a new room processor
pkg/mudserver/game/commands/roomprocessor.go:24
FunctionNewUser
NewUser creates a new user
pkg/entities/user.go:57
FunctionNewUserJoined
NewUserJoined ... creates a new User Joined event
pkg/mudserver/game/messages/responses.go:38
FunctionNewUserQuit
NewUserQuit ... creates a new User Joined event
pkg/mudserver/game/messages/responses.go:31
FunctionNi
(e)
public/mud-client/public/bundle.js:26
FunctionO_
(e,t)
public/mud-client/public/bundle.js:26
FunctionOa
(e,t,n)
public/mud-client/public/bundle.js:26
MethodOnDialogNode
OnDialogNode is called when a player reaches a dialog node
pkg/mudserver/game/quest_tracker.go:147
MethodOnItemPickup
OnItemPickup is called when a player picks up an item
pkg/mudserver/game/quest_tracker.go:70
MethodOnMessage
(message interface{})
pkg/mudserver/game/game.go:96
MethodOnNPCKilled
OnNPCKilled is called when an NPC dies in combat
pkg/mudserver/game/quest_tracker.go:29
MethodOnRoomEnter
OnRoomEnter is called when a player enters a room
pkg/mudserver/game/quest_tracker.go:111
MethodOnSystemMessage
OnSystemMessage .. broadcast receiver
pkg/mudserver/mudserver.go:435
MethodOnTalkToNPC
OnTalkToNPC is called when a player talks to an NPC (for deliver objectives)
pkg/mudserver/game/quest_tracker.go:187
FunctionOpen
Open opens a SQLite database file and applies basic pragmas.
pkg/db/sqlite/sqlite.go:18
FunctionOy
(e)
public/mud-client/public/bundle.js:26
FunctionPa
(e)
public/mud-client/public/bundle.js:26
MethodParties
()
pkg/repository/sqlite_factory.go:19
MethodPartiesService
()
pkg/service/facade.go:124
FunctionPg
(e)
public/mud-client/public/bundle.js:26
MethodPostCharacter
PostCharacter ... creates a new charactersheet
pkg/server/handler/characters.go:100
MethodPostCharacterTemplate
PostCharacterTemplate creates a new character template
pkg/server/handler/charactertemplates.go:39
MethodPostDialog
PostDialog creates a new dialog
pkg/server/handler/dialogs.go:38
MethodPostItem
PostItem creates a new item (template or instance based on isTemplate field)
pkg/server/handler/items.go:126
MethodPostLootTable
PostLootTable creates a new loot table
pkg/server/handler/loottables.go:44
MethodPostNPC
PostNPC creates a new NPC
pkg/server/handler/npcs.go:64
MethodPostQuest
PostQuest creates a new quest definition
pkg/server/handler/quests.go:44
MethodPostRoom
PostRoom ... creates a new charactersheet
pkg/server/handler/rooms.go:72
MethodPostScript
PostScript ... creates a new charactersheet
pkg/server/handler/scripts.go:32
MethodPostSkill
PostSkill creates a new skill definition
pkg/server/handler/skills.go:44
MethodPostSpawner
PostSpawner creates a new NPC spawner
pkg/server/handler/npcspawners.go:54
MethodProcess
Process ...asd
pkg/mudserver/game/commands/commandprocessor.go:46
MethodProcessPlayerAttack
ProcessPlayerAttack handles a player attacking a target in combat
pkg/mudserver/game/game_combat.go:60
MethodProcessPlayerAttack
ProcessPlayerAttack handles a player attacking a target in combat
pkg/mudserver/game/def/gamectrl.go:47
MethodProcessPlayerDefend
ProcessPlayerDefend handles a player defending
pkg/mudserver/game/game_combat.go:94
MethodProcessPlayerDefend
ProcessPlayerDefend handles a player defending
pkg/mudserver/game/def/gamectrl.go:49
MethodProcessPlayerFlee
ProcessPlayerFlee handles a player attempting to flee
pkg/mudserver/game/game_combat.go:128
MethodProcessPlayerFlee
ProcessPlayerFlee handles a player attempting to flee
pkg/mudserver/game/def/gamectrl.go:51
MethodProcessPlayerSkill
ProcessPlayerSkill handles a player using a skill in combat
pkg/mudserver/game/game_combat.go:165
MethodProcessPlayerSkill
ProcessPlayerSkill handles a player using a skill in combat
pkg/mudserver/game/def/gamectrl.go:61
← previousnext →1,801–1,900 of 2,537, ranked by callers