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

Method MobTypeId

internal/scripting/actor_func.go:44–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (a ScriptActor) MobTypeId() int {
45 if a.mobRecord != nil {
46 return int(a.mobRecord.MobId)
47 }
48 return 0
49}
50
51func (a ScriptActor) GetRace() string {
52 return a.characterRecord.Race()

Callers 7

GetMobsMethod · 0.80
GetMobMethod · 0.80
TryMobScriptEventFunction · 0.80
TryMobCommandFunction · 0.80
getMobVMFunction · 0.80
onCastFunction · 0.80
onCastFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected