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

Method SendText

internal/scripting/actor_func.go:89–97  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

87}
88
89func (a ScriptActor) SendText(msg string) {
90 if a.userRecord == nil {
91 return
92 }
93
94 msg = userTextWrap.Wrap(msg)
95
96 a.userRecord.SendText(msg)
97}
98
99func (a ScriptActor) GetLevel() int {
100 return a.characterRecord.Level

Callers 1

TrainSkillMethod · 0.95

Calls 1

WrapMethod · 0.80

Tested by

no test coverage detected