MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / GetConfigOption

Method GetConfigOption

internal/users/userrecord.go:500–508  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

498}
499
500func (u *UserRecord) GetConfigOption(key string) any {
501 if u.ConfigOptions == nil {
502 u.ConfigOptions = make(map[string]any)
503 }
504 if value, ok := u.ConfigOptions[key]; ok {
505 return value
506 }
507 return nil
508}
509
510func (u *UserRecord) GetConnectTime() time.Time {
511 return u.connectionTime

Callers 9

WimpyCheckMethod · 0.95
GetCommandPromptMethod · 0.95
getUserBoolOptionFunction · 0.80
auctionCommandMethod · 0.80
newRoundHandlerMethod · 0.80
GetDetailsFunction · 0.80
SetFunction · 0.80
lookRoomFunction · 0.80
ListFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected